代理编排
- 作者仓库星标 3,783
- 作者仓库 Continuous-Claude-v3
- 领域
- 人工智能
- 作者声明的智能体
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 运行环境证据
- 未执行;当前没有隔离运行测试证据
- 作者 / 版本 / 许可证
- @parcadei · 未声明许可证
- 上下文用量评级
- 低消耗
- 接入复杂程度
- 需简单配置
- 是否需要外部接口密钥
- 不需要
- 兼容的系统
- 未声明(默认跨平台)
- 运行环境要求
- Python
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 命令执行
- 网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
需要注意: 未声明工具权限范围;实际权限由运行环境决定。
Implement Phase 4: Outcome Marking Hook from the Artifact Index plan.
**Plan location:** thoughts/shared/plans/2025-12-24-artifact-index.md (search for "Phase 4")
**What to create:**
1. TypeScript hook
2. Shell wrapper
3. Python script
4. Register in settings.json
When done, provide a summary of files created and any issues.
# Agent Orchestration Rules
When the user asks to implement something, use implementation agents to preserve main context.
## The Pattern
**Wrong - burns context:**
```
Main: Read files → Understand → Make edits → Report
(2000+ tokens consumed in main context)
```
**Right - preserves context:**
```
Main: Spawn agent("implement X per plan")
↓
Agent: Reads files → Understands → Edits → Tests
↓
Main: Gets summary (~200 tokens)
```
## When to Use Agents
| Task Type | Use Agent? | Reason |
|-----------|------------|--------|
| Multi-file implementation | Yes | Agent handles complexity internally |
| Following a plan phase | Yes | Agent reads plan, implements |
| New feature with tests | Yes | Agent can run tests |
| Single-line fix | No | Faster to do directly |
| Quick config change | No | Overhead not worth it |
## Key Insight
Agents read their own context. Don't read files in main chat just to understand what to pass to an agent - give them the task and they figure it out.
## Example Prompt
```
Implement Phase 4: Outcome Marking Hook from the Artifact Index plan.
**Plan location:** thoughts/shared/plans/2025-12-24-artifact-index.md (search for "Phase 4")
**What to create:**
1. TypeScript hook
2. Shell wrapper
3. Python script
4. Register in settings.json
When done, provide a summary of files created and any issues.
```
## Trigger Words
When user says these, consider using an agent:
- "implement", "build", "create feature"
- "follow the plan", "do phase X"
- "use implementation agents"
章节与文件索引
按说明文件中的顺序排列。
模式
何时使用代理
关键见解
触发词
文件/命令 -> thoughts/shared/plans/2025-12-24-artifact-index.md · settings.js
内容校验值 -> a2aa3f3bbdb6
当前原文的自动摘译,尚未人工审校。
模式
错误 - 烧毁上下文: 正确 - 保留上下文:
何时使用代理
任务类型 · 使用代理? · 原因 多文件实施 · 是 · 代理在内部处理复杂性 遵循计划阶段 · 是 · 代理读取计划,通过测试实现新功能 · 是 · 代理可以运行测试 单行修复 · 否 · 直接执行速度更快
关键见解
特工们会阅读自己的背景。不要仅仅为了了解要传递给代理的内容而阅读主聊天中的文件 - 给他们任务,他们就会弄清楚。
触发词
当用户说出这些时,请考虑使用代理:“实施”、“构建”、“创建功能”、“遵循计划”、“执行 X 阶段”、“使用实施代理”