Custom AI Commands

Raw Text

#   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

Install the free HARPA AI Chrome Extension .

Connect to ChatGPT in Chrome.

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:

Access the AI chat interface in HARPA AI, type / and click the Create command + option at the top:

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.desc}} - 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.

After the command prompt is written, hit Save Command button to store it locally in HARPA AI in your browser.

You'll see your command saved at the top, above the pre-configured prompts when you type the slash symbol / .

Test this command by navigating to online store such as Amazon.com 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:

Best practices for prompt engineering with OpenAI API

Learn Prompting

GitHub Prompt Engineering Guide

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

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}} FAQ:

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.

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.

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}} Summary: 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}} Explanation: 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.

Access the chat interface in HARPA, type / and click Create command option at the top:

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}} Comment:

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.

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

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

Single Line Text

#   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. Install the free HARPA AI Chrome Extension . Connect to ChatGPT in Chrome. 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: Access the AI chat interface in HARPA AI, type / and click the Create command + option at the top: 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.desc}} - 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. After the command prompt is written, hit Save Command button to store it locally in HARPA AI in your browser. You'll see your command saved at the top, above the pre-configured prompts when you type the slash symbol / . Test this command by navigating to online store such as Amazon.com 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: Best practices for prompt engineering with OpenAI API. Learn Prompting. GitHub Prompt Engineering Guide. Information from these guides can be applied to writing AI commands in HARPA AI. Here is a quick overview of what constitutes good prompting: 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}} FAQ: 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. 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. 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}} Summary: 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}} Explanation: 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. Access the chat interface in HARPA, type / and click Create command option at the top: 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}} Comment: 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. 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. That’s it! The custom prompts functionality is only limited by your imagination.