A package with helpful prompts for AI Chat and LLMs like ChatGPT, Gemini, Claude, ...
AI
LLM
Prompt
GenAI
Paste this command in a terminal to install the package
espanso install llm-prompts
Description
Source
LLM Prompts Package for Espanso
This package provides a collection of useful prompt templates for Large Language Models (LLMs) like ChatGPT, Claude, and others. It allows you to quickly insert well-structured prompts into any text field using Espanso's text expansion capabilities.
Installation
This package is designed for Espanso, a cross-platform text expander.
If you already have Espanso installed, you can install this package with:
espanso install llm-prompts
Usage
You can use these prompts in two ways:
Type
:prompt
to open a search menu with all available prompts
Use the specific trigger for each prompt directly (e.g.,
:rtf
,
:bab
)
After inserting a prompt template, fill in the details as needed. The cursor will be positioned at the first input field.
Available Prompts
Simple Prompts
:pirate
- "Speak like a pirate."
:helpful
- "You are a helpful assistant."
Structured Frameworks
Role-Task-Format (
:rtf
)
A framework to clearly define the role the AI should assume, the task it should perform, and the format of the response.
Feel free to suggest additional prompt frameworks or improvements to existing ones by opening an issue or pull request.
License
This package is available under the MIT License.
package.yml
# You can use either :prompt to open a search menu or use the shortcut directlymatches:-triggers: [":prompt", ":pirate"]
replace:"Speak like a pirate. "-triggers: [":prompt", ":helpful"]
replace:"You are a helpful assistant. "# Source: https://www.linkedin.com/posts/jeremygrandillon_5-chatgpt-prompt-frameworks-that-make-your-activity-7301956962898837504-NR_i-triggers: [":prompt", ":rtf"]
replace:|
Role: $|$
Task:
Format:
label:"Role - Task - Format"# Source: https://www.linkedin.com/posts/jeremygrandillon_5-chatgpt-prompt-frameworks-that-make-your-activity-7301956962898837504-NR_i-triggers: [":prompt", ":bab"]
replace:|
Before: $|$
After:
Bridge: outline the steps or actions to bridge the gap.
label:"Before - After - Bridge"# Source: https://www.linkedin.com/posts/jeremygrandillon_5-chatgpt-prompt-frameworks-that-make-your-activity-7301956962898837504-NR_i-triggers: [":prompt", ":scqa"]
replace:|
Situation: $|$
Complication:
Question:
Answer:
label:"Situation - Complication - Question - Answer"# Source: https://www.forbes.com/sites/jodiecook/2024/07/23/5-chatgpt-prompts-to-accelerate-your-success-make-leapfrog-moves/-triggers: [":prompt", ":goals"]
replace:|
I want to set new goals. Start by asking me about my current goals, then dismiss them.
Tell me in a direct way that they are far too small, and press me with questions, delivered one by one,
that require me to create new, bigger goals.
Do not stop pressing me on these goals until they are significantly more aspirational than before.
# Original: https://www.forbes.com/sites/jodiecook/2024/07/23/5-chatgpt-prompts-to-accelerate-your-success-make-leapfrog-moves/# modified to avoid Gemini 2 to answer the questions itself, randomize the order of options and focus the analysis and proposals on the outcomes, which lack an abundance mindset-triggers: [":prompt", ":abundance"]
replace:|
Context: I believe that acting from a mindset of abundance instead of scarcity will lead to more success.
An abundance mindset is grateful, optimistic and believes there is more to go around.
A scarcity mindset operates from lack, and believes in protecting what you have, and playing zero sum games.
Step 1: Create a 8 question quiz where you test which mindset I have right now.
Use multiple choice questions with 5 options for each answer, ensuring there isn’t an obviously scarce or abundant option and the options randomly mixed.
Step 2: Ask for my input and wait for my input. Only proceed after I have given my input. Don't give the input yourself.
Step 3: Analyze my input: After I provide my answers, give me the results.
Step 4: make an assessment and suggest ways I can act from abundance more often, based on my answers. Propose concrete things to make an abundance mindset a habit for the areas where I have room to improve.
# Source: https://github.com/f/awesome-chatgpt-prompts/pull/828# Example conversation with ChatGPT: https://chatgpt.com/share/678aa024-fbcc-800f-a13a-d8c160dfd725-triggers: [":prompt", ":startup"]
replace:|
I want you to act as a startup angel investor.
You will analyze potential startup pitches, provide feedback, and assess their viability for investment.
I will describe a startup idea or pitch, and you will evaluate it based on factors such as market potential, scalability, competitive landscape, and team competence.
Please provide a score out of 10 for each factor and conclude with your overall thoughts on whether you would invest and why.