Claude Code Playground plugin
Anthropic DevRel playground: three Claude Code mods, hooks, CLAUDE.md examples and skills, each with notes on how it was built.
- 369 ★ on the repository
- Last commit
- Apache-2.0
Extended access
Why this level
- Mods run through hooks and can hold or alter Claude Code tool calls.
- Examples ship as-is and without support.
Install
- Works in
Manual install
git clone https://github.com/anthropics/claude-code-playground.git
cd claude-code-playground/claude-code/mods
claude --plugin-dir ./token-weatherThe first mods README method: one mod for one session. For a permanent install add the folder as a marketplace: `claude plugin marketplace add ./`, then `claude plugin install token-weather@claude-code-playground-mods --scope user`.
Access and checks
How we reviewExtended accessThe tool runs code or makes network calls and only reads external data.
- Mods run through hooks and can hold or alter Claude Code tool calls.
- Examples ship as-is and without support.
This is third-party code. Review the repository files before installing.
What it does
Claude Code Playground is a collection from the Anthropic DevRel team. The `claude-code/mods` folder holds three ready mod plugins. Blast Radius holds a risky command (`rm -rf`, `git reset --hard`, a force push, migrations) and shows what it would change, with Proceed and Cancel buttons. Replay Theater steps through the file edits from the last turn, one diff at a time. Token Weather draws a context window forecast above the prompt. Other folders contain hook examples, real `CLAUDE.md` files with commentary, `settings.json`, personal workflows, skills and demos. Every entry has its own README: what it shows, which model and prompts built it, how to run it and what the limits are.
Who it is for. Claude Code developers studying how mods and hooks are written who want a working example for their own setup.
Good fit when
- A guard step is wanted before `rm -rf` and `git push --force`, showing the affected files.
- Edits from an agent turn should be reviewed one by one like slides.
- A custom Claude Code mod is being written and a sample with `tool.call` and a pane is needed.
- A real Anthropic team `CLAUDE.md` with commentary is of interest.
Not a fit when
- A supported official plugin library is wanted, while this is an unsupported collection.
- Claude Code is older than 2.1.287, where mods do not load by default.
- A finished product is needed instead of annotated examples.
Example request
Enable the Blast Radius mod and show what `rm -rf build` would delete before running it.Limitations
Anthropic calls the repository a playground: it is not an official product, comes with no support and examples may break as Claude Code and models change. The mods need Claude Code 2.1.287 or later. Outside contributions are not accepted, and issues and pull requests from outside Anthropic may be closed. The docs advise reviewing a plugin before installing it. Examples sit in different folders with their own requirements, so read an entry README before running it. The Claude Code plugin docs advise reviewing a plugin’s code before installing.
How to disable. Remove a plugin with `claude plugin uninstall <name>` and drop the local `claude-code-playground-mods` marketplace.
FAQ
How do I try a mod for one session?
Clone the repository, go to `claude-code/mods` and run `claude --plugin-dir ./token-weather`. The mod lasts until the session ends.
What does Blast Radius show?
For `rm -r` the files with total size, for `git reset --hard` the files with uncommitted changes, for a force push the commits that would be dropped. Other commands run as usual.
Is this an official Anthropic product?
No. The README says plainly that this is a DevRel playground with no support and no guarantee the examples work.
What does Replay Theater do?
It shows the file edits Claude made in the last turn, one diff at a time. The mod helps review changes before committing.
Where are the hooks and CLAUDE.md examples?
In `claude-code/hooks` and `claude-code/claude-md`. Next to them sit `settings`, `workflows`, `skills`, `demos` and `launch-demos`.
Discussion
No questions or reviews yet.
Related
PluginsA set of Claude Code mods: status lines above the prompt, a guard against risky commands and a few small games
A handbook and starter set for Claude Code: guides, CLAUDE.md templates, starter kits, hooks and the commit-helper plugin.
Claude Code plugins: plan, work and review commands, subagents, hooks and writing skills in a practical minimalism spirit.
Ten Claude Code plugins: panes and bands above the prompt, secret handling, a vague-prompt filter and memory cleanup.
A Claude Code plugin of eight builder skills: UI cloning, PRDs, CLAUDE.md scaffolding, terse research and a refactor tournament.
Plugins for git, Python and accessibility in one place: 400+ skills, subagents and hooks against dangerous agent commands.
Comparison with similar tools
Cards that share the main search query, and how they differ.
| Tool | Official | Repository stars | Main difference |
|---|---|---|---|
| Claude Code Playground (this card) | no | 369 | |
| Claude Code Hooks (voice) | no | 572 | speaks events through hooks; this one has three UI mods and a collection of setup examples |
| AgentGuard | no | 493 | installs a guard layer for agents; Blast Radius only holds risky commands and shows their effects |
README in short
The repository gathers what the DevRel team shares: Claude Code setups, demos, skills and model launch demos. Each entry follows a shared template and passes a checklist before it is added. A table at the bottom links to official skills and plugins.