Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计通过

plan-protocol计划协议

Agent Skill

plan-protocol 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

235

周安装

10

GitHub Stars

380

下载量

82
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:plan-protocol(计划协议)
来源仓库:https://github.com/kdcokenny/opencode-workspace
仓库路径:skills/plan-protocol
安装命令:
npx skills add https://github.com/kdcokenny/opencode-workspace --skill plan-protocol
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/kdcokenny/opencode-workspace --skill plan-protocol

简介

plan-protocol 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 它可辅助分析代码结构、识别复杂度热点或推荐简化路径。
  • 通过 npx skills add 命令从指定仓库安装,具体用法请参考原始 README。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Plan Protocol

Load this skill when creating or updating implementation plans.

TL;DR Checklist

When creating or updating a plan, ensure:

  • YAML frontmatter with status, phase, updated
  • ## Goal section (one sentence)
  • ## Context & Decisions table with citations (ref:delegation-id)
  • Phases with status markers: [COMPLETE], [IN PROGRESS], [PENDING]
  • Tasks with hierarchical numbering (1.1, 1.2, 2.1)
  • Only ONE task marked ← CURRENT
  • Citations for all research-based decisions

When to Use

  1. Starting a multi-step implementation
  2. After receiving a complex user request
  3. When tracking progress across phases
  4. After research that informs architectural decisions

When NOT to Use

  1. Simple one-off tasks → use built-in todos instead
  2. Pure research/exploration → use delegations only
  3. Quick fixes that don't need tracking
  4. Single-file changes with no dependencies

Plan Format

Use plan_save with this exact markdown format:

---
status: STATUS
phase: PHASE_NUMBER
updated: YYYY-MM-DD
---

# Implementation Plan

## Goal
ONE_SENTENCE_DESCRIBING_OUTCOME

## Context & Decisions
| Decision | Rationale | Source |
|----------|-----------|--------|
| CHOICE | WHY | `ref:DELEGATION_ID` |

## Phase 1: NAME [STATUS_MARKER]
- [x] 1.1 Completed task
- [x] 1.2 Another completed task → `ref:DELEGATION_ID`

## Phase 2: NAME [IN PROGRESS]
- [x] 2.1 Completed task
- [ ] **2.2 Current task** ← CURRENT
- [ ] 2.3 Pending task

## Phase 3: NAME [PENDING]
- [ ] 3.1 Future task
- [ ] 3.2 Another future task

## Notes
- YYYY-MM-DD: Observation or decision `ref:DELEGATION_ID`

Frontmatter Fields

FieldValuesDescription
statusnot-started, in-progress, complete, blockedOverall plan status
phaseNumber (1, 2, 3...)Current phase number
updatedYYYY-MM-DDLast update date

Phase Status Markers

MarkerMeaning
[PENDING]Not yet started
[IN PROGRESS]Currently being worked on
[COMPLETE]Finished successfully
[BLOCKED]Waiting on dependencies

State Machine

Plan Lifecycle

not-started → in-progress → complete
                         ↘ blocked

Phase Lifecycle

[PENDING] → [IN PROGRESS] → [COMPLETE]
                         ↘ [BLOCKED]

Task Lifecycle

[ ] unchecked → [x] checked

Critical Rules

  1. Only ONE phase may be [IN PROGRESS] at any time
  2. Only ONE task may have ← CURRENT marker at any time
  3. Move ← CURRENT immediately when starting a new task
  4. Mark tasks [x] immediately after completing them

Citations & Delegations

Where Citations Come From

Citations reference delegation research. The flow is:

  1. You delegate research: delegate to researcher or explore
  2. Delegation completes with a readable ID (e.g., swift-amber-falcon)
  3. You cite that research in the plan: ref:swift-amber-falcon

When to Cite

SituationAction
Architectural decision based on researchAdd to Context & Decisions table
Task informed by researchAppend → ref:id to task line
Implementation detail from researchInline citation in Notes

How to Find Delegation IDs

  • Use delegation_list() to see all delegations
  • Use delegation_read("id") to verify content before citing

❌ NEVER

  • Make up delegation IDs
  • Cite without actually reading the delegation
  • Skip citations for research-based decisions

Examples

✅ CORRECT: Well-formed plan

---
status: in-progress
phase: 2
updated: 2026-01-02
---

# Implementation Plan

## Goal
Add JWT authentication with refresh token support

## Context & Decisions
| Decision | Rationale | Source |
|----------|-----------|--------|
| Use bcrypt (12 rounds) | Industry standard, balance of security/speed | `ref:swift-amber-falcon` |
| JWT with refresh tokens | Stateless auth, mobile-friendly | `ref:calm-jade-owl` |

## Phase 1: Research [COMPLETE]
- [x] 1.1 Research auth patterns → `ref:swift-amber-falcon`
- [x] 1.2 Evaluate token strategies → `ref:calm-jade-owl`

## Phase 2: Implementation [IN PROGRESS]
- [x] 2.1 Set up project structure
- [ ] **2.2 Add password hashing** ← CURRENT
- [ ] 2.3 Implement JWT generation

## Phase 3: Testing [PENDING]
- [ ] 3.1 Write unit tests
- [ ] 3.2 Integration tests

## Notes
- 2026-01-02: Chose bcrypt over argon2 for broader library support `ref:swift-amber-falcon`

❌ WRONG: Missing frontmatter

# Implementation Plan

## Goal
Add authentication

Error: Plan must have YAML frontmatter with status, phase, updated.

❌ WRONG: Multiple CURRENT markers

## Phase 2: Implementation [IN PROGRESS]
- [ ] **2.1 Task one** ← CURRENT
- [ ] **2.2 Task two** ← CURRENT

Error: Only one task may be marked CURRENT.

❌ WRONG: Decision without citation

## Context & Decisions
| Decision | Rationale | Source |
|----------|-----------|--------|
| Use Redis | It's fast | - |

Error: Decisions must cite research with ref:delegation-id.

❌ WRONG: Invalid phase status

## Phase 1: Research [DONE]

Error: Use [COMPLETE], not [DONE]. Valid markers: [PENDING], [IN PROGRESS], [COMPLETE], [BLOCKED].


Troubleshooting

Error MessageFix
"Missing frontmatter"Add ---\nstatus: in-progress\nphase: 1\nupdated: 2026-01-02\n--- at top
"Multiple CURRENT markers"Remove ← CURRENT from all but the active task
"Invalid citation format"Use ref:delegation-id format (e.g., ref:swift-amber-falcon)
"Missing goal"Add ## Goal section with one-sentence description
"Empty phase"Add at least one task to each phase
"Invalid phase status"Use [PENDING], [IN PROGRESS], [COMPLETE], or [BLOCKED]

Before Saving Checklist

Before calling plan_save, verify:

  • Frontmatter: Has status, phase, and updated date?
  • Goal: Is there a clear, one-sentence goal?
  • Citations: Are all research-based decisions cited with ref:id?
  • Single CURRENT: Is exactly one task marked ← CURRENT?
  • Valid markers: Do all phases use valid status markers?
  • Hierarchical IDs: Are tasks numbered correctly (1.1, 1.2, 2.1)?

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.77%
按下载量换算28

Claude

28.26%
按下载量换算23

Cursor

19%
按下载量换算16

Gemini CLI

9.25%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills