code-review

code-review is a skill for Claude Code, Codex from cisco-open/ai-harness-toolkit. It costs 55 tokens per session (1,666 once invoked), scanned B, original, Apache-2.0.

A code-review workflow that detects whether changed files use TypeScript or JavaScript, Python, or Java, then sends the work through matching review checks. It combines the findings into a report and can apply safe, predictable fixes.

In plain words
What is it for?
Reviewing changes on a feature branch, checking that required companion skills exist, running language-specific review lanes, writing a report to tmp/review, and fixing deterministic issues.
Why use it?
It organizes reviews for different programming languages and reduces the need to check every issue manually or repeat the same fixes.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/cisco-open/ai-harness-toolkit/code-review
Any agent
npx skills add cisco-open/ai-harness-toolkit --skill code-review
Clone the repo
git clone --depth 1 https://github.com/cisco-open/ai-harness-toolkit

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/cisco-open/ai-harness-toolkit/code-review.svg)](https://agentmods.dev/skills/cisco-open/ai-harness-toolkit/code-review)
Your own site
<a href="https://agentmods.dev/skills/cisco-open/ai-harness-toolkit/code-review"><img src="https://agentmods.dev/badge/skills/cisco-open/ai-harness-toolkit/code-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,666 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
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 $0.00055 $0.01666
Opus 5 $0.00028 $0.00833
Sonnet 5 $0.00011 $0.00333
Haiku 4.5 $0.00006 $0.00167

Measured 4d ago against content hash 38296a7ce0af, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

code-review scanned grade B 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 4d 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.

Strips warnings and disclaimersmediumAnti-refusal

Omitting safety caveats hides risk from the user and is a common jailbreak preamble.

**If all skills are installed:** Proceed to Phase 1 without warnings.
skills/code-review/SKILL.md · 188 lines

How it starts

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

Code Review

Stack-aware code review orchestrator. Detects the tech stack from changed files, validates companion skills, dispatches parallel review lanes, synthesizes findings, runs a fix loop, and optionally reflects.

How To Use This Skill

Run this skill on a feature branch with uncommitted or committed changes. The orchestrator will:

  1. Validate that required companion skills are installed
  2. Scope the review from git diff and git status
  3. Detect stacks and route review lanes
  4. Dispatch parallel subagents with prescriptive instructions
  5. Synthesize findings into a review artifact
  6. Run a fix loop for safe deterministic fixes
  7. Optionally reflect on changes

The review artifact is written to tmp/review/<branch>-review.md.

Phase 0: Validate Companion Skills

Check that required companion skills are installed before dispatching lanes. Inspect these directories for installed skills:

  • skills/
  • .agents/skills/
  • .claude/skills/
  • .opencode/skills/
  • .cursor/skills/
  • .github/skills/

For each detected stack, load its stack reference file (stacks/<stack>.md) and check the companion skill mappings section. For each required skill:

  1. Check if it exists in any of the skill directories above
  2. If missing, record it with its apm install command

If all skills are installed: Proceed to Phase 1 without warnings.

If skills are missing: Display which skills are missing, provide apm install commands for each, and ask the user whether to:

  • Install the missing skills now and retry validation
  • Continue with native fallback for affected lanes
  • Abort the review

Phase 1: Scope Detection

Determine the review scope from changed files:

BASE_BRANCH=$(git remote show origin | sed -n '/HEAD branch/s/.*: //p')
git diff "${BASE_BRANCH:-main}"...HEAD --name-only
git status --porcelain

Combine both outputs to get the full list of changed files. Detect the base branch from origin/HEAD, falling back to main only when that cannot be resolved.

Read the full file on GitHub · 188 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 188 lines · 55 tokens per session scan B 38296a7ce0af

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository cisco-open/ai-harness-toolkit (12 stars, last pushed 8d ago), licensed Apache-2.0. It adds 55 tokens to every session and 1,666 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (strips warnings and disclaimers). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens