review

review is a command for OpenCode from juliusz-cwiakalski/agentic-delivery-os. It costs 22 tokens per session (1,503 once invoked), scanned A, a copy of review-deep, MIT.

A command that reviews a software change against its specification, implementation plan, code-quality rules, and repository rules.

In plain words
What is it for?
Use it to compare a branch with a base branch, inspect the change folder, and create follow-up work for unresolved findings.
Why use it?
It finds mismatches and quality problems before the change is considered complete. When remediation is needed, it can append another phase to the implementation plan.

Command for OpenCode

Written for OpenCode: installed under .opencode/. Also seen: agent in frontmatter; positional $N argument; mentions AGENTS.md.

Good fit Use it to compare a branch with a base branch, inspect the change folder, and create follow-up work for unresolved findings.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/juliusz-cwiakalski/agentic-delivery-os/review
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.

Clone the repo
git clone --depth 1 https://github.com/juliusz-cwiakalski/agentic-delivery-os

Made for: OpenCode.

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 review

README.md
[![agentmods](https://agentmods.dev/badge/commands/juliusz-cwiakalski/agentic-delivery-os/review/github.svg)](https://agentmods.dev/commands/juliusz-cwiakalski/agentic-delivery-os/review)
Your own site
<a href="https://agentmods.dev/commands/juliusz-cwiakalski/agentic-delivery-os/review"><img src="https://agentmods.dev/badge/commands/juliusz-cwiakalski/agentic-delivery-os/review/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 review

Your own site · 80×15
<a href="https://agentmods.dev/commands/juliusz-cwiakalski/agentic-delivery-os/review"><img src="https://agentmods.dev/badge/commands/juliusz-cwiakalski/agentic-delivery-os/review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 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,503 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.
Origin 88% copy Near-identical to another mod 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.00022 $0.01503
Opus 5 $0.00011 $0.00751
Sonnet 5 $0.00004 $0.00301
Haiku 4.5 $0.00002 $0.00150

Measured 4d ago against content hash 76527d42932d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

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

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.

Origin

This is a copy

88% identical to review-deep — 17 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.

.opencode/command/review.md · 147 lines

How it starts

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

<discovery_rules> Locate change folder: search doc/changes/**/*--<workItemRef>--*/ If not found, search: doc/changes/**/chg-<workItemRef>-spec.md Spec file: chg-<workItemRef>-spec.md; derive slug & change.type from frontmatter. Plan file: chg-<workItemRef>-plan.md Folder pattern: doc/changes/YYYY-MM/YYYY-MM-DD--<workItemRef>--<slug>/ Abort with clear error if spec OR plan missing. </discovery_rules>

<branch_resolution> changeBranch = <change.type>/<workItemRef>/<slug> headRef: directives override, else try changeBranch, fallback: current HEAD. baseBranch: directives override, else main, fallback: master. Compute merge-base and gather symmetric diff baseBranch...headRef. </branch_resolution>

<directive_parsing> Directives (case-insensitive):

  • Base branch: base=<branch> | base branch <branch> | compare vs <branch>
  • Head ref: head=<ref> | head ref <ref> | branch <ref>
  • Suppress commit trigger: no commit | commit=false
  • Dry run: dry run | preview only Unrecognized tokens ignored. </directive_parsing>

<pre_flight>

  1. Validate workItemRef format (uppercase prefix + hyphen + digits).
  2. Resolve spec; extract change.type & slug.
  3. Resolve plan; parse phases & existing remediation.
  4. Load repository rules (AGENTS.md, .ai/rules/**).
  5. Resolve branches & compute diff metadata.
  6. If dryRun: prepare preview but do NOT write. </pre_flight>

<review_method> The reviewer agent applies its full review framework:

Spec/plan compliance (local mode):

  • Scope compliance: changed files align with spec capabilities
  • Plan alignment: all tasks done, acceptance criteria have evidence
  • Plan task audit: OPEN_TASKS, DONE_BUT_UNCHECKED, CHECKED_BUT_MISSING
  • Out-of-scope detection: changes to files not in plan

Code quality heuristics (both modes):

  • Full built-in heuristic framework: correctness, security, performance, reliability, API compat, testing gaps, documentation, dependencies
  • Repository-local rules from .ai/agent/code-review-instructions.md and .ai/rules/

Ticket context (when available):

  • Acceptance criteria verification against implementation
  • Linked issue traversal for additional constraints and decisions

The reviewer loads all available context — spec, plan, ticket, repo rules, heuristics — and applies them holistically. Do not duplicate heuristic definitions here; they live in the reviewer agent prompt. </review_method>

<findings_format> [severity: major|minor|nit] <file>[:line] — <description>; fix: <action> </findings_format>

<remediation_phase> If findings exist, append new phase to plan:

### Phase X: Code Review Remediation

- Goal: Address code review findings.
- Tasks:
  - [ ] <precise fix per finding>
- Acceptance criteria:
  - Must: All fixes implemented and validated.
  - Must: Updated tests pass.
- Files and modules: <paths>
- Completion signal: docs(plan): remediate review findings for <workItemRef>

Rules:

  • X = max existing phase + 1.
  • Do NOT modify earlier phases.
  • Append revision log entry. </remediation_phase>

<commit_behavior>

Read the full file on GitHub · 147 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. 4d ago First seen · 147 lines · 22 tokens per session scan A 76527d42932d

Subscribe to this mod's changes

review is a command published in the GitHub repository juliusz-cwiakalski/agentic-delivery-os (38 stars, last pushed 2d ago), licensed MIT. It adds 22 tokens to every session and 1,503 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 88% identical to review-deep, differing in 17 lines, and is treated as a copy.