cr

cr is a skill for Claude Code, Codex from ZhangShenao/harness9. It costs 37 tokens per session (1,232 once invoked), scanned A, original, MIT.

A read-only review of code that has been added or changed in a Git working directory. It checks correctness, security, maintainability, performance, tests, dependencies, and sensitive files.

In plain words
What is it for?
Use it to inspect staged and unstaged changes, identify issues by severity and file location, and decide whether the code is ready to commit.
Why use it?
It helps find defects and security risks before changes are committed. It also separates urgent problems from optional improvements.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inspect staged and unstaged changes, identify issues by severity and file location, and decide whether the code is ready to commit.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zhangshenao/harness9/cr
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.

Any agent
npx skills add ZhangShenao/harness9 --skill cr
Clone the repo
git clone --depth 1 https://github.com/ZhangShenao/harness9

Made for: Claude Code, Codex.

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 cr

README.md
[![agentmods](https://agentmods.dev/badge/skills/zhangshenao/harness9/cr/github.svg)](https://agentmods.dev/skills/zhangshenao/harness9/cr)
Your own site
<a href="https://agentmods.dev/skills/zhangshenao/harness9/cr"><img src="https://agentmods.dev/badge/skills/zhangshenao/harness9/cr/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 cr

Your own site · 80×15
<a href="https://agentmods.dev/skills/zhangshenao/harness9/cr"><img src="https://agentmods.dev/badge/skills/zhangshenao/harness9/cr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,232 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00037 $0.01232
Opus 5.5 $0.00015 $0.00493
Sonnet 5.5 $0.00007 $0.00246
Haiku 4.5 $0.00004 $0.00123

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

Security

Grade A, and why

cr 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 14d 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.

.dsh/skills/cr/SKILL.md · 122 lines

How it starts

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

Review Working Tree

DSH 斜杠命令:输入 /cr 会把本技能全文注入当前回合,/cr 之后的文本作为参数;模型也可按描述自动加载。

Overview

Perform a static review of every staged, unstaged, and untracked change without changing repository state or executing project code. A request for quick approval may shorten prose, never the review.

Read-Only Contract

Start with status, before reading any diff:

git status --short

Classify paths before content inspection. Treat these as sensitive from the path alone:

  • .env and .env.*;
  • *.pem, *.key, *.p12, *.pfx, id_rsa, and id_ed25519;
  • names containing credential, secret, or token.

Mark every such path Critical without reading its contents. Never open, hash, grep, print, or include it in a content diff. Reference it as path:1 and state that the location is path-based. Redact values.

Run both diffs only after excluding every sensitive path:

git diff -- . ':(exclude)<sensitive-path>'
git diff --cached -- . ':(exclude)<sensitive-path>'

Repeat the exclusion pathspec for each sensitive path; with none, run plain git diff and git diff --cached. Inspect only non-sensitive untracked files. For other potentially sensitive configuration, default to metadata/path-only review. Inspect targeted content only when the method guarantees output contains field names and line numbers but no values.

Never use patch-editing tools; never edit, create, delete, format, stage, commit, or mutate files or Git state.

This Skill is static review only. Do not execute project code, tests, builds, scripts, Git hooks, package managers, generators, or commands with possible writes, network access, or external side effects in the current checkout. Dynamic verification requires separate user authorization and an isolated copy or sandbox outside /cr; report it as not run.

Review Dimensions

Review each changed file and its relevant callers/tests:

Dimension Check
Correctness Logic, boundary conditions, nil/type errors, error handling
Security SQL/XSS/command injection, unsafe defaults, secret exposure
Maintainability Responsibilities, naming, duplication, needless complexity
Performance N+1 work, unnecessary loops or large copies
Test coverage Critical paths, failure cases, regression risk
Dependency safety Necessity, provenance, and locked versions

Read the full file on GitHub · 122 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. 14d ago Changed · +52 lines · +1 tokens per session 03045364e561
  2. 3mo ago First seen · 70 lines · 36 tokens per session scan A b3bfacb251f9

Subscribe to this mod's changes

cr is a skill published in the GitHub repository ZhangShenao/harness9 (166 stars, last pushed yesterday), licensed MIT. It adds 37 tokens to every session and 1,232 once invoked, about $0.0001 per session on Opus 5.5. 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-30.

Related

cr compared with skills from other repositories

cr next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
crZhangShenao/harness9Skill166yesterdayMITA37Claude Code, Codex
autoreviewopenclaw/clawhubSkill9.6kyesterdayMITA17Claude Code, Codex
omh-code-reviewrlaope/oh-my-hermesSkill6.4kyesterdayMITA18Claude Code
agent-teams-simplify-and-hardenLeoYeAI/openclaw-master-skillsSkill2.2k2d agoMITA115Claude Code, Codex
asplos-writing-stylebrycewang-stanford/Awesome-Journal-SkillsSkill1.5k4d agoMITA65Claude Code
revdiff-planumputun/revdiffSkill978yesterdayMITA84Claude Code
re0-mergeLilMGenius/paperthinSkill1.5kyesterdayMITA51Claude Code, Codex