anthropic-claude-code-extend
About anthropic-claude-code-extend
This reference skill covers extensions for the Claude Code CLI, for users configuring and extending the CLI. Topics are organized by task and include Agent Skills, hooks, plugins, MCP settings, subagents, workflows, and built-in tools.
Key features
- 01Agent Skills and slash commands
- 02Subagents, agent teams, and workflows
- 03Session lifecycle hook configuration
- 04Plugin and marketplace management
- 05MCP server connection settings
- 06Built-in tools reference
Use cases
- 01Define skills and commands for Claude Code
- 02Configure session lifecycle hooks
- 03Manage plugins and marketplaces
- 04Set up MCP server connections for Claude Code
MCP support
Covers connecting the Claude Code CLI to MCP servers, including .mcp.json, `claude mcp add`, and organization-level access controls.
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ fandhe-ai/ agent-reference-skills --skill anthropic-claude-code-extendAfter installing, type/anthropic-claude-code-extendin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
references/channels/channels-reference.mdchannels.mdREADME.mdreferences/hooks/hooks-guide.mdhooks.mdREADME.mdreferences/mcp/managed-mcp.mdmcp-quickstart.mdmcp.mdREADME.mdreferences/mods/admin.mdapi.mdcreate.mdevents.mdinterface-gallery.mdinterface.mdoverview.mdREADME.mdreference.mdtest.mdtroubleshoot.mdreferences/plugins/anthropic-marketplaces.mdcode-intelligence.mddiscover-plugins.mdhost-marketplace.mdmarketplace-reference.mdmeasure-plugin.mdplugin-cli-reference.mdplugin-components.mdplugin-dependencies.mdDetails
From the project READMEanthropic-claude-code-extend
Claude Code (code.claude.com) — CLI 本体を拡張する機能群のリファレンス。Agent Skills(SKILL.md)・
slash commands・output styles、subagents / agent teams / agent view / workflows / routines /
scheduled tasks、hooks、plugins / plugin marketplace、MCP 設定、channels(--channels /
claude/channel push events)、built-in tools(advisor / ultrareview 含む)をカバーする。
CLI 本体(インストール・設定・セッション)は anthropic-claude-code、Agent SDK の Skills / MCP /
subagents / hooks は anthropic-agent-sdk、Claude API 側の Agent Skills / Skills API / MCP connector は
anthropic-api-tools-mcp を参照(本スキルは Claude Code CLI から使う拡張機能の設定・仕様を担当)。
注意: mods の「hooks」(JS モジュール内のイベント関数)は settings.json の hooks(references/hooks/)とは別物。mods は references/mods/、settings.json hooks は references/hooks/ を参照する。
ディレクトリ構成
skills/anthropic-claude-code-extend/
SKILL.md
references/
skills-commands/
README.md
commands.md
output-styles.md
prompt-library.md
skills.md
subagents/
README.md
agent-teams.md
agent-view.md
agents.md
cross-session-messaging.md
desktop-scheduled-tasks.md
routines.md
routines-fire.md
scheduled-tasks.md
sub-agents.md
workflows.md
hooks/
README.md
hooks.md
hooks-guide.md
plugins/
README.md
anthropic-marketplaces.md
code-intelligence.md
discover-plugins.md
host-marketplace.md
marketplace-reference.md
measure-plugin.md
plugin-cli-reference.md
plugin-components.md
plugin-dependencies.md
plugin-evals.md
plugin-hints.md
plugin-loading.md
plugin-marketplaces.md
plugin-relevance.md
plugin-security.md
plugins.md
plugins-org.md
plugins-overview.md
plugins-reference.md
plugins-troubleshooting.md
publish-plugin.md
mods/
README.md
admin.md
api.md
create.md
events.md
interface.md
interface-gallery.md
overview.md
reference.md
test.md
troubleshoot.md
mcp/
README.md
managed-mcp.md
mcp.md
mcp-quickstart.md
channels/
README.md
channels.md
channels-reference.md
tools/
README.md
advisor.md
tools-reference.md
ultrareview.md
samples/
README.md
skill-definition.md
slash-command.md
hook-config.md
subagent-definition.md
plugin-manifest.md
plugin-marketplace.md
mcp-config.md
mod-first-mod.md
output-style.md
plugin-eval-case.md
探索手順
タスクからカテゴリを引き、カテゴリの README.md で目的のページを特定する:
- 下記マッピング表でタスクに対応するカテゴリを探す
- そのカテゴリの
references/{category}/README.md(samples/は直下の README.md)を参照して目的のページを特定する - 該当ページの
.mdを Read して詳細を確認する
タスク → カテゴリ マッピング
| タスク | カテゴリ | 参照 README |
|---|---|---|
| Agent Skills(SKILL.md)を定義したい・slash command を作りたい・output style や SDLC prompt library を使いたい | skills-commands | references/skills-commands/README.md |
subagent を定義したい・agent teams で複数インスタンスを協調させたい・agent view でバックグラウンド session を管理したい・並列実行の 4 アプローチを比較したい・routines / scheduled tasks(/loop, /fire)で自動化したい・Desktop アプリの Routines ページからローカル定期タスクを設定したい・workflows で大規模 orchestration を組みたい・Claude Code session 間でメッセージを送りたい(ListAgents / SendMessage / /list-agents) | subagents | references/subagents/README.md |
| セッション lifecycle イベント(SessionStart / PreToolUse / PostToolUse / PermissionRequest 等)で hook を設定・実装したい | hooks | references/hooks/README.md |
plugin をインストール・管理したい・Anthropic 公式 marketplace を使いたい・LSP による code intelligence を有効にしたい・plugin のセキュリティと信頼を確認したい・plugin eval(claude plugin eval)を書きたい・plugin を公開したい・コストと利用状況を計測したい・marketplace をホスト・改名したい・organization の plugin policy を設定したい・トラブルシュートや loading の仕組みを知りたい・plugin.json / marketplace.json / claude plugin コマンドのリファレンスを確認したい・dependency constraint を確認したい | plugins | references/plugins/README.md |
| Claude Code 内に pane / band / button / command / tool-call rule を JavaScript / TypeScript の mod で追加したい・mods API / events / テスト / organization 管理を確認したい | mods | references/mods/README.md |
Claude Code から MCP サーバーへ接続したい(.mcp.json / claude mcp add)・organization 単位で managed MCP access を制御したい | mcp | references/mcp/README.md |
実行中セッションへ webhook / アラート / チャットメッセージを push したい・--channels で channel plugin(telegram / discord / imessage)を有効化したい・独自 channel MCP サーバー(claude/channel capability)を実装したい | channels | references/channels/README.md |
| built-in tool(Agent / Bash / Read / Edit / Skill 等)の完全リファレンスを確認したい・advisor tool や ultrareview を使いたい | tools | references/tools/README.md |
| 典型的な使い方を知りたい(SKILL.md 定義, slash command, hook 設定, subagent 定義, plugin manifest / marketplace, .mcp.json, output style, mod, plugin eval case) | samples | samples/README.md |