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)
Nalanda
Prompts

The AI prompt library 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
331+
Curated prompts
Daily
New prompts via prompt-curator bot
Invite-only
No noise, no spam, vetted contributors

Browse the latest prompts

+ Share a Prompt

Trending Tags

template ×284analysis ×186writing ×149chain-of-thought ×125planning ×100reasoning ×96legal ×78role-play ×66guardrails ×59healthcare ×55

Top Prompters

S
Sagar Verma
1krep
Prompt Curator
Prompt Curator
120rep
Q
Quantum-loop
1rep
20 shown
0
votes
0
resp
16
views
Extract People and Roles Using Two Worked Examples

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

few-shottemplatedata-extractionxml-structuredanthropicClaude Sonnet 4.6Claude Opus 4.7Claude 3.5 Sonnet
S
Sagar Verma1krepasked May 24, 2026
0
votes
0
resp
24
views
Multi-Agent Research Lead: Route Queries and Spawn Subagents

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

reasoningsystem-promptanthropicagentplanningClaude Opus 4.7Claude Sonnet 4.6
S
Sagar Verma1krepasked May 24, 2026
0
votes
0
resp
17
views
Frontend Design Prompt: Options First, Code Second

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

writingcode-generationanthropicplanningClaude Opus 4.7Claude Sonnet 4.6
S
Sagar Verma1krepasked May 24, 2026
0
votes
0
resp
20
views
Studio Ghibli Kitchen Scene for Midjourney niji 6

Anime mode prompt using the niji 6 model. Calling out the studio Ghibli and the medium hand painted texture, soft pastels is what keeps it on style. Source: https://witechpedia.com

image-generationmidjourneyMidjourney niji 6Midjourney v6
S
Sagar Verma1krepasked May 24, 2026
0
votes
0
resp
12
views
Canonical ReAct Trace for Multi-Hop Search Questions

Canonical ReAct exemplar from Yao et al. The thought/action/observation rhythm is what makes ReAct prompts work copy this shape when wiring an LLM to a search tool. Source: https:/

few-shottool-usereasoningreactagentGPT-4oGPT-4 TurboClaude 3.5 Sonnet
S
Sagar Verma1krepasked May 24, 2026
0
votes
0
resp
12
views
Three Experts in One Chat: Plain-English Tree of Thoughts

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://

role-playchain-of-thoughtreasoningtemplateGPT-4oClaude 3.5 SonnetGemini 1.5 Pro
S
Sagar Verma1krepasked May 24, 2026
0
votes
0
resp
11
views
Synthetic Eval Test-Case Generator from Prompt Templates

From misc/generate test cases.ipynb in the cookbook. A meta prompt that takes a prompt template with {{variables}} and generates synthetic test cases in a structured XML format the

few-shottemplatedata-extractionxml-structuredanthropicClaude Sonnet 4.6Claude Opus 4.7
S
Sagar Verma1krepasked May 24, 2026
0
votes
0
resp
20
views
Standard SDXL Negative Prompt with Quality Weights

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:/

templateimage-generationstable-diffusionnegative-promptStable Diffusion XLStable Diffusion 1.5SDXL 1.0
S
Sagar Verma1krepasked May 24, 2026
0
votes
0
resp
14
views
Grounded QA: Extract Quote, Judge Relevance, Then Answer

Chapter 8 Avoiding Hallucinations . A grounded QA template: extract the most relevant quote into <scratchpad , judge whether it answers the question, and only then write a brief nu

chain-of-thoughtdata-extractionxml-structuredguardrailsanthropicClaude Sonnet 4.6Claude Opus 4.7Claude 3.5 Sonnet
S
Sagar Verma1krepasked May 24, 2026
0
votes
0
resp
11
views
Interleave Reasoning in Few-Shot Exemplars to Boost Math and Commonsense

Canonical example from Wei et al. 2022 showing how interleaving worked reasoning into few shot exemplars dramatically improves arithmetic and commonsense tasks. Source: https://git

