opc-sw-flow

opc-sw-flow is a skill for Claude Code, Codex from linshidream/skill-hub. It costs 95 tokens per session (2,781 once invoked), scanned A, original, MIT.

A software-delivery process for turning customer requirements into a signed-off prototype, development specification, implementation, and release.

In plain words
What is it for?
Use it to coordinate the stages of a small software project, from customer needs through prototype approval and release.
Why use it?
It prevents product decisions, technical specifications, and implementation work from being mixed together or handed off without clear state.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; mentions Codex.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/validate-skill.py opc-sw-flow.

Good fit Use it to coordinate the stages of a small software project, from customer needs through prototype approval and release.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/linshidream/skill-hub
agentmods
npx agentmods add skills/linshidream/skill-hub/opc-sw-flow

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 opc-sw-flow

README.md
[![agentmods](https://agentmods.dev/badge/skills/linshidream/skill-hub/opc-sw-flow/github.svg)](https://agentmods.dev/skills/linshidream/skill-hub/opc-sw-flow)
Your own site
<a href="https://agentmods.dev/skills/linshidream/skill-hub/opc-sw-flow"><img src="https://agentmods.dev/badge/skills/linshidream/skill-hub/opc-sw-flow/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for opc-sw-flow

Your own site · 80×15
<a href="https://agentmods.dev/skills/linshidream/skill-hub/opc-sw-flow"><img src="https://agentmods.dev/badge/skills/linshidream/skill-hub/opc-sw-flow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,781 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00095 $0.02781
Opus 5.5 $0.00038 $0.01112
Sonnet 5.5 $0.00019 $0.00556
Haiku 4.5 $0.00010 $0.00278

Measured 1mo ago against content hash 18acd66576b4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

opc-sw-flow 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 1mo 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.

skills/dev/opc-sw-flow/SKILL.md · 174 lines

How it starts

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

OPC Software Flow

目标

opc-sw-flow 是软件交付 OPC 的顶层编排协议。它不替代 product-lifecycle、dev-spec 或 dev-lifecycle,而是显式持有 engagement 工作区与一个或多个代码项目之间的映射,按阶段推进:

P1 product-lifecycle -> P2 dev-spec -> P3 dev-lifecycle -> released

核心判断:

  • product 侧止于客户签字冻结的演示物和人话需求,不产出 spec。
  • dev-spec 是 product 与 dev 的桥接 skill,但归属 dev 侧;scope 由代码项目根的 .dev-flow.yml 管。
  • dev-lifecycle 继续按既有协议消费 .dev-flow-state.json,不由本 skill 改写。
  • product 工作区和 dev 代码项目默认解耦;跨文件夹交接靠 .opc-sw-flow-state.json 显式映射和显式材料路径完成。

本 skill 是 protocol,不是控制器:它定义 phase、状态契约、转移规则和跨文件夹映射,具体执行由当前 agent 按可用工具完成。

opc-sw-flow 是 opc-<domain>-flow 家族的软件域成员。未来内容、咨询等业务域可以新增并列顶层编排,不需要改名或复用软开域协议。

使用场景

启动:

  • "接了个活:{客户/项目名}"
  • "启动 OPC 流程"
  • "跑一遍软开全流程"

恢复:

  • "继续 OPC 流程"
  • "接着上次的活"
  • 读取 .opc-sw-flow-state.json,从中断的 phase 继续

双重定位

  • opc 模式:一人跑全链,phase 尽量连续推进。
  • team 模式:允许停在 product 签字、dev spec review 或代码 review 等人控交接点。

状态文件

在 engagement 工作区根维护 .opc-sw-flow-state.json,最小 schema 见仓库级 schemas/opc-sw-flow-state.schema.json。

关键字段:

字段 含义
current_phase 顶层阶段,取值见下文 phase
mode opc 或 team;决定 product 侧演示物档位
product_workspace product 工作区路径,通常就是 engagement 根
dev_projects 代码项目 map,支持一个 engagement 对多个项目
handoff.requirements_doc_path product-lifecycle 输出的 需求签字记录.md 路径
handoff.prototype_path product-lifecycle 输出的演示原型目录路径
handoff.design_md product-lifecycle 输出的 DESIGN.md 路径(可选;P2 复制到各 dev 项目根)。注:上游 product-lifecycle state 字段名为 design_md_path,写入本字段时需做字段名转换(或用兼容别名 handoff.design_md_path,见下文)

各 dev 代码项目仍在自身根目录维护 .dev-flow.yml、.dev-flow-state.json 和 docs/specs/。

dev_projects 写入时优先使用对象值:

{
  "frontend-react": {
    "root": "/repo/crm-web",
    "kind": "frontend-react",
    "status": "pending"
  }
}

读取旧状态或临时状态时,也允许 "frontend-react": "/repo/crm-web" 这种简写;继续写回时应规范化为对象。handoff.requirements_doc 和 handoff.prototype_dir 是兼容别名;handoff.design_md_path 是 handoff.design_md 的兼容别名(对齐上游 product-lifecycle 的 design_md_path 字段名,避免映射时丢路径);新状态使用 requirements_doc_path、prototype_path 和 design_md。

Read the full file on GitHub · 174 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 174 lines · 95 tokens per session scan A 18acd66576b4

Subscribe to this mod's changes

opc-sw-flow is a skill published in the GitHub repository linshidream/skill-hub (20 stars, last pushed 1mo ago), licensed MIT. It adds 95 tokens to every session and 2,781 once invoked, about $0.0004 per session on Opus 5.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-09-15.

Related

Other skills, from other repositories

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens