Skip to content
Development
Agent

protocol-manifest

本文档是 Boss 子代理协议的轻量索引。Boss 应优先加载本 manifest,并把稳定的公共规则作为 prefix 缓存复用;只有命中触发条件时才读取完整协议,避免每个 subagent 重复读取同一批长上下文。

From plugin
boss
54916 skills16 agents10 commands

Claude Code

> /plugin marketplace add echoVic/boss-skill
> /plugin install boss@boss-skill

Agent definition

protocol-manifest.md

协议 manifest

本文档是 Boss 子代理协议的轻量索引。Boss 应优先加载本 manifest,并把稳定的公共规则作为 prefix 缓存复用;只有命中触发条件时才读取完整协议,避免每个 subagent 重复读取同一批长上下文。

---

公共 prefix 缓存

以下内容适合放入同一轮流水线的共享 prefix 缓存,所有 subagent 复用,不需要每次重复展开全文:

  • 输出语言:文档类 Agent 使用中文;代码类 Agent 注释中文、代码英文。
  • 产物优先级:项目模板 > Skill 内置模板 > Agent Prompt 兜底格式。
  • 状态块:所有 Agent 必须用 `DONE / DONE_WITH_CONCERNS / NEEDS_CONTEXT / BLOCKED / REVISION_NEEDED` 报告。
  • 执行中会话层:使用 `ask / challenge / propose / request_change / escalate / huddle / resolve`;每条会话都必须 anchored,并在收敛后 materialize 为 single-owner todo 或正式修订循环。
  • 摘要优先:先读上游产物的 `## 摘要`,需要细节时再读取全文。
  • 技术栈缓存:先查 `.boss/<feature>/tech-stack.json`,缓存缺失或过期时才执行完整检测。

如果运行环境支持 prompt prefix / context cache / session memory,将以上 prefix 固定在共享上下文中;如果不支持,只向子代理注入本节摘要和必要模块引用。

---

按需加载矩阵

| 模块 | 文件 | 何时加载全文 | | --------------- | ------------------------------------- | -------------------------------------------------------------------------------- | | 通用协议 | `agents/shared/agent-protocol.md` | Agent 第一次接入、模板优先级/状态格式不清楚、或需要完整技术适配规则 | | 技术检测 | `agents/shared/tech-detection.md` | `tech-stack.json` 缺失、缓存过期、项目结构变化、或 Agent 明确需要重新识别技术栈 | | 子代理状态/反馈 | `agents/prompts/subagent-protocol.md` | Boss 处理状态机、执行中会话、反馈循环、Wave 校验、风险确认、或子代理返回异常状态 | | 测试标准 | `references/testing-standards.md` | code / QA / gate 相关任务 | | 产物保存 | `references/artifact-guide.md` | 保存或校验 `.boss/<feature>/` 产物路径时 |

默认不要把 `agent-protocol.md`、`tech-detection.md` 和自家 prompt 全文一起塞给每个 subagent。先给角色 prompt + 本 manifest 的公共 prefix;缺上下文时再按矩阵渐进式披露。

---

渐进式披露流程

1. **启动 Wave 前**:Boss 读取本协议 manifest,建立本轮 prefix 缓存。 2. **派发 Agent 时**:注入角色 Prompt、公共 prefix、任务输入、必要产物摘要,以及按需模块引用。 3. **缓存命中时**:若 `tech-stack.json` 可用,只注入技术栈摘要,不读取 `tech-detection.md` 全文。 4. **出现缺口时**:Agent 返回 `NEEDS_CONTEXT` 或明确说明缺少某协议细节后,Boss 再加载对应全文并重派。 5. **缓存失效时**:依赖清单、锁文件、构建配置、目录结构或运行环境发生变化,清理相关摘要并重新加载对应模块。 6. **执行中分歧时**:优先补充会话层摘要(参与方、anchor、todo 结论);只有会话规则不清楚时才展开完整协议。

目标是让 12 个 subagent 共享同一份协议前缀,而不是产生 `12 × shared protocol` 的重复 context 成本。

Read more
@echovic
Ships withboss

Languages / 语言 / 言語 / 언어 / Idiomas / Langues: English · 中文 · 日本語 · 한국어 · Español · Français · Português This project is part of the AtomGit G-Star Incubation Program.

54938 skills16 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
549
Star history of echoVic/boss-skill on GitHub, a chart by star-history.com

Other agents on boss.

boss-architect

boss-architect

Agent

系统架构师 Agent,负责技术调研和全栈架构设计。使用场景:技术选型调研、方案对比分析、全栈架构设计(前端+后端+数据库+基础设施)、API 设计、安全架构。

@echovic@echovicInstall Agent
boss-backend

boss-backend

Agent

后端开发专家 Agent,负责 API 和服务端功能实现。使用场景:API 开发、数据库操作、业务逻辑、服务端测试、性能优化。

@echovic@echovicInstall Agent
boss-devops

boss-devops

Agent

DevOps 工程师 Agent,负责部署应用和环境配置。使用场景:环境准备、依赖安装、构建应用、启动服务、健康检查。

@echovic@echovicInstall Agent
boss-frontend

boss-frontend

Agent

前端开发专家 Agent,负责 UI 组件和前端功能实现。使用场景:组件开发、状态管理、样式实现、前端测试、性能优化。

@echovic@echovicInstall Agent
boss-pm

boss-pm

Agent

需求分析 Agent,将原始诉求穿透为分层需求(显性/隐性/潜在/惊喜),产出带验收标准与优先级依据的 PRD。

@echovic@echovicInstall Agent
boss-qa

boss-qa

Agent

QA 验证 Agent,审查已有测试质量、补充边界与安全用例、执行测试并产出可核验的证据(命令、退出码、覆盖率、失败详情)。

@echovic@echovicInstall Agent

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc12d293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react2d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex1d135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman2d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about protocol-manifest.

Which coding agents can use protocol-manifest?
protocol-manifest installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.