Skip to main content
Back

Anthropic Opens Claude Code's Internal Workflows and Configs to Developers

Anthropic's DevRel team opened up a working collection of Claude Code hooks, CLAUDE.md files, settings, skills and launch demos so you can skip the blank session.

Pro

Repo, Full Access
  • Anthropic DevRel published claude-code-playground, real Claude Code setups, hooks and demos
  • Includes CLAUDE.md files, settings.json, hooks, mods, skills and launch-demo prompts
  • Explicitly not an official product, no support, external PRs will be closed
  • Each entry documents the model used, prompts, and what did not work
  • Published by hand from a private repo, no bots push to public main
  • Apache-2.0 licensed, pairs with skills and plugins repos

Anthropic’s Developer Relations team has published claude-code-playground, a public collection of the Claude Code configurations, hooks, skills, workflows, and demos its staff use. Claude Code is Anthropic’s terminal-based coding agent, and the repository exposes the supporting files that shape how it behaves inside a project.

The collection provides practical starting points for developers facing a blank CLAUDE.md file or an unconfigured settings.json. Entries include the model, prompts, setup instructions, failed approaches, and limitations, making the reasoning behind each workflow visible.

A field guide to the folders

Each entry is self-contained and includes a README that explains what the example demonstrates, how it was built, and how to run it. Nothing is installed or configured from the repository root.

Area What it contains Why to inspect it
hooks/ Commands triggered by Claude Code events, such as file edits or tool calls Automate linting, validation, logging, and other checks
CLAUDE.md examples Project instructions with commentary See how teams encode repository conventions and operating rules
settings.json examples Claude Code configuration files Understand permissions, hooks, and local behavior
workflows/ End-to-end personal setups, organized by contributor Study how individual components fit into daily work
mods/ Plugins that change behavior or provide custom interfaces Explore extensions beyond standard terminal interactions
skills/ Reusable instruction bundles outside the official marketplace Borrow specialized capabilities for recurring tasks
demos/ Experimental builds with implementation notes Review complete examples and their construction
launch-demos/ Model-launch demonstrations with prompts and setup details Reproduce scenarios Anthropic has presented publicly

Why the rough edges stay visible

Anthropic describes the playground as an unofficial, unsupported collection whose entries may stop working as Claude Code, the Claude API, and the underlying models change. The examples carry no best-practice status, and outside pull requests may be closed without review.

Every entry follows a shared documentation template covering the public model used, exact prompts, construction process, execution steps, unsuccessful attempts, and known limitations. Recording failed approaches helps developers identify which results depend on prompt wording, model behavior, tool permissions, or local configuration.

The repository’s experimental status also sets an appropriate maintenance expectation. Developers should fork useful entries, test them against the current Claude Code release, and own the resulting configuration rather than treating the playground as a stable dependency.

From blank config to working loop

Claude Code reads CLAUDE.md for project-specific guidance, while settings.json controls features such as permissions and hooks. Hooks run commands when defined events occur, allowing the coding agent to trigger existing development tools automatically.

An illustrative post-edit hook can run a linter whenever Claude Code writes or edits a file:

{
  "hooks": {
    "PostToolUse": [
      {
        "matcher": "Edit|Write",
        "hooks": [
          {
            "type": "command",
            "command": "npm run lint --silent"
          }
        ]
      }
    ]
  }
}

This pattern connects an agent action to a deterministic project check. Developers should confirm the schema against the entry’s documented Claude Code version and adjust the command for the repository’s package manager, working directory, and lint configuration.

Any copied hook deserves the same review as a build script because it can execute local commands with the user’s permissions. Inspect shell commands, network access, file paths, environment variables, and credential handling before enabling an example.

Manual publishing creates a safety boundary

Anthropic stages entries in a private source repository, which remains the source of truth, and exports them to the public repository by hand. A maintainer reviews the complete diff before each push.

No CI job, bot, webhook, or scheduled task publishes entries. Dependabot and the contributor license agreement check provide the limited automation, while CI performs checks without releasing content. That process reduces the chance that private material, unreviewed scripts, or unsafe agent configuration reaches the public repository automatically.

Pick the repository that fits

Anthropic maintains separate repositories for stable examples, plugins, starter applications, and API education:

The playground serves developers who want working experiments with their construction notes intact. The other repositories offer more structured material for implementation, installation, or API learning.

A safer way to borrow a setup

The repository uses the Apache 2.0 license, so developers can copy and modify entries under that license’s terms. A practical evaluation process is:

  1. Choose a workflow close to the target project and read its entire README, including failed attempts and limitations.
  2. Check the documented model and configuration against the current Claude Code release.
  3. Review every hook, script, permission, network call, and referenced environment variable.
  4. Copy the relevant CLAUDE.md and settings.json files into a test branch or disposable repository.
  5. Add one hook or skill at a time so failures remain easy to trace.
  6. Fork the entry locally and maintain it with the project, since upstream contributions may be closed without review.