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ファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 2個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    sno-aiがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Cos Review」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

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

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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を有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にCos Reviewを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Cos Reviewは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じ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.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

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.

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を読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Cos Reviewを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Cos Reviewで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもCos Reviewを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Cos Review」は無料ですか?

はい。sno-aiがApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