rd-protocol

rd-protocol is a skill for Claude Code, Codex from alisunstar/OpenSunstar. It costs 61 tokens per session (1,040 once invoked), scanned A, original, Apache-2.0.

A command protocol for guiding AI-assisted software delivery from checking a requirement through implementation, validation, review, release planning, and knowledge updates.

In plain words
What is it for?
Use it to verify product requirements, clarify and break down work, implement changes, validate results, review code, plan releases, and record reusable knowledge.
Why use it?
It gives development work a defined sequence and creates written checkpoints such as requirement, analysis, validation, and review documents.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/alisunstar/opensunstar/rd-protocol
Any agent
npx skills add alisunstar/OpenSunstar --skill rd-protocol
Clone the repo
git clone --depth 1 https://github.com/alisunstar/OpenSunstar

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for rd-protocol

README.md
[![agentmods](https://agentmods.dev/badge/skills/alisunstar/opensunstar/rd-protocol.svg)](https://agentmods.dev/skills/alisunstar/opensunstar/rd-protocol)
Your own site
<a href="https://agentmods.dev/skills/alisunstar/opensunstar/rd-protocol"><img src="https://agentmods.dev/badge/skills/alisunstar/opensunstar/rd-protocol.svg" alt="Measured on agentmods" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,040 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00061 $0.01040
Opus 5 $0.00030 $0.00520
Sonnet 5 $0.00012 $0.00208
Haiku 4.5 $0.00006 $0.00104

Measured 3d ago against content hash 7b4712e8cce4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

rd-protocol scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

rd-protocol/SKILL.md · 69 lines

How it starts

The opening of the file, as written. The whole thing — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.

RD Protocol — AI 研发交付命令协议

本 skill 定义 /rd:* 命令链,让外部 CLI(Claude Code/Codex/Gemini CLI 等)按协议跑通 AI 研发交付全链路。 OpenSunstar 只做协议分发与产物门禁,不持有 agent 运行时(C1 约束)。

七步闭环

verify-prd → clarify/analyze → decompose → verify-requirement → apply → validate → code-review/release → backfill

命令清单

命令 阶段 产物 人工确认
/rd:work 路由入口 下一步引导(命令+推荐提示词)
/rd:verify-prd 输入质量门禁 CHANGE.md
/rd:clarify 澄清 clarification.md
/rd:analyze 分析(读 ROUTING 加载知识) analysis.md
/rd:decompose 按应用拆解 DECOMPOSITION.md + applications/{app}/requirement.md
/rd:verify-requirement 契约确认
/rd:apply 代码实现
/rd:validate 五状态对账 IMPLEMENTATION-CHECK.md + CONTINUE-PROMPT.md
/rd:code-review 代码审查 REVIEW.md
/rd:release-plan 发布计划
/rd:backfill 知识回补 KNOWLEDGE-BACKFILL.md → candidates
/rd:extract-routing 源码锚点提取适配器(外置) knowledge/candidate/anchors-*.md 草稿
/rd:backfill-auto 回补生成器适配器(外置) wiki 候选(engine=rd-backfill-auto)

通用协议规则

每条命令遵循以下约定:

  1. 先读规则:执行前先读 knowledge/ROUTING.md 定位相关知识,按渐进式加载层级读取
  2. 何时澄清:遇到歧义/缺失/冲突时暂停,产出 clarification,等人工确认后继续
  3. 何时停止:门禁未通过(verify-prd/verify-requirement/validate)时停止,不自动绕过
  4. 产物写哪:所有产物落盘到 .specs/<change-id>/
  5. 需人工确认:上表"人工确认=是"的命令,产出后暂停等确认
  6. fail-fast:能在早期阶段暴露的问题不拖到后期

与 rd-loop preset 的关系

  • 本协议包是命令协议层(定义 /rd:* 怎么工作)
  • rd-loop preset 是 RD 过程资产层(定义阶段/工件/门禁)
  • knowledge recipe 是知识资产层(定义五层目录/ROUTING/回补)
  • 三者共同构成三层资产 MVP 闭环

分发方式

rd-protocol 作为独立可发布的 skill 包分发(B2):

  • 发布物:distrib/rd-protocol-<version>.zipnode scripts/package-rd-protocol.mjs 生成);
  • 安装:经 OpenSunstar Skills 管理界面「从 ZIP 安装」/仓库安装,或手工将本目录放入 ~/.agents/skills/rd-protocol/
  • 安装后经 skills SSOT(~/.OpenSunstar/skills/)同步到各目标 CLI,并由 managed 标记 + agent-context 桥向 AGENTS.md 注入读取指引。

约束

  • 本协议是 Markdown 资产,不含可执行代码(C2 约束)
  • 命令由外部 CLI 执行,OpenSunstar 不持有运行时(C1 约束)
  • 不依赖额外基础设施,纯文件协议(C3 约束)

Read the full file on GitHub · 69 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 69 lines · 61 tokens per session scan A 7b4712e8cce4

Subscribe to this mod's changes

rd-protocol is a skill published in the GitHub repository alisunstar/OpenSunstar (40 stars, last pushed 20d ago), licensed Apache-2.0. It adds 61 tokens to every session and 1,040 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.