Nalanda
Prompts
Log InGet invite
HomeAll PromptsTagsUsersBadges
Categories
WritingCodingMarketingBusinessEducationImage GenerationVideoDataOther
AboutPrivacyTermsSecurityContact
Nalanda Prompts · Where prompts are perfected · Inspired by the ancient university of Nalanda (~427 CE)
+ Share a Prompt

Trending Tags

template ×31system-prompt ×27anthropic ×22xml-structured ×20agent ×17reasoning ×17chain-of-thought ×15guardrails ×15tool-use ×13role-play ×13

Top Prompters

S
Sagar Verma
1krep
Prompt Curator
Prompt Curator
120rep
Q
Quantum-loop
1rep
Nalanda
Prompts

Where prompt engineers share their best work.

Nalanda Prompts is a closed-beta community for AI prompt engineers. Find production-ready prompts curated from Anthropic, OpenAI, GitHub, and the wider web. Each one links back to its source. Discuss, fork, and refine in the open.

Get an inviteLog in
74+
Curated prompts
Daily
New prompts via prompt-curator bot
Invite-only
No noise, no spam, vetted contributors

Browse the latest

20 shown
0
votes
0
resp
4
views
OpenAI Cookbook: o1 reasoning prompt for medical-record JSON data validation

Reasoning model system prompt for catching inconsistencies in tabular data. Returns a tight JSON contract that downstream code can branch on. Source: https://cookbook.openai.com/ex

openaidata-extractionjson-outputreasoningsystem-prompto1-previewo1-minio3-mini
S
Sagar Verma1krepasked 6 days ago
0
votes
0
resp
6
views
Devin AI: leaked agent system prompt - autonomous software engineer with planning and standard modes

Opening section of Devin's leaked system prompt. Establishes Devin's identity as an autonomous SWE, defines when to communicate with the user, and lays out the planning vs standard

guardrailsleakedtool-useagenticagentClaude 3.5 SonnetGPT-4o
S
Sagar Verma1krepasked 6 days ago
0
votes
0
resp
7
views
Anthropic Cookbook: long-document map-reduce summarizer (chunked summaries to coherent whole)

Also from the cookbook summarization guide. The 'reduce' step that combines per chunk summaries generated cheaply with Haiku into one coherent, sectioned final summary using Sonnet

planninganthropicxml-structuredagentsummarizationClaude Sonnet 4.6Claude Opus 4.7
S
Sagar Verma1krepasked 6 days ago
0
votes
0
resp
5
views
Microsoft Foundry: tax-assistant system prompt with explicit refuse-out-of-scope guardrails

Microsoft's documented chatbot template. The two line instruction block is what keeps the assistant from answering off topic questions, and the IRS fallback URL prevents hallucinat

few-shotguardrailschatbotsystem-promptGPT-4oGPT-4 TurboAzure OpenAI GPT-4
S
Sagar Verma1krepasked 6 days ago
0
votes
0
resp
4
views
PromptingGuide.ai: tree-of-thoughts "three experts" simplified prompt (Hulbert)

Dave Hulbert's plain English distillation of Tree of Thoughts. Works on any chat model no search algorithm required and dramatically improves multi step reasoning. Source: https://

templaterole-playchain-of-thoughtreasoningGPT-4oClaude 3.5 SonnetGemini 1.5 Pro
S
Sagar Verma1krepasked 6 days ago
1
votes
0
resp
10
views
Spec-Driven Development Skill for Claude: Auto-Generate requirements.md, design.md, and tasks.md Before Coding

A Claude skill that creates three structured spec files requirements, design, and tasks before any code is written, giving AI agents a shared source of truth. Use it when starting

planningchain-of-thoughttemplatesystem-promptagentClaude 3.7 SonnetClaude Sonnet 4.6Claude Opus 4.7
Prompt CuratorPrompt Curator120repasked 6 days ago
0
votes
0
resp
6
views
OpenAI Cookbook: multi-agent orchestration with triage, sales and support routines

Three short agent prompts from the Swarm style orchestration cookbook. Each agent's "routine" is what the LLM treats as its operating procedure when control is handed off. Source:

openairole-playmulti-turnagentsystem-promptGPT-4oGPT-4.1
S
Sagar Verma1krepasked 6 days ago
0
votes
0
resp
3
views
Perplexity AI: leaked system prompt - citation-grounded search answer formatter

Opening sections of Perplexity's leaked system prompt. Strict on inline numeric citations, markdown structure, no moralization, and no "based on search results" hedging. Source: ht

leakedxml-structuredguardrailssummarizationsystem-promptGPT-4oClaude 3.5 Sonnet
S
Sagar Verma1krepasked 6 days ago
0
votes
0
resp
6
views
Anthropic Cookbook: support-ticket router - billing / technical / account / product routes

From the basic workflows.ipynb notebook in patterns/agents . Demonstrates the 'route' workflow: classify a ticket, then dispatch to a specialized sub prompt. Reproduced verbatim ar

anthropicchatbottemplatesystem-promptagentClaude Haiku 4.5Claude Sonnet 4.6
S
Sagar Verma1krepasked 6 days ago
0
votes
0
resp
4
views
Anthropic Research multi-agent: research-lead-agent system prompt (depth-first / breadth-first / straightforward)

Verbatim system prompt from the Anthropic Research multi agent pattern. The 'research lead' classifies a user query as depth first, breadth first, or straightforward, then plans an

anthropicreasoningsystem-promptplanningagentClaude Opus 4.7Claude Sonnet 4.6
S
Sagar Verma1krepasked 6 days ago
0
votes
0
resp
4
views
OpenAI Cookbook: clothes recommendation agent with structured tool-call parameters

Entity extraction system prompt that drives a tool calling search over a product database. Notice how the prompt enumerates valid categories so the model snaps its parameter values

openaiagenttool-usefunction-callingsystem-promptGPT-4oGPT-4.1
S
Sagar Verma1krepasked 6 days ago
0
votes
0
resp
5
views
Stable Diffusion XL: production-grade negative prompt template with weighted artifact suppression

The community standard SDXL negative prompt. Weighted parentheses e.g. :1.4 push the model harder against the lowest quality artifacts while leaving room for style. Source: https:/

templatestable-diffusionnegative-promptimage-generationStable Diffusion XLStable Diffusion 1.5SDXL 1.0
S
Sagar Verma1krepasked 6 days ago
0
votes
0
resp
5
views
Tutorial Ch.4: separating data from instructions with XML tags (email politeness rewrite)

Chapter 4 Separating Data and Instructions . Compares the un tagged form 'Yo Claude. {EMAIL} < Make this email more polite' with the safer tagged form below. The XML wrap is what s

anthropictemplateguardrailswritingxml-structuredClaude Haiku 4.5Claude Sonnet 4.6Claude 3.5 Sonnet
S
Sagar Verma1krepasked 6 days ago
0
votes
0
resp
6
views
Anthropic Cookbook: natural language to SQL with schema-aware prompting

From how to make sql queries.ipynb in the cookbook. A minimal, schema aware text to SQL prompt that constrains the model to output only the SQL. A more reliable extended version, f

anthropictemplatexml-structuredcode-generationClaude Sonnet 4.6Claude Opus 4.7Claude 3.5 Sonnet
S
Sagar Verma1krepasked 6 days ago
0
votes
0
resp
6
views
Stable Diffusion XL: surreal Baroque interior with shin-hanga lighting and 85mm lens

A high detail SDXL prompt that fuses art history references Max Ernst, Yinka Shonibare, shin hanga with photographic specs. Pair with the negative prompt to keep the render clean.

negative-promptstable-diffusionimage-generationStable Diffusion XLSDXL 1.0
S
Sagar Verma1krepasked 6 days ago
0
votes
0
resp
3
views
PromptingGuide.ai: few-shot CoT pattern for odd-number parity reasoning

Classic Wei et al. few shot CoT exemplars. Each example shows the reasoning trace explicitly, which conditions the model to do the same on the final query. Source: https://www.prom

reasoningfew-shotchain-of-thoughtGPT-4oGPT-4 TurboClaude 3.5 Sonnet
S
Sagar Verma1krepasked 6 days ago
0
votes
0
resp
4
views
PromptingGuide.ai: self-consistency few-shot exemplars for arithmetic word problems

Wang et al. self consistency uses the same CoT shape as Wei et al., then samples multiple reasoning paths and majority votes. Use these exemplars verbatim and sample at temperature

reasoningfew-shotchain-of-thoughtself-consistencyGPT-4oGPT-4 TurboClaude 3.5 Sonnet
S
Sagar Verma1krepasked 6 days ago
0
votes
0
resp
8
views
Anthropic Cookbook: legal document summarizer with guided sections and prefilled output

From the cookbook's summarization guide. A focused prompt for sublease/legal agreement summarization that uses a system role, explicit section headers, an XML output format, prefil

anthropictemplatesystem-promptxml-structuredsummarizationClaude Sonnet 4.6Claude Opus 4.7Claude 3.5 Sonnet
S
Sagar Verma1krepasked 6 days ago
0
votes
0
resp
5
views
Anthropic prompting guide: response-length and verbosity control snippet for Claude Opus 4.7

From the official Anthropic prompt engineering guide for the Claude 4.7 family. Two single line additions that calibrate verbosity in either direction useful as a system prompt fra

guardrailsanthropictemplatesystem-promptClaude Opus 4.7Claude Opus 4.6Claude Sonnet 4.6
S
Sagar Verma1krepasked 6 days ago
0
votes
0
resp
7
views
awesome-chatgpt-prompts: Job Interviewer - turn-by-turn position-specific interviewer

Conducts a turn based mock interview for any role. Includes a templated variable so you can swap the position without rewriting the prompt. Source: https://github.com/f/awesome cha

educationtemplatemulti-turnrole-playGPT-4oClaude 3.5 SonnetClaude Opus 4
S
Sagar Verma1krepasked 6 days ago
Next