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.
npx skills add RobinNorberg/oh-my-copilot --skill critiquegit clone --depth 1 https://github.com/RobinNorberg/oh-my-copilotWrote 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/skills/robinnorberg/oh-my-copilot/critique)<a href="https://agentmods.dev/skills/robinnorberg/oh-my-copilot/critique"><img src="https://agentmods.dev/badge/skills/robinnorberg/oh-my-copilot/critique/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/skills/robinnorberg/oh-my-copilot/critique"><img src="https://agentmods.dev/badge/skills/robinnorberg/oh-my-copilot/critique.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.00014 | $0.01466 |
| Opus 5 | $0.00007 | $0.00733 |
| Sonnet 5 | $0.00003 | $0.00293 |
| Haiku 4.5 | $0.00001 | $0.00147 |
Grade A, and why
critique scanned grade A with 1 finding 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 6d 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
node -e "const{spawnSync}=require('node:child_process');for(const base of ['origin/main','origin/master']){const r=spawnSync('git',['log',base+'..HEAD','--oneline'],{encoding:'utf8'});if(r.status===0){process.stdout.writ How it starts
The opening of the file, as written. The whole thing — 139 lines — stays where its author put it; the contents beside it link to each section on GitHub.
<Use_When>
- Before pushing commits: "critique my changes", "review before push",
/critique - When you want a second opinion on uncommitted or unpushed work
- As a pre-PR quality gate
- When Claude has been writing code and you want an independent check </Use_When>
<Do_Not_Use_When>
- Reviewing a PR that's already pushed — use
/revieworcode-revieweragent instead - Deep multi-pass review needed — use
/deep-reviewinstead - Only want security review — use
security-revieweragent directly </Do_Not_Use_When>
<Why_This_Exists> Claude writes code confidently. Too confidently. Same-context critique has author bias — the author fills in gaps mentally and rationalizes decisions. An independent subagent only sees the artifact and the codebase, catching flaws the author is blind to. This is the last line of defense before code reaches the remote. </Why_This_Exists>
<Execution_Policy>
- The devils-advocate agent MUST run as an independent subagent (Task), never inline — this prevents author bias
- Agent is read-only (Write/Edit blocked)
- Agent uses opus model for thoroughness (user can override via config)
- Results are presented to the user with a clear PUSH / FIX FIRST recommendation </Execution_Policy>
-
Gather context (run in parallel):
- Commit log:
git log <range> --format="%h %s" - Changed files summary:
git diff <range> --stat - Full diff:
git diff <range> - If the full diff exceeds ~3000 lines, use
git diff <range> --statplus targetedgit diff <range> -- <file>for the most critical files (prioritize: security-sensitive, core logic, new files)
- Commit log:
-
Spawn independent devils-advocate agent:
Task(subagent_type="oh-my-copilot:devils-advocate", model="opus", name="critique", prompt=" INDEPENDENT PRE-PUSH CRITIQUE Review the following unpushed commits for flaws, suboptimal code, insufficient implementation, faults, and broken behavior. You are an independent reviewer — the author cannot see your investigation process, only your final report. ## Commits [paste commit log here] ## Changed Files [paste diff stat here] ## Full Diff [paste diff here] Produce a structured Pre-Push Critique report with PASS/FAIL for each criterion, file:line citations and proposed fixes for every FAIL, and a clear PUSH or FIX FIRST recommendation. ") -
Present results: Display the structured critique report to the user exactly as returned by the agent.
-
Ask the user: Based on the recommendation:
- If PUSH: "The critique found no blocking issues. Proceed with push?"
- If FIX FIRST: "The critique found issues that should be fixed before pushing. Would you like to address them or push anyway?"
<Tool_Usage>
- Use Bash with
git logandgit diffto gather commit and diff data - Use
Task(subagent_type="oh-my-copilot:devils-advocate", ...)to spawn the independent reviewer - Do NOT run the critique inline — it MUST be a separate subagent for independence </Tool_Usage>
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.
- 6d ago Changed · +2 lines 42d079256e59
- 10d ago First seen · 137 lines · 14 tokens per session scan A d24447c74d75
critique is a skill published in the GitHub repository RobinNorberg/oh-my-copilot (5 stars, last pushed 3d ago), licensed MIT. It adds 14 tokens to every session and 1,466 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
work-unit-commits
Plan commits as reviewable work units. Trigger: implementation, commit splitting, chained PRs, or keeping tests and docs with code.
pr-review
Address feedback left on a GitHub pull request: fetch unresolved review threads, make agreed Elixir/Phoenix code fixes, reply, and resolve. Use for a PR URL/number or reviewer comments. NOT for pre-PR review, findings triage, or CI monitoring.
phx-pr-review
Address feedback left on a GitHub pull request: fetch unresolved review threads, make agreed Elixir/Phoenix code fixes, reply, and resolve. Use for a PR URL/number or reviewer comments. NOT for pre-PR review, findings triage, or CI monitoring.
pr-threshold
Track commit accumulation and trigger PR when thresholds crossed.
commit-message
Reviews working-tree changes, then drafts a Conventional Commits title/body and states the semantic-release version bump a single such commit would imply. Also notes which defensive-code categories were touched. Use when the user wants to commit recent work, prepare a Conventional Commits message, or asks for…
github-commenting
How to post clean, rich, deduplicated GitHub PR review comments — suggestion blocks, multi-line anchors, markers, formatting rules. Load before posting or fixing any PR comment.