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.
git clone --depth 1 https://github.com/gosha70/code-copilot-teamWrote 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.
[](https://agentmods.dev/commands/gosha70/code-copilot-team/origin-check)<a href="https://agentmods.dev/commands/gosha70/code-copilot-team/origin-check"><img src="https://agentmods.dev/badge/commands/gosha70/code-copilot-team/origin-check/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.
<a href="https://agentmods.dev/commands/gosha70/code-copilot-team/origin-check"><img src="https://agentmods.dev/badge/commands/gosha70/code-copilot-team/origin-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01044 |
| Opus 5.5 | $0.00000 | $0.00418 |
| Sonnet 5.5 | $0.00000 | $0.00209 |
| Haiku 4.5 | $0.00000 | $0.00104 |
Grade A, and why
origin-check 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Run the origin-confirmation circuit breaker for a feature. Validates that the working spec/plan is a faithful realisation of the user's original idea, and surfaces an interactive escalation if it has drifted.
When to use this
- Before announcing plan approval (Plan agent / human reviewer).
- As the build agent's first action, before delegating any sub-agent work.
- Before
/phase-complete(it's already wired into the post-phase checklist, but/origin-checklets you preview the verdict). - Any time you suspect a spec has drifted from the user's actual ask.
The full protocol lives in shared/skills/origin-confirmation/SKILL.md.
Argument
$ARGUMENTS — the feature_id of the spec under
specs/<feature_id>/ or specs/pitches/<feature_id>/. If empty, ask
the user which feature to check before proceeding.
Procedure
-
Check the script. Run
bash scripts/check-origin-alignment.sh "$ARGUMENTS". Capture both the exit code and the printed message. -
If exit 0 — proceed clean. Tell the user the feature is aligned and stop.
-
If exit 1 — proceed with warning. Tell the user the alignment record's confidence is medium/low and recommend re-running the alignment-check protocol with full origin sources read into context.
-
If exit 4 — there's no alignment record yet, or the latest one is older than the most recent edit to
plan.md/spec.md. Run theorigin_alignment_checkprocedure fromshared/skills/origin-confirmation/SKILL.mdend-to-end:- Read every link in the
origin:block ofspecs/<feature_id>/plan.md(issue body viagh issue view, URLs viaWebFetch, transcripts from disk). - State the origin claim verbatim (quote the
origin_claimparagraph or the strongest origin sentence). - State the working claim (one paragraph derived from the current
spec.md). - List concrete mismatches as bullets, or
none. - Render the verdict block.
- Append the block to
specs/<feature_id>/origin-alignment-<YYYY-MM-DD-HHMM>.md(one file per gate firing — append-only). - Re-run the script. Report the new exit code.
- Read every link in the
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.
- 3mo ago First seen · 93 lines · 0 tokens per session scan A e7022c6c1869
origin-check is a command published in the GitHub repository gosha70/code-copilot-team (10 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,044 tokens. 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-31.
origin-check compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| origin-checkgosha70/code-copilot-team | Command | 10 | today | MIT | A | 0 | Claude Code |
| rosetta-grilltjboudreaux/rosetta | Command | 5 | 4mo ago | MIT | A | 82 | Claude Code |
| rosetta-preflighttjboudreaux/rosetta | Command | 5 | 4mo ago | MIT | A | 44 | Claude Code |
| check-driftjonathanmr22/pact | Command | 16 | 5mo ago | MIT | A | 0 | Claude Code |
| checklistgithub/spec-kit | Command | 153k | 4d ago | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 153k | 4d ago | MIT | A | 27 | Claude Code |
| analyzegithub/spec-kit | Command | 153k | 4d ago | MIT | A | 26 | Claude Code |