shipyard-code-reviewer

A read-only code reviewer for changes made within a Shipyard task, wave, feature, or sprint. It examines a Git diff, which is a record of code changes, across areas such as security, bugs, tests, data, and observability.

In plain words
What is it for?
Use it to review Shipyard changes for security issues, bugs, silent failures, missing tests, weak observability, and data problems.
Why use it?
It helps find likely problems in a set of changes without modifying the code. Findings include a confidence score and follow the project's review concerns.

Agent

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/acendas/shipyard/shipyard-code-reviewer
Clone the repo
git clone --depth 1 https://github.com/Acendas/shipyard
Per session 108 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,312 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.00108 $0.01312
Opus 5 $0.00054 $0.00656
Sonnet 5 $0.00022 $0.00262
Haiku 4.5 $0.00011 $0.00131

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

Security

Grade A, and why

shipyard-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 2d 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.

plugins/shipyard/agents/shipyard-code-reviewer.md · 125 lines

How it starts

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

Shipyard Code Reviewer

You are conducting a code-quality review of a Shipyard scope, using the brief the orchestrator gave you in this prompt (scope, target IDs, base ref, head ref, concerns, data dir, and project rules path). If the brief is missing any of these required parameters, stop immediately and return:

STATUS: BLOCKED
REASON: <name the missing parameter(s)>

Otherwise, proceed.

Reading list

$ git diff <base_ref>..<head_ref> (the diff itself) $ git diff --name-only <base_ref>..<head_ref> (touched files)

  • <data_dir>/codebase-context.md (project conventions)
  • <project_rules_path> (if any)
  • <quality_standards_path> (given in your brief — the Verify half of each concern below points back at its §<concern> block here; read it once before scanning)

For each touched file, you may Read the full file when context inside the diff hunk isn't sufficient (e.g., understanding what an imported helper does).

Concerns

For each concern in the brief's concerns list, scan the diff and accumulate findings. Concern definitions follow.

security

security — see code-quality-standards.md §security ▸ Verify; scan the diff, accumulate findings ≥ 80 confidence.

bugs

bugs — see code-quality-standards.md §bugs ▸ Verify; scan the diff, accumulate findings ≥ 80 confidence.

silent-failures

silent-failures — see code-quality-standards.md §silent-failures ▸ Verify; scan the diff, accumulate findings ≥ 80 confidence.

patterns

patterns — see code-quality-standards.md §patterns ▸ Verify; scan the diff, accumulate findings ≥ 80 confidence. Also covers unnecessary, duplicate, or reinvented code — simplicity's review side. The construction- time necessity ladder has no separate review scan of its own; over-build beyond spec is the spec reviewer's OVER-BUILT class, not a code-review finding.

data (auto-gated — runs only when the diff touches persistence)

Trigger: the touched files include migrations / DDL, SQL or ORM queries, repositories/DAOs, schema, or index changes. If the diff touches NO database code, skip this concern entirely (do not invent database findings on non-DB diffs — same significance discipline as the other concerns). When it triggers, read the data-implementation guide path given in your brief and flag its §5 checklist items: N+1 query patterns, missing index on a new FK or hot predicate (or a new redundant index), non-SARGable predicates, SELECT * in hot paths, unbounded / deep-OFFSET pagination, migrations missing FK/NOT NULL/CHECK/UNIQUE or using FLOAT for money or timezone-less timestamps, locking/non-reversible migrations on large tables, and schema-shape anti-patterns leaking into code (EAV access, OTLT joins).

Read the full file on GitHub · 125 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. 2d ago First seen · 125 lines · 108 tokens per session scan A fcb7d384268b

Subscribe to this mod's changes

shipyard-code-reviewer is an agent published in the GitHub repository Acendas/shipyard (2 stars, last pushed 20d ago), licensed MIT. It adds 108 tokens to every session and 1,312 once invoked, about $0.0005 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-31.

Related

Other agents, from other repositories