--- title: "Claude Code Integration" type: source tags: [] date: 2026-05-02 --- ## Source File - [[Agent/agency-agents/integrations/claude-code/README.md]] ## Summary(用中文描述) - 核心主题:The Agency Agent 资产与 Claude Code 的原生集成方案 - 问题域:如何在 Claude Code 会话中激活和使用预设的 Agent 角色 - 方法/机制:通过 `install.sh` 脚本或手动复制,将 Agent 定义文件部署到 Claude Code 的 agents 目录,Claude Code 通过名称引用激活 Agent - 结论/价值:The Agency 从一开始就为 Claude Code 构建,无需任何格式转换,Agent 天然使用 `.md` + YAML frontmatter 格式,与 Claude Code 完全兼容 ## Key Claims(用中文描述) - The Agency 为 Claude Code 原生构建,无需格式转换 - Agent 以 `.md` + YAML frontmatter 格式存储,与 Claude Code agent 格式完全一致 - Agent 按部门(division)组织成目录结构,可选择性安装 - 在 Claude Code 会话中通过名称引用即可激活对应 Agent ## Key Quotes > "The Agency was built for Claude Code. No conversion needed — agents work natively with the existing `.md` + YAML frontmatter format." — 核心设计理念,阐明 The Agency 与 Claude Code 的原生兼容性 ## Key Concepts - [[Agent-Activation-Pattern]]:在 Claude Code 和 Windsurf 中通过名称引用激活预设 Agent 角色的机制 ## Key Entities - [[Claude-Code]]:Anthropic 官方 AI 编程 CLI 工具,本集成的目标平台 - [[The-Agency]]:多智能体编码系统,包含各类专业角色 Agent 的资产库 ## Connections - [[integrations-readme]] ← overview ← [[claude-code-integration]] - [[claude-code-integration]] ← extends ← [[The-Agency]] - [[agents-orchestrator]] ← category_parent ← [[claude-code-integration]] ## Contradictions - 无已知内容冲突