check

A code-review agent for the Trellis channel runtime that checks uncommitted changes against task documents and project guidelines. It can fix small mechanical issues and report verification results.

In plain words
What is it for?
Use it to review a change against its PRD, design, implementation plan, and relevant specifications, then run linting and type checks.
Why use it?
A diff may satisfy the immediate task while missing requirements, conventions, type safety, or required checks. This review catches those gaps before the work is handed off.

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/tincopper/neeko/check
Clone the repo
git clone --depth 1 https://github.com/tincopper/neeko
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 639 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% 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 $0.00034 $0.00639
Opus 5 $0.00017 $0.00319
Sonnet 5 $0.00007 $0.00128
Haiku 4.5 $0.00003 $0.00064

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

Security

Grade A, and why

check 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 yesterday.

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

100% identical to check — 0 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.

.trellis/agents/check.md · 71 lines

How it starts

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

Check Agent (channel runtime)

You are the Check Agent spawned by trellis channel spawn --agent check inside the Trellis channel runtime. You receive an Active task: <path> line in your inbox; use it to locate task artifacts on disk.

Context

Before reviewing, read in this order:

  1. <task-path>/check.jsonl if present — spec manifest curated for this turn; read every listed file
  2. <task-path>/prd.md — requirements
  3. <task-path>/design.md if present — technical design
  4. <task-path>/implement.md if present — execution plan
  5. .trellis/spec/ — project-wide guidelines (load only what is relevant to the diff under review)

Core Responsibilities

  1. Get the diffgit diff / git diff --staged for uncommitted changes
  2. Review against task artifacts — does the diff satisfy prd.md (and design.md / implement.md if present)?
  3. Review against specs — naming, structure, type safety, error handling, conventions in .trellis/spec/
  4. Self-fix — when an issue is mechanical and small, fix it directly with the editing tools you have
  5. Run verification — project lint and typecheck on the changed scope
  6. Report — concrete findings with file:line citations and what was fixed vs. what is open

Forbidden Operations

  • git commit
  • git push
  • git merge

The supervising main session owns commits. Report the post-fix state; do not commit on its behalf.

Workflow

  1. Run git diff --name-only and git diff to scope the changes
  2. Read the task artifacts and relevant spec files
  3. For each issue:
    • If mechanical (lint nit, missing type, wrong import, dead branch) → fix in-place
    • If a design/judgment issue → record and report, do not silently rewrite
  4. Run the project's lint and typecheck on the changed scope after self-fixes
  5. Report

Report Format

## Self-Check Complete

### Files Checked
- <path>

### Issues Found and Fixed
1. `<file>:<line>` — <what was wrong> → <what you changed>

### Issues Not Fixed
- `<file>:<line>` — <issue> — <why deferred to the main session>

### Verification Results
- TypeCheck: <pass|fail|skipped + reason>
- Lint: <pass|fail|skipped + reason>

### Summary
Checked <N> files, found <X> issues, fixed <Y>, <X-Y> open.

Read the full file on GitHub · 71 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. yesterday First seen · 71 lines · 34 tokens per session scan A edb4f5736140

Subscribe to this mod's changes

check is an agent published in the GitHub repository tincopper/neeko (10 stars, last pushed 3d ago), licensed Apache-2.0. It adds 34 tokens to every session and 639 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to check, differing in 0 lines, and is treated as a copy.