my-plugin/ branch is a condensed preview; the 🔌 Plugin tab has the full layout. Click any row for details.
Select a file or folder
Click any item in the tree to see its description, usage examples, and source documentation.
Navigate with Tab and Enter, or close with Esc.
my-plugin/ on the Full Tree tab is the same structure here, just abbreviated. Use this tab for the full plugin layout. This shows every component a plugin can have — most directories are optional.
Plugins are the main extension unit for Claude Code and the best public file-structure example Anthropic has published for Cowork-oriented workflows. A plugin can bundle skills, commands, agents, hooks, MCP/LSP connections, output styles, themes, monitors, executables, and default settings. The layout follows the official plugins reference, with narrower real-world examples in anthropics/claude-code, anthropics/knowledge-work-plugins, and anthropics/claude-plugins-official.
plugin.json required? For ordinary plugin loading, no — the manifest is optional and Claude Code auto-discovers components from standard directories. It is required when a folder under a skills directory should load as a plugin named <name>@skills-dir instead of as a plain skill. Marketplace entries can also expose skill bundles without a plugin manifest by using strict: false plus explicit component paths, as Anthropic's anthropics/skills marketplace does.
skills paths add to the default skills/ directory. Custom commands, agents, outputStyles, experimental.themes, and experimental.monitors replace their defaults unless the default path is listed explicitly. Hooks, MCP, and LSP configs have their own merge rules.
marketplace.json belongs to a marketplace repository that indexes plugins, not inside an individual plugin's .claude-plugin/ folder.
📦 sales plugin
Complete role-based plugin. Earlier versions shipped commands; on main they're now skills — invocation unchanged: /sales:call-summary.
📦 clinical-trial-protocol skill
Canonical example of a skill using numbered references/ plus a utility script. Current main has no assets/ folder for this skill; see prior-auth-review-skill for healthcare assets.
📦 prior-auth-review-skill assets
Real Anthropic healthcare example showing assets/ with sample PDFs and supporting references/. Use this as the source-backed asset example.
📦 plugin.json manifest
Optional for ordinary plugins. Sets metadata and optional component paths. Be precise: custom skills paths add to defaults; custom commands, agents, outputStyles, themes, and monitors replace defaults unless you list the default path too.
📦 Plugin personalization
The documented mechanism is userConfig in plugin.json, which prompts users at enable time. Some Anthropic knowledge-work plugin READMEs also show .claude/settings.local.json inside the plugin folder as a Cowork/Claude Code convention.
Select a plugin file
Click any item in the plugin tree to see what it does, example content, and a link to the official source.
Navigate with Tab and Enter, or close with Esc.
📋 CLAUDE.md MD
Main instruction file. Root and ancestor files load at session start; nested files load when Claude works in those subdirectories. Write project rules, build commands, code style, architecture. Use @path to import (imports can nest up to 4 hops deep). Also works at .claude/CLAUDE.md if you prefer a clean project root.
🤖 .claude/agents/*.md MD
Defines a subagent — a specialized Claude instance with its own context, tool restrictions, and system prompt. YAML frontmatter controls model, tools, and behaviour.
📝 .claude/commands/*.md MD
Each file becomes a /slash-command. Use $ARGUMENTS as placeholder. Supports frontmatter for tool restrictions.
📝 skills/*/SKILL.md MD
Core skill instruction file. The description frontmatter is how Claude decides relevance. Keep the body concise — it stays in context.
📝 QUICKREF.md MD
A compact cheat-sheet alongside SKILL.md. Gives Claude fast lookup without loading the full instructions.
📝 references/*.md MD
Deep reference material chunked into numbered files. SKILL.md stays short while Claude navigates to the right reference chunk.
📝 CONNECTORS.md MD
Human-readable MCP integration docs. Most Anthropic knowledge-work plugins ship one. Not machine-read.
✅ TASKS.md MD
Persistent task list from the productivity Cowork plugin. Claude reads, updates, and executes against it.
📝 .claude/rules/*.md MD
Modular instruction files. Without paths → loads every session. With paths glob → loads only for matching files.
📝 AGENTS.md MD
Claude Code reads CLAUDE.md, not AGENTS.md. If your repo uses AGENTS.md for other agents, have CLAUDE.md @-import it.
📝 docs/*.md MD
Regular markdown docs imported via @docs/filename.md. Keep CLAUDE.md short, link deeper docs here.
🎚 output-styles/*.md MD
Custom output style definitions. Available at project or global scope, and also as plugin components.
📋 CLAUDE.local.md LOCAL
Personal project notes — sandbox URLs, test accounts. Loads alongside CLAUDE.md and is treated the same way; add it to .gitignore. Because a gitignored file exists only in one worktree, prefer a @-import from ~/ when you work across multiple git worktrees.
📝 README.md MD
Standard documentation. Imported into CLAUDE.md via @README so Claude always has the project overview.
📝 MEMORY.md AUTO
Claude's auto-memory. First 200 lines (or 25KB) load each session. Keyed on the git repo, so worktrees share one store; outside a git repo, the project root is used. View with /memory.
📂 agent-memory/ AUTO
Persistent per-subagent memory. Scopes: user at ~/.claude/agent-memory/, project at .claude/agent-memory/, local at .claude/agent-memory-local/ (gitignored). First 200 lines (or 25KB) injected at startup.
📋 plugin.json JSON
Optional plugin manifest for ordinary plugins. Custom path behavior depends on the field: skills adds to the default; commands, agents, outputStyles, themes, and monitors replace defaults unless the default path is listed explicitly.
⚙️ settings.json JSON
Team-shared settings. Controls permissions, hooks, and MCP server auto-approval.
🔌 managed-mcp.json JSON
Enterprise-managed MCP configuration deployed beside managed-settings.json. Use it when administrators need central control over which MCP servers are available.
⚙️ managed-settings.d/*.json JSON
Enterprise-managed settings fragments. Claude Code merges them alphabetically after managed-settings.json, so teams can ship separate policy files.
🔌 .mcp.json JSON
Defines MCP tool servers. Lives at project root (project-wide) or inside a plugin (plugin-scoped).
📋 marketplace.json JSON
Index file for marketplace repos. References each plugin by name and source (relative path or git source), plus optional metadata.
🧠 .lsp.json JSON
Plugin-level language server configuration. Maps language server names directly to command/config objects.
⚙️ plugin/settings.json JSON
Plugin default settings. Current docs limit supported keys; do not treat this as a general project settings replacement.
📡 monitors/monitors.json JSON
Plugin background monitor configuration. The file is a JSON array of monitor entries.
⌨️ keybindings.json JSON
User-level keyboard shortcut configuration under ~/.claude/.
🎨 themes/*.json JSON
User-editable theme files under ~/.claude/themes/. Plugin themes can be copied there for editing.
⚙️ ~/.claude.json JSON
User-level config storing MCP server definitions and Claude Code app state. Distinct from ~/.claude/settings.json (behaviour/permissions). Edit via claude mcp add or directly.
⚙️ settings.local.json LOCAL
Personal overrides to project settings. Gitignored when Claude Code creates it. Plugin-local personalization via plugin/.claude/settings.local.json is shown by Anthropic knowledge-work plugin READMEs and is treated here as a convention.
⚙️ plugin/settings.local.json LOCAL
Anthropic knowledge-work plugin convention for local personalization — company name, team, tool stack. The official plugin schema uses userConfig in plugin.json.
🪝 scripts/hook.sh SCRIPT
Triggered at lifecycle events such as PreToolUse, PostToolUse, SessionStart, and Stop. Receives JSON on stdin; return exit codes for simple allow/block behavior or exit 0 with JSON for structured decisions.
📄 skills/*/assets/*
Templates, example outputs, sample inputs, config files. Any format Claude needs to produce correct output; Anthropic examples include PDFs, templates, fonts, HTML, and generated artifacts.
🤖 ~/.claude/projects/ AUTO
Auto-generated session history. Transcripts keyed on working-directory path; auto-memory keyed on git repo root.
📄 <session-id>.jsonl AUTO
One JSON Lines file per session. Each line is a message, tool call, or result. Cleaned up per cleanupPeriodDays (default 30). Never edit manually.
🔁 workflows/*.js
Dynamic workflow scripts saved under project or global .claude/workflows/. Each file becomes a slash command.
🌿 .worktreeinclude CFG
Controls gitignored files copied into new worktrees for isolated parallel work.
🔑 .env LOCAL
API keys, database URLs, secrets. Claude Code inherits your shell environment so hook scripts can read these. Never commit.
🚫 .gitignore CFG
Exclude personal and secret files. Claude Code auto-gitignores settings.local.json but also add CLAUDE.local.md and .env.
Four native Claude Code scopes, plus the plugin layer which installs into them. Click any file path to see its full description.
🏢 1. Enterprise
- macOS:
/Library/Application Support/ClaudeCode/CLAUDE.md - Linux & WSL:
/etc/claude-code/CLAUDE.md - Windows:
C:\Program Files\ClaudeCode\CLAUDE.md
- macOS:
/Library/Application Support/ClaudeCode/managed-settings.json - Linux & WSL:
/etc/claude-code/managed-settings.json - Windows:
C:\Program Files\ClaudeCode\managed-settings.json
managed-settings.d/*.json
- macOS:
/Library/Application Support/ClaudeCode/managed-mcp.json - Linux & WSL:
/etc/claude-code/managed-mcp.json - Windows:
C:\Program Files\ClaudeCode\managed-mcp.json
Managed by IT/DevOps. A managed CLAUDE.md shapes behaviour; managed settings and managed MCP enforce policy.
👤 2. Global / User
~/.claude/CLAUDE.md~/.claude/rules/(user-level rules; loaded before project rules)~/.claude/settings.json~/.claude/agents/~/.claude/commands/~/.claude/skills/~/.claude/output-styles/~/.claude/workflows/~/.claude/keybindings.json~/.claude/themes/~/.claude/agent-memory/~/.claude/plugins/cache/~/.claude/plugins/data/{id}/~/.claude.json(user MCP servers + app state)
Personal preferences across all projects.
📁 3. Project (Shared)
./CLAUDE.md./.mcp.json./.worktreeinclude./.claude/settings.json./.claude/agents/./.claude/commands/./.claude/skills/./.claude/output-styles/./.claude/workflows/./.claude/agent-memory/
Committed to git. The whole team shares these.
🔒 4. Project (Personal)
./CLAUDE.local.md./.claude/settings.local.jsonplugin/.claude/settings.local.json
Gitignored. Your sandbox URLs, plugin personalization, personal tool preferences.
🔌 5. Plugin Layer
plugin/.claude-plugin/plugin.jsonplugin/.mcp.jsonplugin/.lsp.jsonplugin/settings.jsonplugin/SKILL.mdplugin/agents/plugin/commands/plugin/skills/plugin/hooks/hooks.jsonplugin/scripts/plugin/output-styles/plugin/themes/plugin/monitors/monitors.jsonplugin/bin/plugin/.claude/settings.local.json
Plugins install into user or project scope. Agents/commands/skills are namespaced (e.g., /sales:call-prep).
claude plugin marketplace add anthropics/knowledge-work-plugins
# Install a specific plugin
claude plugin install sales@knowledge-work-plugins
# Community directory
claude plugin marketplace add anthropics/claude-plugins-community
claude plugin install my-plugin@claude-community
# Browse interactively
/plugin > Discover
Select a file path
Click any file in the scope cards to see what it does, with examples and source links.
Navigate with Tab and Enter, or close with Esc.
Everything here is traceable to Anthropic's official documentation or public repositories. Each detail card links its own source; the full set is below.
How to read the badges
📘 Official documentation
- code.claude.com/docs — Claude Code documentation root (cross-check baseline)
- Explore the .claude directory — file reference and application data
- Memory — CLAUDE.md, imports, auto-memory
- Subagents — frontmatter, agent memory, forks
- Skills — frontmatter, commands merger
- Hooks — events & exit codes
- Plugins reference — plugin.json, auto-discovery
- Plugin marketplaces — marketplace.json
- Settings — scopes & managed settings
- MCP — .mcp.json server config
- Sessions — transcript storage and cleanup
- Agent teams — parallel multi-session workflows
- Dynamic workflows — saved
.claude/workflows/*.jscommands - Output styles — custom response/system-prompt style files
- Worktrees — isolated parallel work and
.worktreeinclude
📦 Public repositories
- anthropics/knowledge-work-plugins — sales, legal, finance & Cowork plugins
- anthropics/skills — canonical Agent Skills examples
- anthropics/claude-plugins-official — Anthropic-managed marketplace
- anthropics/claude-plugins-community — vetted third-party marketplace
- anthropics/healthcare — healthcare skills and MCP plugin examples
- anthropics/claude-code — plugins/README.md
🔎 GitHub audit commits
knowledge-work-plugins:2dbea27670fa98c1e80a178cae7d7896a75353e9skills:57546260929473d4e0d1c1bb75297be2fdfa1949claude-plugins-official:eb1510e138223ac656d9032f6caa625f8b52d207claude-plugins-community:3d4f97ebd36f21c87c0694eee4bc6da96a28b43ahealthcare:fb39874a8652321f7827ade5372ca058a605a21eclaude-code:ee81682a72b07705672332d1dc963927a998c177
🧾 Source-file summary
knowledge-work-plugins/.claude-plugin/marketplace.json— Cowork-oriented marketplace catalog with plugin entries and external sources.knowledge-work-plugins/sales/— current real plugin tree:.claude-plugin/,.mcp.json,CONNECTORS.md,README.md, andskills/.knowledge-work-plugins/sales/skills/create-an-asset/— realSKILL.md+QUICKREF.md+README.mdconvention example.healthcare/clinical-trial-protocol-skill/— real numberedreferences/plusscripts/sample_size_calculator.pyskill example.healthcare/prior-auth-review-skill/— realassets/plusreferences/healthcare skill example.skills/skills/skill-creator/— source-backed skill anatomy:SKILL.md,scripts/,references/,assets/, and nested helper agents.claude-plugins-official/plugins/example-plugin/— Anthropic-managed marketplace reference implementation.claude-code/plugins/README.md— official repo-level plugin examples and standard plugin structure notes.
⚠ Known caveats
- The official plugin docs are broader than many repo examples: docs list
.lsp.json,output-styles/,themes/,monitors/,bin/, and pluginsettings.json. - The knowledge-work plugins are the best public Cowork-oriented structures, but they are plugin packs, not a separate Cowork workspace/filesystem specification.
- Claude Code docs, not Cowork product docs, define the file structure; Cowork evidence here comes from Anthropic's Cowork-oriented plugin repos.
- The
salesplugin's README still describes command workflows, while the current repo tree ships those workflows asskills/; namespaced invocation is unchanged. plugin.jsonis optional for ordinary plugin loading; a skills-directory folder needs one only when it should load as a plugin rather than a plain skill. Marketplace entries can expose skill bundles without a plugin manifest by usingstrict: false.- Manifest path behavior differs by field:
skillsadds to defaults;commands,agents,outputStyles,themes, andmonitorsreplace defaults unless defaults are listed explicitly. - Hooks still support exit-code control, but current docs recommend JSON output on exit
0for richer decisions such as allow, deny, ask, defer, or modified tool input. CLAUDE.local.mdis fully supported in current docs (it appears in the official scope table and/initcan create it). The@~/.claude/notes.mdimport is recommended specifically for sharing personal notes across git worktrees.- Plugin-shipped agents ignore the
hooks,mcpServers, andpermissionModefrontmatter fields for security reasons; copy the agent into.claude/agents/if you need them. - Plugin personalization is documented through
userConfiginplugin.json. Plugin-local.claude/settings.local.jsonappears in Anthropic knowledge-work READMEs and is labeled here as convention. - Transcripts vs auto-memory use different key strategies: working-dir path vs git repo root (outside a git repo, auto-memory keys on the project root).
🔍 Boundary of this map
- This is a file-structure map, not a byte-level schema for every JSON field.
- The full hook event table lives in the hooks reference; this page shows where hook files/config live.
- MCP server implementation examples belong to the official Model Context Protocol SDK/server repos, not this Claude file map.