Cos Review 标志

Cos Review

组织
sno-ai
cos-review

Review PL self-approvals, estimates, board drift, and close quality after a declared night shift. Loaded ONLY by the cos core via its routing table; NEVER auto-load from context or invoke directly.

Add to TypingMind

概览

发布者sno-ai
代码仓库sno-station-skills
技能名称cos-review
星标数
604
复刻数
415
附带文件
2
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 2 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 sno-ai 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Cos Review AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/sno-ai/sno-station-skills/tree/main/skills/T-delegation-and-work-orders/cos/skills/cos-review
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/sno-ai/sno-station-skills.git /tmp/sno-station-skills
mkdir -p .claude/skills
cp -r /tmp/sno-station-skills/skills/T-delegation-and-work-orders/cos/skills/cos-review .claude/skills/cos-review
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Cos Review,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Cos Review。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Cos Review 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

COS — batch review

Apply the COS core's finite development budget and affected-test scope. Estimate setup, execution, and reporting from available prior runtimes; do not add estimation machinery or preflight. Full suites and new security checks need the owner's specific approval, never COS approval. Missing auxiliary records do not stop functional work.

Before running these commands, set PL_SKILL_DIR to the absolute directory of the installed pl skill, in the same Bash call.

Loaded when the owner returns from a declared night shift, or after a batch of closes lands.

Exclusive authority of this overlay: issuing the doubt list that reaches the owner. Nothing else in the COS tree may put a "this may be wrong" item in front of them.

This is one batch pass, never per-decision interrupts, run when the owner returns from a declared night shift. Do the approval pass once, as one batch when the owner returns; then whatever you cannot approve, or think has a problem, goes to the owner to confirm together.

Why a batch review is safe at all

Because everything done during the night shift stayed revertable. Treat "a revert path exists" as a hard precondition, not a nice-to-have — unpushed commits, commits that record checksums, checksum files, preserved copies of replaced work.

If a night decision left no revert path, that is itself a doubt-list item regardless of whether the decision looks correct.

Pass 1 — validity of what the PLs self-approved

Do not rubber-stamp PL prose. Re-derive each self-approval and classify it by the four classes in the cos core, §What may settle a decision — evidence-class, ruling-derived, delegated band, value-class — with the bands and owner-only list read from ~/.config/sno/decision-rights.md, validating each exactly as that table specifies (open the cited evidence; a citation that does not resolve, or a ruling with a surviving second reading, converts the item to the doubt list; a value-class item goes there directly). The table lives in the core because it governs live dispositions as much as this batch pass; this pass is its re-audit application. While classifying, also re-run the circuit-breaker count (core, §The circuit breaker; attempt-gate.sh count --slug <slug> --scan <card directory> per recurring problem): three or more same-shape attempts at one problem in the night's cards is a breaker miss — and so is a recurring problem carded with no attempt: tag at all — and it goes on the doubt list even when the final attempt worked. Also re-audit every slow-ruling: record from the shift (core, §Fast thinking, slow thinking): its QUESTION line carries the original question and the one actually answered — when the two differ and the record answered the substitute, that is a substitution, and it goes on the doubt list like any invalid self-approval.

Feed the decision-rights file. Record in ~/.local/state/cos/LEARNING.md, one line each with numbers: every time the owner overturns something decided alone (the decision and the file row it came under), and each kind of queued item the owner keeps approving. This pass only records; cos-evolve turns repeats into proposals for the file.

Output: an approved list and a doubt list. The doubt list goes to the owner with grounded background per the core's iron rule 3 — which repo, which charter filename, what was decided, what makes it doubtful, and what changes if they rule either way.

Pass 2 — close quality, against the four failure modes

Compare the close with available open-board records to catch omitted work. Use the recorded board_before revision when it exists; when it is absent or unreadable, report which comparison could not be made rather than inventing a historical board state. Keep actual omitted deliverables distinct from a missing record. Missing board metadata does not reject the close or skip the functional checks below. Report remaining work as carried, awaiting a named decision, or completed from available evidence; dropping owner-requested work still requires the owner's instruction.

Then the taxonomy. These are the four ways a night goes wrong, and three of them look green from inside:

  1. Under-delivery. Read each charter's Proof table and success checks (run sno deliver-proof check <charter> when installed; read its output, not only its exit status) and diff the checks and deliverables against what actually landed. "Tests green" is not the check; the charter's numbered success checks are. A close that quietly dropped an item is the most common one.
  2. Scope inflation. Diff the touched paths against the charter's fence. Files outside it need a justification in the close record, not an explanation invented now.
  3. No clean stop. Ask first whether the charter is finished, not whether the journey is. Charter finished → the window should be disposed, the callsign released, and the audit thread free of dangling questions; a card arriving after that seal is lost forever. Charter still open → a live parked window is the CORRECT state and must not be flagged (core iron rule 11, one charter one agent): killing it turns the next slice into a fresh hire that re-learns what this agent already knows. What this pass actually hunts is the third case — a window left running with no charter behind it and nobody watching.
  4. Edits outside the assigned project. When the project uses git, check git log in the assigned repo and, when there is any doubt, the sibling repos the executor could reach.

Pass 3 — estimate reconciliation

