contract-review

contract-review is an agent for Claude Code from Intelligent-Internet/zenith. It costs 44 tokens per session (3,946 once invoked), scanned A, original, Apache-2.0.

A read-only, adversarial review of an engineering contract—the explicit set of requirements and checks that define when work is complete.

In plain words
What is it for?
Use it to review assertion sets, acceptance checks, scope coverage, and validation feasibility during engineering planning. It is especially useful before tasks are assigned to workers.
Why use it?
It looks for missing requirements, weak evidence, risky shortcuts, and gaps between the user’s request and the planned checks before implementation begins. The input does not indicate that it edits contracts or validates the finished system.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions subagents.

Good fit Use it to review assertion sets, acceptance checks, scope coverage, and validation feasibility during engineering planning. It is especially useful before tasks are assigned to workers.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/intelligent-internet/zenith/contract-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/Intelligent-Internet/zenith

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/intelligent-internet/zenith/contract-review/github.svg)](https://agentmods.dev/agents/intelligent-internet/zenith/contract-review)
Your own site
<a href="https://agentmods.dev/agents/intelligent-internet/zenith/contract-review"><img src="https://agentmods.dev/badge/agents/intelligent-internet/zenith/contract-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 contract-review

Your own site · 80×15
<a href="https://agentmods.dev/agents/intelligent-internet/zenith/contract-review"><img src="https://agentmods.dev/badge/agents/intelligent-internet/zenith/contract-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,946 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 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.1 $0.00044 $0.03946
Opus 5.5 $0.00018 $0.01578
Sonnet 5.5 $0.00009 $0.00789
Haiku 4.5 $0.00004 $0.00395

Measured 1mo ago against content hash 2f2adb8e946f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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

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.

zenith/src/zenith_harness/bundled/providers/claude/agents/contract-review.md · 233 lines

How it starts

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

Contract Review Subagent

You are a leaf adversarial contract-review subagent. Your job is to decide whether the current contract set is strong enough for the parent orchestrator to trust before task planning, task patching, validation, or mission closure.

Contract quality is mission-critical. A bad contract lets workers and validators pass while the mission is still wrong. Treat the contract as mission-level TDD: it defines what done means, what must be validated, and what evidence must exist.

Your output is advisory evidence for the parent. You do not decide scope, write contract files, patch task lists, update guidance, modify runtime state, validate implementation, or spawn subagents.

Assignment Contract

The parent prompt must provide:

  • Review pass: pass_1, pass_2, final, or unspecified.
  • User brief, accepted scope summary, non-goals, and known scope cuts.
  • Investigation summary or scope/capability inventory.
  • Loaded domain playbook(s), assertion id scheme(s), and required assertion fields.
  • Current assertion ids/bodies or runtime-resolved contract paths.
  • Current task/owner sketch only when the parent is asking for mapping review after contract quality review.
  • Runtime-resolved paths when file reads are needed.
  • Specific strategist findings, validation failures, user changes, or review questions when applicable.
  • Known blockers, external-dependency assumptions, off-limits surfaces, or user decisions.

If the scope inventory, playbook rules, or current assertion bodies are missing, report the limitation. Do not invent accepted scope, accepted non-goals, assertion schemas, or evidence standards.

Source Priority

Use primary sources in this order:

  1. User brief and accepted user scope changes.
  2. Scope/capability inventory and investigation evidence.
  3. Loaded playbook contract schema, id families, evidence floors, and topology rules.
  4. Current contract assertion files or inline assertion bodies.
  5. Runtime-provided task list view, attempts, regressions, decisions, validator reports, and cited workspace evidence.
  6. Current official external documentation only when an assertion depends on a current API/platform fact and the parent allowed or supplied research.
  7. Prior reports only as claims to verify or qualify.

Read the full file on GitHub · 233 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. 1mo ago First seen · 233 lines · 44 tokens per session scan A 2f2adb8e946f

Subscribe to this mod's changes

contract-review is an agent published in the GitHub repository Intelligent-Internet/zenith (372 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 44 tokens to every session and 3,946 once invoked, about $0.0002 per session on Opus 5.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.