cop-review

cop-review is a command for Claude Code from fmflurry/harness-manifesto. It costs 0 tokens per session (1,195 once invoked), scanned A, original, MIT.

A pre-merge review of the current branch against a target branch, with checks tailored to detected Angular/TypeScript or .NET projects. It can also run the project's type-checking and lint tools.

In plain words
What is it for?
Use it to review a pull request, limit the review to selected areas, or skip tool execution for a static review.
Why use it?
It helps find review issues and tool failures before a branch is merged, with either concise findings or teaching-oriented explanations.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: reads .claude/ paths; mentions AGENTS.md.

Good fit Use it to review a pull request, limit the review to selected areas, or skip tool execution for a static review.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/fmflurry/harness-manifesto/cop-review
Install

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.

Clone the repo
git clone --depth 1 https://github.com/fmflurry/harness-manifesto

Made for: Claude Code.

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 cop-review

README.md
[![agentmods](https://agentmods.dev/badge/commands/fmflurry/harness-manifesto/cop-review/github.svg)](https://agentmods.dev/commands/fmflurry/harness-manifesto/cop-review)
Your own site
<a href="https://agentmods.dev/commands/fmflurry/harness-manifesto/cop-review"><img src="https://agentmods.dev/badge/commands/fmflurry/harness-manifesto/cop-review/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 cop-review

Your own site · 80×15
<a href="https://agentmods.dev/commands/fmflurry/harness-manifesto/cop-review"><img src="https://agentmods.dev/badge/commands/fmflurry/harness-manifesto/cop-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,195 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.00000 $0.01195
Opus 5.5 $0.00000 $0.00478
Sonnet 5.5 $0.00000 $0.00239
Haiku 4.5 $0.00000 $0.00120

Measured 15d ago against content hash 2ae268e00bfd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cop-review 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 15d 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.

.claude/commands/cop-review.md · 87 lines

How it starts

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

/cop-review — Pre-Merge Review

Review the current branch against a target branch before merging. Stack-aware: code-reviewer loads the matching cop skill based on the detected project type. Loads AGENTS.md from cwd. Runs tooling checks. Emits tiered report.

Usage

/cop-review <target-branch> [--level=junior|senior] [--scope=...] [--no-tools]

Arguments

  • <target-branch> (required) — the branch the PR will merge into (e.g. main, develop, release/2026.05).
  • --level=junior — verbose teaching mode with rationale + doc links for every finding.
  • --level=senior (default) — terse one-liners.
  • --scope=... — limit to a subset of checklists. Comma list. Defaults to all; on .NET, ddd is auto-enabled when the diff touches domain files.
  • --no-tools — skip tooling checks and produce static review only (faster).

Stack detection & skill loading

Before loading a skill, detect the project stack by checking these signals in cwd (search recursively):

Signal Stack Skill to load Tooling
angular.json present Angular + TypeScript angular-cop npx tsc --noEmit + npm run lint
*.csproj / *.sln / *.slnx / global.json present .NET dotnet-cop dotnet build --nologo -clp:ErrorsOnly + dotnet format --verify-no-changes

If BOTH are present (rare monorepo), check which language the diff files are in (.ts/.html → angular-cop; .cs/.csproj → dotnet-cop). If still ambiguous, default to angular-cop and note the ambiguity in the report header.

code-reviewer executes this command directly and loads the applicable skill(s) itself. Never route through the angular-cop/dotnet-cop agents or conductor.

Domain-diff default scope (.NET)

When the .NET diff touches domain files — paths under **/*.Domain/**, **/Domain/**, or **/Core/** — add ddd to the effective scope automatically, without waiting for an explicit --scope=ddd. The dotnet-cop skill then loads dotnet-ddd (review-checklist.md) for domain-layer findings. --scope=ddd still forces DDD checks when no domain file is detected.

Read the full file on GitHub · 87 lines

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. 15d ago First seen · 87 lines · 0 tokens per session scan A 2ae268e00bfd

Subscribe to this mod's changes

cop-review is a command published in the GitHub repository fmflurry/harness-manifesto (173 stars, last pushed 11d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,195 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-11-15.

Related

cop-review compared with commands from other repositories

cop-review next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cop-reviewfmflurry/harness-manifestoCommand17311d agoMITA0Claude Code
review-branchdamusix/atomic-claudeCommand117yesterdayMITA35Claude Code
diff-reviewcoco-research/cocoCommand323yesterdayApache-2.0A11Claude Code
spec-trace-requirementsrjmurillo/ai-agentsCommand50todayApache-2.0A0GitHub Copilot
merge-conflict-analysisrjmurillo/ai-agentsCommand50todayApache-2.0A0GitHub Copilot
initazrtydxb/procoderCommand21221d agoApache-2.0A16Claude Code
refactorRchGrav/claudeboxCommand1.2k2mo agoMITA9Claude Code