Claude Code Prompts
Description
System prompts and tool definitions from each version of @anthropic-ai/claude-code
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
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
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI TrendRadar
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的
AI mem0
| Universal memory layer for AI Agents | 51341 | 221 | 1 |
AI