Collect every estimate-versus-actual pair from the batch and add them to the calibration record kept by the agentic-time-estimate skill when installed; otherwise list the pairs in the return report's tail.

  • Over-estimation is the direction that costs schedule, and its loss is invisible. Small work whose design is already settled tends to be priced too high, and the damage is work skipped because the estimate would not fit in the shift when a much shorter run would have done it. When a small design-settled item prices above an hour, discount it and say that you did.
  • The right question is never "did it take longer than we said" but "did the verification falsify this change's specific failure modes." A pure deletion is proved by a static scan plus a typecheck; a full suite adds close to zero incremental proof and costs an hour.
  • Never answer an over-estimate by telling the estimating layer to shrink. COS tells the PL (the layer that produced the figure) not to compress its next one: an executor rushing to hit a tightened number is a worse outcome than an inflated estimate, and the calibration gap belongs to the reviewing layer, not the estimating one. One data point per journey is a signal to track, not yet a correction to apply.
  • A miss in either direction is a recorded data point, not a scolding.

Pass 3b — before any deletion-shaped alarm

A deletion-heavy commit right before a seal is usually a correction, not damage. An executor that over-produces gets the surplus correctly ordered removed, and the resulting commit looks exactly like an accident in git log --stat. A deletion-shaped alarm may not be raised until the three questions in the core's restraint list (who ordered it, is it untracking rather than deletion, are the files still on disk) have been answered from the journey's own journal and decision thread. Report a correct PL's correct intervention as an incident and you teach the layer below that doing the right thing draws fire — worse than silence.

Pass 4 — board versus disk

For every owned PL, reconcile the status documents against what is actually on disk: the routing ledger's latest closed event, missions.jsonl, the commits, the evidence files.

Anything stale enough to mislead an agent is fixed now — this is inside the pen boundary, COS edits documents directly. A stale board silently makes a correct PL wrong: an index document listing items with the wrong status gives the PL reading it a wrong picture of an entire lane.

The open board is reconciled the same way, and it is the one document that must also be well-formed. Every owned repo's TODO.md carries an OPEN heading holding everything still owed — running, queued, ranked-but-unstarted and blocked-on-the-owner alike, as state: values on one list, never as separate sections. A second list is the defect — an item under a heading that is not the one a supervisor scanning "the board" reads is invisible while technically present. Closed work leaves through todo.sh close, which records it in ai-doc/JOURNAL/routing-ledger.jsonl — the durable record, and the only one anything reads back. A board whose history outweighs its open items teaches skimming, and a skimmed board is an unread one. A repo whose board cos-roster.sh reports MISSING, NO-OPEN-SECTION, UNPARSED, TOO-LARGE or UNREADABLE gets one built in this pass by the core's §Repairing a board — all six sources (0–5, and source 0 is the pre-repair board itself, the one most easily skipped), reconciliation output retained, and coverage rather than existence as the completion test. That commit is the repo's baseline and the Pass 2 close check starts there. Who writes the board. Day to day the PL maintains its own repo's board — it moves a row's state: the same turn the work moves, and that is not a COS action. COS writes it in exactly two cases: repairing a malformed or missing board, and fixing a stale row mid-flight when a PL is about to act on it (act-reason 2, cos core §Decision discipline). Both go through "${PL_SKILL_DIR}/scripts/todo.sh", which holds the per-repo lock for the whole read-validate-write, and both are told to the PL in the same turn so two people are never quietly maintaining one file. This overlay, live supervision, and evolution can all reach the same file; one command and one lock is what stops two individually correct sessions from dropping each other's open lines. A board is never edited by hand — todo.sh check reports a hand edit, and the next write adopts it if the rows still parse and stops untouched if they do not.

Audit the binding itself. Take every close declared since the last batch, pull the repo's TODO.md as of that close from git, and record two numbers: closes that quoted a board line, and closes that did not. Report both in the return report's tail. This exists because "has anyone forgotten the board lately?" answers identically whether the mechanism works or nobody checked — a silent recurrence and a real success are the same observation. Counting makes them different. If the second number is not zero, the mechanism is not enough and the next step is evidence-backed rather than argued. Once a full week of shifts reports zero, stop counting and say so.

While sweeping, spot-check one harness document that nobody owns — a repo's instructions file, a design doc, a plan under ai-doc. Anything teaching a dead process gets fixed or archived on the spot. An unowned workflow manual teaches a dead process to every agent that reads it, for as long as it sits there.

Pass 5 — the debt registry

At every batch: review findings that were not fixed in scope must exist as rows in that repo's TECH_DEBT.md. Rows are never deleted; a cleared row is struck through with the clearing project recorded; a parked row carries "reason → re-trigger".

Core-path work is never debt. The routing test: if this is missing, does the main loop run? No → it is the next dispatch in the plan, never a ledger row. Reaching for the debt ledger to give core work "a home" is the mistake to avoid.

Assembling the return report

Written to disk progressively, throughout the shift — so it survives a session death — and delivered the moment the owner says they are back. Shape: ../cos/references/digest-template.md.

Order and sections exactly as in digest-template.md: red-button cards, conclusion, what moved, the doubt list, what is blocked on the owner, estimate reconciliation, the armed baton (quoted verbatim from the repo's TODO.md OPEN section), and the board disposition with its count check. Nothing else goes in front of them.

Everything else — what ran clean, what COS decided under its own authority, how many interventions fired — goes in a short tail. The owner reads the top; the tail is the record.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Cos Review AI 技能有什么作用?

Review PL self-approvals, estimates, board drift, and close quality after a declared night shift. Loaded ONLY by the cos core via its routing table; NEVER auto-load from context or invoke directly.

为什么在 TypingMind 中使用 Cos Review?

因为您只需安装一次,就能搭配任何模型使用。Cos Review 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Cos Review?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/sno-ai/sno-station-skills/tree/main/skills/T-delegation-and-work-orders/cos/skills/cos-review。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Cos Review?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Cos Review 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Cos Review 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Cos Review AI 技能免费吗?

是的。sno-ai 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