How to store prompts and re-use them in ChatGPT? Try this Chrome Extension!
Tags: chatgpt, chrome, extensions, prompt
Published: 2023-08-18 05:34:21

> Tired of repeatedly copy-pasting your prompts from a separate application while using ChatGPT? 
> Give this Chrome extension a shot and reclaim valuable time.


ChatGPT can help us solve a bunch of different problems! Here are just a few examples:

- **Summarization**: 
`Create a concise TL;DR for the content above, ensuring no information is altered or excluded.`


- **Language Learning**:
`Explain all the grammar and vocabulary of above sentence using English, alongside furnishing a straightforward example for each.`


- **Translation**:
`Act as an English translator, spelling corrector, and improver. I will communicate with you in any language, and you will identify the language, translate it and answer in the corrected and improved version of my text in English.`


However, typing long prompts repeatedly or copy-pasting from another application can be quite cumbersome. So we built this extension - [PromptSnippet](https://chrome.google.com/webstore/detail/promptsnippet/dfbijgoabmaphdbhcaednilmocjmillp).


### Demo
{% embed https://www.youtube.com/watch?v=z-7DsMxne_Q %}

---

### Feature 1: Insert Custom Buttons

Personalized prefix or suffix for your messages and insert a custom button on ChatGPT UI. When clicking the button, the prefix or suffix will seamlessly merge with your initial message and subsequently be submitted to ChatGPT.

![Insert Custom Buttons](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3hpybychikb8gia6h3cp.png)


### Feature 2: Snippet

This is for those who prefer to minimize mouse or touchpad usage.
Similar to the [snippets](https://code.visualstudio.com/docs/editor/userdefinedsnippets) feature in IDE, you can generate succinct abbreviations for your prompts. These abbreviated prompts can be directly employed within the ChatGPT input field.

![Snippet for prompts](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v2pme6ca4pbyizb45wsp.png)


### Feature 3: Restore Previous Message

During your interactions with ChatGPT, have you ever accidentally submitting an unfinished message? Then you had to retrieve your prior message, copy it, and paste it back into the ChatGPT input field.
Similar to the terminal, you can press 「↑」 to restore your previous message.
_(Note: By default, this feature is disabled. You can enable it within the configuration settings)_


# Privacy

We use [chrome.storage API](https://developer.chrome.com/docs/extensions/reference/storage/) to store the settings. Rest assured, all your prompts are maintained within your personal google account. We don't use any database and refrain from retaining any of your data on our end. If you want to backup your prompts, you can use the export/import feature.

If you're interested in having those features in ChatGPT, simply download it from the [Chrome Web Store](https://chrome.google.com/webstore/detail/promptsnippet/dfbijgoabmaphdbhcaednilmocjmillp).


---

This extension was built using [Plasmo](https://github.com/PlasmoHQ/plasmo) - an all-in-one platform that makes it easy for browser extension developers to create, test, and publish amazing extensions.
If you're thinking about creating your own browser extension, we highly recommend giving it a try.

- Docs: https://docs.plasmo.com/
- Examples: https://github.com/PlasmoHQ/examples