Claude Code Prompts — AI skill for Claude Code
System prompts and tool definitions from each version of @anthropic-ai/claude-code.
How to install Claude Code Prompts
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open p0/claude-code-prompts and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Code Prompts does
System prompts and tool definitions from each version of @anthropic-ai/claude-code.
Alternatives in AI
- Cl4r1t4s — LEAKED SYSTEM PROMPTS FOR CHATGPT, CLAUDE, GEMINI, GROK, PERPLEXITY, CURSOR, LOVABLE, REPLIT, AND MORE 47.2k ★
- System Prompts Leaks — Extracted system prompts from ChatGPT (GPT-5.4, GPT-5.3, Codex), Claude (Opus 4.6, Sonnet 4.6, Claude Code), G 38.6k ★
- Guizang Ppt Skill — AI-agent Skill for generating polished HTML slide decks: editorial magazine and Swiss layouts, image prompts 24.9k ★
README
Claude Code Prompts Collection
This repository automatically collects system prompts and tool definitions from each version of `@anthropic-ai/claude-code` published on npm.
How It Works
The script:
- Fetches all published versions of
@anthropic-ai/claude-codefrom npm - For each version:
- Installs it locally in a temporary directory
- Starts an HTTP interceptor on port 3000
- Runs
claude -p "hi"withANTHROPIC_BASE_URL=http://localhost:3000 - Captures the first API request that contains both tools and a substantial system prompt
- Saves the system prompt to
system_prompt.md - Saves each tool definition to
tools/{tool_name}.md - Creates a git commit for that version
- Cleans up temporary files
Automation
This repository automatically checks for new versions **every 6 hours** via GitHub Actions. When new versions are published to npm, they are automatically collected and committed.
You can also manually trigger the workflow from the [Actions tab](../../actions).
**Note**: The automation requires an `ANTHROPIC_API_KEY` secret to be set in the repository settings. However, since the script uses a local interceptor, the API key can be any non-empty value (e.g., `test-key`).
Usage
Install Dependencies
npm install
Run Collection
# Process all versions (skips already-processed ones)
npm start
# Start from a specific version (recommended for updates)
npm start -- --start-from=2.0.31
# Test mode: only process the last 3 versions
npm start -- --test
View Results
After running, you can use `git log` to see all the commits, one per version:
git log --oneline
To see how the system prompt changed between versions:
git diff system_prompt.md
To see how a specific tool changed:
git diff tools/Bash.md
Files
collect.ts- Main collection scriptpackage.json- Project dependencies- `test-interc
Related Skills
PE Engineering
A research-oriented collection of AI system prompts, tool definitions, and agent instructions.
Anthropic Tokenizer TypeScript
NPM version
Comfyui Workflow Skill
Natural language → ComfyUI workflow JSON. 34 built-in templates, 360+ node definitions, auto model download. S
Agentbrief
Pluggable role definitions for AI coding agents — one command turns Claude Code / Cursor / OpenCode / Codex in
Cfn Epic Creator V2
Hybrid AISP epic creation: formal API contracts plus natural language content. Use when epic needs AISP (AI Sy
Scip CLI
Python CLI for AI agents. Queries SCIP indexes for precise refs, definitions, and repo health analysis.
Related Agents
Langchain Prompt Designer
Especialista en system prompts de agentes LangChain (LLM nodes en N8N, OpenAI Agents, Anthropic, etc.). Diseña
Glass Atrium Meta Prompt Engineer
Anthropic Claude prompt-engineering agent — designs, compresses, reviews, validates system prompts per CRISP.
AI Security Reviewer
Use this agent when reviewing AI-related code (prompts, agent loops, RAG systems, tool definitions, output han