code-checker

code-checker is an agent for Claude Code from rp1-run/rp1. It costs 24 tokens per session (1,616 once invoked), scanned A, original, Apache-2.0.

An agent that checks code hygiene by detecting the build system and running available linters, formatters, tests, and coverage checks. It collects the results into a numbered report.

In plain words
What is it for?
Use it after a code change to check formatting, lint errors, test results, and test coverage, then save a validation report.
Why use it?
It provides quick technical feedback without judging whether the feature is correct for the business. It gathers common quality checks in one validation pass.

Agent for Claude Code

Written for Claude Code: arguments in frontmatter. Also seen: model in frontmatter; positional $N argument.

Part of the rp1-dev plugin — 23 skills, 36 agents shipped together

Good fit Use it after a code change to check formatting, lint errors, test results, and test coverage, then save a validation report.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/rp1-run/rp1/code-checker
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/rp1-run/rp1

Made for: Claude Code.

Or install rp1-dev, the plugin that ships this one along with the rest of its 23 skills, 36 agents.

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 code-checker

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/rp1-run/rp1/code-checker"><img src="https://agentmods.dev/badge/agents/rp1-run/rp1/code-checker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 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,616 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.00024 $0.01616
Opus 5 $0.00012 $0.00808
Sonnet 5 $0.00005 $0.00323
Haiku 4.5 $0.00002 $0.00162

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

Security

Grade A, and why

code-checker 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.

plugins/dev/agents/code-checker.md · 215 lines

How it starts

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

Code Checker Agent

§ROLE: CodeChecker - validates TECHNICAL CODE QUALITY only (not feature/business logic). Fast, accurate hygiene feedback.

<feature_id>$1</feature_id> <test_scope>$2</test_scope> <coverage_target>$3</coverage_target> <report_directory>$4 (default: {WORK_ROOT}/features/{FEATURE_ID}/ if FEATURE_ID, else {WORK_ROOT}/)</report_directory> <kb_root>{{KB_ROOT from prompt}}</kb_root> <work_root>{{WORK_ROOT from prompt}}</work_root> <code_root>{{CODE_ROOT from prompt}}</code_root>

§CTX

Read {KB_ROOT}/index.md for project structure. Do NOT load additional KB files. If {KB_ROOT}/ missing → continue w/o KB.

§SOURCE

  • If CODE_ROOT is non-empty, use it as SOURCE_ROOT.
  • If CODE_ROOT is empty, fall back to git rev-parse --show-toplevel, then pwd.
  • Run config scans and quality commands from SOURCE_ROOT.
  • Use WORK_ROOT only for report output and feature artifacts.

§OBJ

Execute complete code quality validation:

  1. Detect build system
  2. Run quality checks (lint/format/test/coverage)
  3. Aggregate results
  4. Generate numbered report
  5. Output summary and validation envelope

§TOOLS

Build Systems (examples) (scan for config → extract actual commands from project):

Config Lang Test Coverage Lint Format Check
Cargo.toml Rust cargo test cargo tarpaulin cargo clippy cargo fmt --check
package.json JS/Node from scripts from scripts from scripts from scripts
pyproject.toml Python pytest pytest --cov ruff check black --check
go.mod Go go test go test -cover golangci-lint run gofmt -l
pom.xml Maven mvn test mvn jacoco:report mvn checkstyle:check mvn spotless:check
build.gradle Gradle detect gradle jacocoTestReport detect gradle spotlessCheck
Gemfile Ruby detect bundle exec rspec bundle exec rubocop -

§PROC

Planning (in <execution_plan> tags in thinking):

Read the full file on GitHub · 215 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 · 215 lines · 24 tokens per session scan A 31975a88a21f

Subscribe to this mod's changes

code-checker is an agent published in the GitHub repository rp1-run/rp1 (38 stars, last pushed 2d ago), licensed Apache-2.0. It adds 24 tokens to every session and 1,616 once invoked, about $0.0001 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-09-07.

Related

Other agents, from other repositories

senior-qa

Senior QA engineer for acceptance tests. Use for creating or modifying acceptance tests, Gherkin specs, step definitions, cucumber-js or behave runner configuration, or OpenSpec tasks involving acceptance tests. Follows the acceptance-test-authoring skill.

intent-driven-dev/intent-driven-template · 47 tokens

senior-dev

Senior developer for test-first implementation. Use for implementing features or bugfixes through strict red-green-refactor TDD. Follows the test-driven-development skill.

intent-driven-dev/intent-driven-template · 32 tokens

skill-eval-reporter

Compares repeated paired execution results using blind A/B methodology and generates a skill effectiveness report. Use when valid skill-evaluation result pairs are available.

shinpr/rashomon · 35 tokens

test-sufficiency

Review a pull request diff and judge whether the newly added code is adequately covered by tests — especially boundary conditions, error paths, and exception branches. Output a short "covered / uncovered" table with specific line-level gaps. Use this agent on PRs that add behavior. It supplements Codex / CodeRabbit…

0xmariowu/AgentLint · 78 tokens

balrog

Adversarial validation agent. Spawned by quest as the first step of its Review phase, before the conventions and code-quality reviews. Analyzes the quest diff for failure modes, writes targeted test cases, runs them, and delivers a severity-ranked findings report. Critical/High findings must be addressed before the…

justinjdev/fellowship · 70 tokens

qa

QA lens agent: probes the RUNNING product — web UI via Playwright MCP, API via curl/HTTP — through ONE assigned lens (user-flow · edge-state · honesty · contract · ux-critique) and returns STRUCTURED FINDINGS with repro steps + evidence. Observation-only: it never decides, never fixes, never edits files, never clicks…

awrshift/agent-memory-kit · 182 tokens