A prompt chaining pipeline that first pulls verbatim relevant quotes from a long document, then uses those quotes to generate a grounded answer to your question. Use it when you ne
A prompt chaining pipeline that first pulls verbatim relevant quotes from a long document, then uses those quotes to generate a grounded answer to your question. Use it when you ne
Anthropic's metaprompt, from the official cookbook, is a battle tested 'prompt that writes prompts'. Feed it a task and an optional list of input variables; it returns a fully stru
Opening of the Bolt.new system prompt. Documents WebContainer's browser bound Node.js runtime, the lack of native binaries, pip, and git, and the bolt file modifications diff forma
Worked HotpotQA example from Yao et al. 2022 showing the ReAct pattern: interleave reasoning traces with tool actions to ground answers in retrieved evidence. Source: https://githu
Two prompt chain for grounded QA. Prompt 1 pulls verbatim quotes; prompt 2 turns those quotes into the final answer. Forcing extraction first cuts hallucination dramatically. Promp
Writes a movie review covering plot, themes, acting, direction, and cinematography, with a personal emotional read. Source: https://github.com/f/awesome chatgpt prompts
The most famous prompt from the awesome chatgpt prompts repo 1,800+ contributors . Turns the model into a deterministic Linux terminal emulator that only outputs what the shell wou
Chapter 7 Using Examples / Few Shot . Demonstrates how two worked examples of a paragraph structured individuals list train Claude to produce the same shape on a new paragraph, no
The default ChatPromptTemplate that powers LangChain's OpenAI tools agent. Plug your own domain instructions in front of it. Source: https://smith.langchain.com/hub/hwchase17/opena
Rewrites input so it would pass naive plagiarism detection, with no extra commentary. Source: https://github.com/f/awesome chatgpt prompts
Anthropic Chapter 6 Precognition / Thinking Step by Step . The canonical 'let Claude argue both sides before deciding' template. Pairs a savvy reader system prompt with explicit XM
From the same Anthropic prompt engineering guide. The canonical XML tagging recipe for any prompt that mixes instructions, context, examples, and variable inputs used throughout th
The original Kojima et al. zero shot CoT pattern. Append the trigger to any reasoning question and the model lays out its work instead of jumping to an answer. Source: https://www.
From the Anthropic cookbook's building moderation filter.ipynb . A production style moderation prompt that uses explicit ALLOW/BLOCK guidelines, a <thinking scratchpad, and an <out
The few shot variant of Anthropic's moderation cookbook. Demonstrates that, for short labels, well chosen positive and negative examples often beat chain of thought. Source: https:
Builds characters, settings, dialogue, and twisty plotlines for film and TV scripts. Source: https://github.com/f/awesome chatgpt prompts
From the Anthropic prompt engineering guide. Counter acts the 'AI slop' look in generated UI by forcing Claude to present multiple distinct design directions before writing code. P
Breaks down math concepts into simple steps with examples and visuals. Source: https://github.com/f/awesome chatgpt prompts
Synthetic eval data generator from the OpenAI Evals cookbook. Used to bootstrap a test set from nothing more than a table schema. Source: https://cookbook.openai.com/examples/evalu
Appendix 10.1 Chaining Prompts . Two turns: 1 ask for ten words ending in 'ab'; 2 follow up with a request to replace any non real words. Demonstrates the multi turn 'have Claude d