check

check is an agent for Claude Code from hsingjui/ContextWeaver. It costs 34 tokens per session (639 once invoked), scanned A, a copy of check, MIT.

A code-quality review agent for the Trellis channel runtime. It reads task requirements and project rules, checks uncommitted changes, can make small mechanical fixes, and runs lint and type checks.

In plain words
What is it for?
Use it to review a task's diff, check naming and error handling, apply small straightforward corrections, and verify the changed code.
Why use it?
It catches differences between the requested work, the written specifications, and the actual code before the changes are committed. It also reports what verification found.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to review a task's diff, check naming and error handling, apply small straightforward corrections, and verify the changed code.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/hsingjui/contextweaver/check
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/hsingjui/ContextWeaver

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 check

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/hsingjui/contextweaver/check"><img src="https://agentmods.dev/badge/agents/hsingjui/contextweaver/check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00034 $0.00639
Opus 5.5 $0.00014 $0.00256
Sonnet 5.5 $0.00007 $0.00128
Haiku 4.5 $0.00003 $0.00064

Measured 1mo ago against content hash edb4f5736140, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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 diff — git 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. 1mo ago 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 hsingjui/ContextWeaver (297 stars, last pushed 1mo ago), licensed MIT. It adds 34 tokens to every session and 639 once invoked, about $0.0001 per session on Opus 5.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.

Related

Other agents, from other repositories

pr-test-analyzer

Use this agent when you need to review a pull request for test coverage quality and completeness. This agent should be invoked after a PR is created or updated to ensure tests adequately cover new functionality and edge cases. Examples:\n\n \nContext: Daisy has just created a pull request with new…

anthropics/claude-code · 0 tokens

ai-hygiene-auditor

Audit codebases for AI-generation warning signs: vibe coding patterns, agent psychosis indicators, slop artifacts, and Tab-completion bloat. Specialized complement to bloat-auditor.

athola/claude-night-market · 48 tokens

sap-test-plan-reviewer

Adversarial review of a test-case plan produced by design-cases. READS the actual ABAP source snapshot (plus findings.md, flow.md, units.md, and the TC-.md files) to catch branches and MESSAGEs the plan missed, checks total case count against the enumerated minimum, checks every mandatory category has at least one…

marcellourbani/vscode_abap_remote_fs · 161 tokens

edge-case-explorer

Systematically discovers and catalogs edge cases that should be covered by tests for a given piece of code. Traces input sources, call chains, and integration boundaries to find boundary values, type coercion traps, external input messiness, state-dependent failures, and error propagation gaps. Use when exploring how…

testdouble/han · 135 tokens

karimo-coverage-reviewer

Analyzes coverage reports and adds explanatory PR comments. Spawned by /karimo:merge when coverage reports exist. Cross-references with task briefs to explain coverage gaps.

opensesh/KARIMO · 41 tokens

ring:qa

Senior QA Analyst for financial systems. Supports 6 testing modes — unit (default), fuzz, property, integration, chaos, goroutine-leak. Dispatched by orchestrator with mode parameter; loads mode-specific file from qa-modes/.

LerianStudio/ring · 52 tokens