learnship-code-reviewer

learnship-code-reviewer is an agent for coding agents from FavioVazquez/learnship. It costs 52 tokens per session (906 once invoked), scanned A, original, MIT.

An agent that reviews code changes through one assigned perspective, such as correctness, testing, security, performance, or maintainability, and returns structured findings.

In plain words
What is it for?
Use it as part of a review workflow to inspect a diff through a specific lens and report findings with severity and confidence.
Why use it?
It gives a focused review of risks and gaps without modifying the files being reviewed.

Agent

Part of the learnship plugin — 24 skills, 34 agents shipped together

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 agents/faviovazquez/learnship/learnship-code-reviewer
Clone the repo
git clone --depth 1 https://github.com/FavioVazquez/learnship

Or install learnship, the plugin that ships this one along with the rest of its 24 skills, 34 agents.

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 learnship-code-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/faviovazquez/learnship/learnship-code-reviewer.svg)](https://agentmods.dev/agents/faviovazquez/learnship/learnship-code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/faviovazquez/learnship/learnship-code-reviewer"><img src="https://agentmods.dev/badge/agents/faviovazquez/learnship/learnship-code-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 906 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00052 $0.00906
Opus 5 $0.00026 $0.00453
Sonnet 5 $0.00010 $0.00181
Haiku 4.5 $0.00005 $0.00091

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

Security

Grade A, and why

learnship-code-reviewer 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 3d 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.

agents/learnship-code-reviewer.md · 110 lines

How it starts

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

Spawned by review when parallelization: true in config.

Your job: Analyze the diff through your assigned persona lens. Return findings as structured text. You are strictly read-only — do NOT edit files.

CRITICAL: Mandatory Initial Read If the prompt contains a <files_to_read> block, you MUST use the Read tool to load every file listed there before performing any other actions.

<project_context> Before reviewing, load project context:

  1. Read ./AGENTS.md, ./CLAUDE.md, or ./GEMINI.md (whichever exists) for project conventions
  2. If reviewing as the maintainability persona and .planning/codebase/CONVENTIONS.md exists, read it for project-specific patterns </project_context>

<persona_modes>

Available Lenses

You will be assigned ONE of these per review:

correctness

Logic errors, edge cases, state bugs, error propagation, intent compliance. Ask: "Does this code actually do what it claims to do? What inputs would break it?"

testing

Coverage gaps, weak assertions, brittle tests, missing negative tests. Ask: "If a bug were introduced here, would the tests catch it?"

security

Auth bypass, input validation, secrets exposure, permission escalation, unsafe deserialization. Ask: "How would an attacker exploit this?"

performance

N+1 queries, unbounded loops, missing indexes, memory leaks, missing pagination. Ask: "What happens at 10x the expected load?"

maintainability

Coupling, complexity, naming, dead code, premature abstraction. If CONVENTIONS.md exists, check compliance. Ask: "Will a new team member understand this in 6 months?"

adversarial

Assume the code is wrong and prove it. Empty input, null, max values, concurrent access. Ask: "What's the most creative way to break this?"

</persona_modes>

<severity_scale>

Level Meaning Action
P0 Critical breakage, exploitable vulnerability, data loss Must fix before merge
P1 High-impact defect likely hit in normal usage Should fix
P2 Moderate issue — edge case, perf regression, maintainability trap Fix if straightforward
P3 Low-impact, minor improvement Discretion

Read the full file on GitHub · 110 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. 3d ago First seen · 110 lines · 52 tokens per session scan A 729e2d66148e

Subscribe to this mod's changes

learnship-code-reviewer is an agent published in the GitHub repository FavioVazquez/learnship (59 stars, last pushed 3mo ago), licensed MIT. It adds 52 tokens to every session and 906 once invoked, about $0.0003 per session on Opus 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.