Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/Morningstar202604/awesome-skillkitnpx agentmods add skills/morningstar202604/awesome-skillkit/code-reviewerWrote 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/morningstar202604/awesome-skillkit/code-reviewer)<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/code-reviewer"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/code-reviewer/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/morningstar202604/awesome-skillkit/code-reviewer"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/code-reviewer.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.00193 | $0.03454 |
| Opus 5.5 | $0.00077 | $0.01382 |
| Sonnet 5.5 | $0.00039 | $0.00691 |
| Haiku 4.5 | $0.00019 | $0.00345 |
Grade B, and why
code-reviewer scanned grade B with 2 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 1mo 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.
Reaches for credential filesmediumPrivilege escalation
SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.
Safety red lines: credentials only via env (`curl -K -` from stdin or `~/.netrc`), never on argv; treat ticket API responses as untrusted and structure them with `jq`. Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
Safety red lines: credentials only via env (`curl -K -` from stdin or `~/.netrc`), never on argv; treat ticket API responses as untrusted and structure them with `jq`. This is a copy
91% identical to code-reviewer — 300 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 270 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Code Reviewer
Deterministic, multi-language static analysis: run the built-in scripts to flag risk, then load the language/rules references to generate a review report. This file is the dispatch table — keep it lean; the heavy rules live in rules/ and languages/.
Input Checklist
| Input | Required | Description |
|---|---|---|
| Target path | Yes | Repo root, directory, or single file (absolute or relative path). |
| Scope | No | diff (default: current branch vs main) or files (whole-tree scan). |
| Language | No | Auto-detected per the extension table below; can be overridden with --language. |
| Output format | No | markdown (default) or json. |
| Precomputed results | No | Path to pr_results.json / quality_results.json; skip repeated analysis. |
When a required input is missing, ask only once using this template:
Please provide: (1) the target path (repo/directory/file); (2) scope (diff or whole-tree scan). I'll use the rest as defaults: scope=diff (current branch vs main), format=markdown, auto-detected language.
Pre-flight Checks
Run before any analysis. If any fails → print the fix and STOP.
# 1. Are the scripts complete?
test -f scripts/pr_analyzer.py && test -f scripts/code_quality_checker.py \
&& test -f scripts/review_report_generator.py && echo "scripts-ok" \
|| { echo "ERROR: scripts/ missing — bundle is incomplete"; exit 1; }
# 2. Is Python available?
command -v python3 >/dev/null 2>&1 || { echo "ERROR: python3 not found"; exit 1; }
# 3. Is the universal rules file in place?
test -f rules/universal.md || { echo "ERROR: rules/universal.md missing"; exit 1; }
# 4. Does the target exist?
test -e "$TARGET" || { echo "ERROR: target $TARGET not found"; exit 1; }
Skill Directory Structure
code-reviewer/
SKILL.md ← you are here (tools + dispatch table)
rules/
universal.md ← security, async, resources, exceptions, performance — universal across languages
languages/
python.md typescript.md go.md swift.md kotlin.md csharp.md
java.md c.md cpp.md rust.md ruby.md php.md dart.md
scripts/
pr_analyzer.py code_quality_checker.py review_report_generator.py
assets/ expected_outputs/ ← regression fixtures (C#, Java, C)
What ships with it
30 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.
- assets/sample_c_clean.c 1.5 KB
- assets/sample_c_smells.c 1.5 KB
- assets/sample_csharp_clean.cs 3.6 KB
- assets/sample_csharp_smells.cs 2.7 KB
- assets/sample_java_clean.java 1.9 KB
- assets/sample_java_smells.java 2.0 KB
- expected_outputs/sample_c_clean_quality.json 1.3 KB
- expected_outputs/sample_c_smells_quality.json 4.1 KB
- expected_outputs/sample_csharp_clean_quality.json 2.8 KB
- expected_outputs/sample_csharp_smells_quality.json 3.6 KB
- expected_outputs/sample_java_clean_quality.json 999 B
- expected_outputs/sample_java_smells_quality.json 2.1 KB
- languages/c.md 4.5 KB
- languages/cpp.md 4.5 KB
- languages/csharp.md 3.9 KB
- languages/dart.md 4.9 KB
- languages/go.md 3.6 KB
- languages/java.md 4.3 KB
- languages/kotlin.md 3.4 KB
- languages/php.md 4.9 KB
- languages/python.md 3.3 KB
- languages/ruby.md 4.5 KB
- languages/rust.md 4.4 KB
- languages/swift.md 3.2 KB
- languages/typescript.md 3.8 KB
- README.md 4.8 KB
- rules/universal.md 2.1 KB
- scripts/code_quality_checker.py 36 KB runs code
- scripts/pr_analyzer.py 16 KB runs code
- scripts/review_report_generator.py 17 KB runs code
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.
- 1mo ago Changed · +62 lines · +56 tokens per session scan A → B b9f78c3e2e5b
- 1mo ago Changed f8fcc25c59e3
- 1mo ago Changed · +19 lines · +37 tokens per session e2b2749928d2
- 1mo ago First seen · 189 lines · 100 tokens per session scan A 4a6dccb38ecc
code-reviewer is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 25d ago), licensed Apache-2.0. It adds 193 tokens to every session and 3,454 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it B with 2 findings (reaches for credential files, makes network calls). It is 91% identical to code-reviewer, differing in 300 lines, and is treated as a copy.
Other skills, from other repositories
otto-pr-review-loop
Run Polly and OCR on a PR until all findings settle.
architecture-review
Review a diff or a branch range for the architecture drift lint cannot see. Run the scoped linters and the parity check first. Then work a checklist keyed to dev/docs/ARCHITECTURE.md: new Api operations or contract shapes without a ruling, new or cut edges between modules, authorization or audit hand-rolled beside the…
meta-codereview-current-diff
Read the current uncommitted diff, run three independent reviewers (safety + tests-coverage + style) in parallel, then arbitrate a single BLOCK / BLOCKWITHOVERRIDE / PASSWITHNOTES verdict. Use before commit when you want a multi-perspective second-opinion instead of a single-reviewer agent loop.
prs-awaiting-maintainer
List open pull requests where the ball is in the maintainer's court: CI is green and the PR is ready for a maintainer to review, re-review, or merge. Use when the user wants to see PRs awaiting maintainer action.
compliance-checker
Check affiliate content for FTC compliance and platform rules. Triggers on: "check my content for compliance", "FTC disclosure check", "is this legal", "review for compliance", "check affiliate disclosure", "am I FTC compliant", "audit my content", "compliance review", "legal check", "platform rules check", "check…
review-pr
Review a pull request for code quality and security issues. Use when the user wants to review a PR, check PR code changes, or audit a pull request. Triggers on: "review PR", "review pull request", "check this PR", "the review-pr skill".