few-shotchain-of-thoughtreasoningtemplateGPT-4GPT-4oClaude 3.5 Sonnet
S
Sagar Verma1krepasked May 24, 2026
0
votes
0
resp
13
views
ReAct in Practice: Interleaved Reasoning and Tool Calls on HotpotQA

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

few-shotchain-of-thoughttool-usereasoningagentGPT-4oClaude 3.5 SonnetClaude Opus 4
S
Sagar Verma1krepasked May 24, 2026
0
votes
0
resp
11
views
Odd-Number Parity CoT: Explicit Reasoning Traces That Condition the Model

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

few-shotchain-of-thoughtreasoningGPT-4oGPT-4 TurboClaude 3.5 Sonnet
S
Sagar Verma1krepasked May 24, 2026
0
votes
0
resp
27
views
v0 System Prompt: Question Discipline and Debug Log Conventions

Opening section of the v0 production system prompt. Notable for its strict rules about how AskUserQuestions interacts with parallel tool calls, image asset handling, and a project

tool-usesystem-promptdebuggingcode-generationleakedGPT-4oClaude 3.5 Sonnet
S
Sagar Verma1krepasked May 24, 2026
0
votes
0
resp
20
views
Subagent-Spawning Guidance for Claude Opus 4.7 Coding Tasks

From the Anthropic prompt engineering guide section on agentic systems. A concrete system prompt snippet that tells Claude Opus 4.7 when to spawn subagents counter balancing its de

system-promptcode-generationanthropicagentplanningClaude Opus 4.7
S
Sagar Verma1krepasked May 24, 2026
0
votes
0
resp
15
views
XML-Tag Pattern for Mixed Prompt Instructions and Variable Inputs

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

templatedata-extractionxml-structuredanthropicClaude Opus 4.7Claude Sonnet 4.6Claude Haiku 4.5
S
Sagar Verma1krepasked May 24, 2026
0
votes
0
resp
32
views
LangChain's Top RAG Prompt: Short Answers, No Hallucination

The most pulled RAG prompt on LangChain Hub. Three sentence answer cap plus an explicit "say you don't know" clause makes it a safe default for production RAG. Source: https://smit

langchainchatbottemplateguardrailsGPT-4oGPT-4 TurboClaude 3.5 SonnetGemini 1.5 Pro
S
Sagar Verma1krepasked May 24, 2026
0
votes
0
resp
13
views
LangChain ReAct Agent Template: Plug In Your Tools and Go

The exact PromptTemplate string shipped with LangChain's ReAct agent. Drop your tools into {tools} and {tool names} and the model follows the loop until it emits a Final Answer . S

tool-uselangchaintemplatereactagentGPT-4oGPT-4 TurboClaude 3.5 Sonnet
S
Sagar Verma1krepasked May 24, 2026
0
votes
0
resp
19
views
SDXL: Surreal Baroque Interior with Shin-Hanga Lighting and Camera Specs

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.

image-generationstable-diffusionnegative-promptStable Diffusion XLSDXL 1.0
S
Sagar Verma1krepasked May 24, 2026
0
votes
0
resp
15
views
Answer Legal Questions from Compiled Research with Citations

Chapter 9 of Anthropic's interactive prompt engineering tutorial includes this complex legal services prompt that demonstrates retrieval over research with citation formatting, pre

chain-of-thoughttemplatexml-structuredanthropicanalysisClaude Opus 4.7Claude Sonnet 4.6Claude 3.5 Sonnet
S
Sagar Verma1krepasked May 24, 2026
0
votes
0
resp
18
views
Career Coach Chatbot Prompt: Context, Rules, Examples, and Output Format

From Chapter 9 of Anthropic's interactive prompt engineering tutorial. A canonical complex prompt skeleton that combines task context, tone, rules, examples, conversational history

chatbottemplatesystem-promptxml-structuredanthropicClaude Opus 4.7Claude Sonnet 4.6Claude Haiku 4.5Claude 3.5 Sonnet
S
Sagar Verma1krepasked May 24, 2026
Next