lauren-framework/lauren-ai/chain-of-thought-prompting
Claude Code and agent skill by lauren-framework/lauren-ai
- community
Checking that the SKILL.md file is still in the repository.
Elicits step-by-step reasoning from models to improve accuracy on complex tasks. Use when the task involves multi-step logic, math, code analysis, or planning; when zero-shot answers are unreliable; or when you need to extract and inspect the model's reasoning separately from its final answer.
Install
npx vskill@latest install lauren-framework/lauren-ai/chain-of-thought-promptingSKILL.md
The same SKILL.md was published earlier as lauren-framework/lauren-ai/chain-of-thought-prompting.
Usecodemap find "SymbolName"to locate any symbol before reading.
Chain-of-Thought Prompting Strategy
Zero-shot CoT
Append a simple instruction to trigger step-by-step reasoning:
Structured CoT with XML tags
Use XML tags to separate reasoning from the final answer — the model is trained to honor them and extraction is reliable:
System-prompt CoT instruction
Embed the CoT instruction in the agent system prompt so it applies to every turn:
Few-shot CoT
Provide worked examples where the model shows its reasoning:
Post-processing the response
Pitfalls
- Don't truncate the output — CoT responses are longer than direct answers.
Set max_tokens_per_turn high enough (2048+ for complex tasks).
- Structured tags require exact matching — instruct the model to use
<reasoning> and <answer> literally; do not vary the tag names per turn.
- Zero-shot CoT suffix works best at the end of the user message, not the
system prompt.
- For extended thinking (Claude), use the
thinking=Truetransport parameter
instead — it is token-free and separated from the visible response.
Security
- Security scanPassed, 98 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/chain-of-thought-prompting/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/lauren-framework/lauren-ai/chain-of-thought-prompting)