Open-sourced Claude Code prompts reverse-engineered using Claude

A developer has open-sourced a collection of 26 prompts reverse-engineered from Claude Code's source code using Claude itself. The TypeScript source was briefly available as a public npm package before being taken down, during which time the developer studied every prompt in the codebase and used Claude to help rewrite them from scratch.
Prompt categories and structure
The collection contains:
- 1 system prompt covering identity, safety, code style, tool routing, and output rules
- 11 tool prompts for shell, file read/edit/write, grep, glob, web search/fetch, agent launcher, ask user, and plan mode
- 5 agent prompts: general purpose, code explorer, solution architect, verification specialist, and documentation guide
- 4 memory prompts for conversation summarization, session notes, memory extraction, and consolidation
- 1 coordinator prompt for multi-agent orchestration
- 4 utility prompts for session titles, tool summaries, away recaps, and next action suggestions
Notable implementation details
Several specific patterns emerged from the analysis:
- A dedicated verification agent whose entire job is to try to break implementations before reporting them as done
- 6 specific "rationalization patterns" the system watches for in itself, such as "the code looks correct based on my reading" which triggers the response "reading is not verification, run it"
- The memory system compresses conversations into 9 structured sections while preserving every user message
- The coordinator prompt includes the instruction "never delegate understanding" — requiring agents to prove they understood before handing off work
Legal and technical considerations
Every prompt was independently authored in the developer's own words, with automated originality checks confirming no verbatim matches with the original source. The repository includes a full disclaimer covering nominative fair use, non-affiliation with Anthropic, and a DMCA response policy. Legal consultation was obtained before publishing.
The repository is available at https://github.com/swati510/claude-code-prompts and is MIT licensed. The project is not affiliated with Anthropic.
📖 Read the full source: r/ClaudeAI
👀 See Also

Selfware: Rust-based local AI agent framework with PDVR architecture
Selfware is an open-source AI agent framework built in Rust for local inference, implementing a PDVR cognitive cycle with 54 built-in tools and designed for long-running tasks on consumer hardware.

Apfel: Free CLI Tool to Access Apple's On-Device LLM on macOS
Apfel v0.6.13 is a Swift 6.3 binary that exposes Apple's built-in LLM as a CLI tool, OpenAI-compatible server, and interactive chat. It runs 100% on-device with no API keys or costs, using the 4,096-token model shipped with macOS 26+ on Apple Silicon Macs.

Solo Dev Uses Claude + Blender MCP to Create App Store Video in 90 Minutes
Reddit user Positive_Camel2086 details how they used Claude with the Blender MCP server to generate a 10-second vertical launch video, automating camera rigging, materials, fog, and particle systems via conversational prompts.

Governor: A Claude Code Plugin to Cut Token Waste via Output Compression, Context Slimming, and Tool Filtering
Governor is a Claude Code plugin that reduces token/context waste through compact professional output, memory file compression, tool-output filtering, and drift guardrails. Benchmarks show 55.5% output token savings vs control.