How anthropics/claude-code-playground works
This repository is an Anthropic DevRel playground, not a single application: it collects Claude Code setups, plugins, reusable skills, and demonstrations. The user workflow is to browse an entry, read its explanation and run instructions, then try it in its intended environment. The documented collection branches are represented alongside the three sampled hooks. Hook internals and their host interactions are shown where excerpts support them; other entry directories are mapped as capabilities without inferred implementation links.
Main entry points: blast-radius.mjs Blast Radius · replay-theater.mjs Replay Theater · token-weather.mjs Token Weather · hooks Hook examples
Components 22
Claude Code setups
- Hook examples
claude-code/hooks - CLAUDE.md examples
claude-code/claude-md - Settings examples
claude-code/settings - Personal workflows
claude-code/workflows
Claude Code mods
- Blast Radius
claude-code/mods/blast-radius/hooks/blast-radius.mjs - Replay Theater
claude-code/mods/replay-theater/hooks/replay-theater.mjs - Token Weather
claude-code/mods/token-weather/hooks/token-weather.mjs - Risk classification
claude-code/mods/blast-radius/hooks/blast-radius.mjs - Impact measurement
claude-code/mods/blast-radius/hooks/blast-radius.mjs - Approval pane
claude-code/mods/blast-radius/hooks/blast-radius.mjs - Edit capture
claude-code/mods/replay-theater/hooks/replay-theater.mjs - Diff steps
claude-code/mods/replay-theater/hooks/replay-theater.mjs - Replay view
claude-code/mods/replay-theater/hooks/replay-theater.mjs - Context forecast
claude-code/mods/token-weather/hooks/token-weather.mjs
Skills
- Reusable skills
skills
Demonstrations
- Demos
demos - Launch demos
launch-demos
Other components
- User
- Claude Code
- Bash tool
- File edit tools
- Context usage
Connections 23
- User → Hook examples: browses
README.md - User → CLAUDE.md examples: browses
README.md - User → Settings examples: browses
README.md - User → Personal workflows: browses
README.md - User → Blast Radius: tries
README.md - User → Replay Theater: tries
README.md - User → Token Weather: tries
README.md - User → Reusable skills: browses
README.md - User → Demos: browses
README.md - User → Launch demos: browses
README.md - Claude Code → Blast Radius: loads plugin
claude-code/mods/blast-radius/hooks/blast-radius.mjs - Claude Code → Replay Theater: loads plugin
claude-code/mods/replay-theater/hooks/replay-theater.mjs - Claude Code → Token Weather: runs hooks
claude-code/mods/token-weather/hooks/token-weather.mjs - Blast Radius → Bash tool: holds risky call
claude-code/mods/blast-radius/hooks/blast-radius.mjs - Blast Radius → Risk classification: classifies command
claude-code/mods/blast-radius/hooks/blast-radius.mjs - Risk classification → Impact measurement: measures impact
claude-code/mods/blast-radius/hooks/blast-radius.mjs - Blast Radius → Approval pane: opens for decision
claude-code/mods/blast-radius/hooks/blast-radius.mjs - File edit tools → Replay Theater: triggers capture
claude-code/mods/replay-theater/hooks/replay-theater.mjs - Replay Theater → Edit capture: records edits
claude-code/mods/replay-theater/hooks/replay-theater.mjs - Edit capture → Diff steps: creates steps
claude-code/mods/replay-theater/hooks/replay-theater.mjs - Replay Theater → Replay view: renders replay
claude-code/mods/replay-theater/hooks/replay-theater.mjs - Context usage → Token Weather: provides readings
claude-code/mods/token-weather/hooks/token-weather.mjs - Token Weather → Context forecast: builds forecast
claude-code/mods/token-weather/hooks/token-weather.mjs