Custom AI Commands


# Using Custom AI Commands

HARPA AI allows writing and reusing custom page-aware ChatGPT commands. Custom commands empower you to streamline your web workflow by crafting and quickly reusing unique prompts tailored to your online tasks.

Experiment with diverse phrasings, topics, and structures in your prompts to identify the most effective approach for your specific needs.

## How to create a basic custom prompt

To begin, make sure to install Google Chrome or a Chromium-based browser.
  1. Install the free HARPA AI Chrome Extension.
  2. Connect to ChatGPT in Chrome.
  3. Navigate to any websites and open HARPA by clicking its icon in the top right corner or pressing Alt+A (on Windows) and ^+A (on Mac).

Once you have HARPA AI installed, follow these steps to create and reuse custom ChatGPT prompts:

  1. Access the AI chat interface in HARPA AI, type / and click the Create command + option at the top:
  2. Let's create a simple command that helps you convince your partner to buy something online. Let's call this prompt "PersuasiveHomie".

    Let’s define the command prompt to use with ChatGPT. Here is the prompt text:

    Act as a proficient salesperson and motivational speechwriter in {{language}}, employing a Steve Jobs-esque style.

    Assist me in persuading my partner to purchase a specific product. Your persuasive speech should be concise and compelling. Be friendly; the text should not be formal. Do not greet, just start writing the main idea. Describe how nice it'll be to use this product together.

    The product: {{page}}

    There is no special vocabulary for writing ChatGPT commands in HARPA AI. But it may be helpful to be aware of some parameters you can use with your prompts:

    • {{page}} parameter allows you to extract text content from a web page and send it to ChatGPT.
    • {{language}} parameter allows you to instruct ChatGPT to reply in a given language regardless of the language of your request. The language parameter value is taken from the HARPA AI settings.
    • {{page.url}}, {{page.domain}}, {{page.desk}} - page URL, domain and description.
    • {{youtube.transcript}} - allows you to extract and use YouTube video transcription in your commands.
    • {{p1}}, {{p2}}, {{p3}}, {{p4}} - these parameters let you customize your command every time it is run. We will dive into how custom parameters work in this guide.
  3. After the command prompt is written, hit Save Command button to store it locally in HARPA AI in your browser.
  4. You'll see your command saved at the top, above the pre-configured prompts when you type the slash symbol /.
  5. Test this command by navigating to online store such as and choosing a product to promote. Now all you need to do is to press / in HARPA AI chat, pick your new commands and hit Enter:

## Quick Intro to Prompt Engineering

Here are some excellent guide on Prompt Engineering:

Information from these guides can be applied to writing AI commands in HARPA AI. Here is a quick overview of what constitutes good prompting:

  1. How can I write useful custom commands?

    The keys to writing effective and useful ChatGPT commands is to be clear and specific, provide enough context for AI and clearly define what you expect. Try to be as precise as possible about what you would like AI to do. Avoid vague and ambiguous phrasing that may lead to unsatisfactory responses.

    For example, the following prompt

    Write me FAQ about {{page}}
    can be improved like this
    I want you to write a FAQ about a product described in the web page. FAQ should include at least five subheadings that includes a question and an answer. For every question provide a concise answer. Style output with markdown. Use a friendly tone. Write approximately 750 words in total.

    Web page content: {{page}}


  2. What are some examples of bad prompt writing?

    Bad prompt writing include prompts that are too general, ambiguous, or require specialized knowledge or cultural references that the AI may not be familiar with.

    For instance, this prompt is too broad:

    Tell me something interesting
    The power of custom prompts comes from the fact you can quickly reuse them on any page. So making commands out of simple prompts may not be worthwhile.

  3. How to improve my prompt engineering?

    Experimenting with different prompt types is an effective way to refine your prompts. Try out different phrasings, topics, and structures to see what works best. Tweak your prompts based on the output from the AI.

    Here is one of the most useful phrases to include with your prompts:

    Format your response with markdown, include heading, subheadings, bullet points, bold and italic markdown styles where appropriate.

    And the following phrase could help you get an answer in a writing style you need:

    Use persuasive tone, rhetorical questions and storytelling to engage readers. Use metaphors, analogies etc. to make your answer relatable and memorable.

  4. What are some examples of good prompt writing?

    Great prompts are clear, specific, and tailored to your needs. Here are a few examples:

    Short summary:

    I want you to act as a very proficient copy writer. Your task is to summarize the text I give you in 20 words or maximum 150 characters.

    The text to summarize: {{page}}


    Math teacher:

    I want you to act as a math teacher. I will give you a mathematical equation, concept or a problem, and your job will be to explain them in easy-to-understand terms to me. This could include providing step-by-step instructions for solving a problem, demonstrating various techniques or suggesting online resources for further study.

    The equation / concept / problem: {{page}}


    Domain Name Generator:

    I want you to act as a domain name generator. I'll tell you my company name or product description and your goal is to provide a list of free domain names. Reply with the list of domain names and nothing else. The domain names should be 10 letters maximum. The domain names should include SEO keywords for the product or the business whenever possible. The domain names should end in .com.

    Information about the company: {{p1}}

    Domain names:

## Command parameters

Let's dive into something a little bit more advanced, like writing parameterized custom commands. Whenever you're working with these kinds of prompts, you need to pay extra attention to how you structure your prompts.

Let’s create a command that will write a comment for an opened YouTube video for us.

  1. Access the chat interface in HARPA, type / and click Create command option at the top:
  2. This time, we will take advantage of the {{youtube.transcript}} parameter to get video transcript from the page. Let’s ask HARPA to write a comment on the topic of the video. We will pass comment instructions via a custom parameter - {{p1}}
    I am watching a video on YouTube and would like you to assist me in writing a comment, in {{language}}. I will provide you with a transcript of the video, so that you can write a targeted comment.

    Here is the video transcript: {{youtube.transcript}}

    Additional instructions regarding the comment I’d like you to write: {{p1}}

  3. Next, we will add a question for parameter. Hit the ADD PARAMETER button in the bottom right corner of the command window. A new input box will appear. In this case, the {{p1}} parameter will contain extra instructions, so we can simply label it Instructions. Parameter label or question will pop up when you run the prompt.
  4. Give the command a name and hit SAVE COMMAND. Done! Now let’s test the command by navigating to a YouTube video, launch the prompt, input instructions, and wait for ChatGPT to write a comment. HARPA will extract video transcript, analyze it and write a comment for you. Here are some examples:

Try using these features to create your own unique prompt. Have fun and streamline your work.

## Limitations

The number of custom parameters is limited to 4, from {{p1}} to {{p4}}. We could not think why someone would need more, but please send us an email if you do 😊

That’s it! The custom prompts functionality is only limited by your imagination.

HomePrivacy PolicyTerms of Service
Our website uses cookies for the purposes of accessibility and security. They also allow us to gather statistics in order to improve the website for you. More info: Privacy Policy