Files
nexus/wiki/sources/claude-code-integration.md
2026-04-25 16:02:46 +08:00

40 lines
1.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
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 中通过名称引用激活预设 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
- 无已知内容冲突