code-check

code-check is a skill for Claude Code from rp1-run/rp1. It costs 24 tokens per session (423 once invoked), scanned A, original, Apache-2.0.

A quick code-check workflow that runs available linters, formatting checks, tests, and coverage measurement. Linters find common code problems, while coverage measures how much code tests exercise.

In plain words
What is it for?
Use it to check supported projects, run their quality tools and tests, and produce a pass-or-fail report with coverage results.
Why use it?
It gives fast feedback during development before a change is submitted or merged. This can catch style problems and failing tests without running a longer review process.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

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

Good fit Use it to check supported projects, run their quality tools and tests, and produce a pass-or-fail report with coverage results.

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

Any agent
npx skills add rp1-run/rp1 --skill code-check
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-check

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rp1-run/rp1/code-check"><img src="https://agentmods.dev/badge/skills/rp1-run/rp1/code-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 423 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.00423
Opus 5 $0.00012 $0.00211
Sonnet 5 $0.00005 $0.00085
Haiku 4.5 $0.00002 $0.00042

Measured 2d ago against content hash e21593066858, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

code-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 2d 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.

plugins/dev/skills/code-check/SKILL.md · 57 lines

What it actually says

Code Check - Fast Code Quality Validation

Performs fast code hygiene checks during development including linters, formatters, tests, and coverage measurement. Designed for quick feedback in the development loop.

Invoke the code-checker agent:

{% dispatch_agent "rp1-dev:code-checker" %} FEATURE_ID: {FEATURE_ID} TEST_SCOPE: {TEST_SCOPE} COVERAGE_TARGET: {COVERAGE_TARGET} KB_ROOT: {kbRoot} WORK_ROOT: {workRoot} {% enddispatch_agent %} The agent will:

  • Auto-detect build tools (Rust, JS/TS, Python, Go, Java, Kotlin, Ruby)
  • Run linters (clippy, eslint, ruff, golangci-lint, checkstyle, ktlint, rubocop)
  • Run formatters check (rustfmt, prettier, black, gofmt, spotless, etc.)
  • Execute test suite with coverage measurement
  • Generate indexed report.
  • Provide quick pass/fail status
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. 2d ago First seen · 57 lines · 24 tokens per session scan A e21593066858

Subscribe to this mod's changes

code-check is a skill published in the GitHub repository rp1-run/rp1 (38 stars, last pushed 3d ago), licensed Apache-2.0. It adds 24 tokens to every session and 423 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 skills, from other repositories

api-tester

A tool for creating and checking API tests from the real API contract and implementation. An API is the agreed way that software sends requests and receives responses.

laolaoshiren/claude-code-skills-zh · 86 tokens

test-generator

A test-writing helper that creates unit or integration tests from the code's actual behavior and contracts. Unit tests check small pieces of code, while integration tests check how real components work together.

laolaoshiren/claude-code-skills-zh · 79 tokens

qa

Use when auditing test quality in any codebase — run the real suite, map coverage topology, rank untested behaviors by risk. Assess by default, write tests on request; tests are a spec, and the question is what change no test would catch.

automagik-dev/genie · 53 tokens

acceptance-test-authoring

Use when creating or modifying acceptance tests, configuring cucumber-js or behave runners, writing or refactoring step definitions, linting executable Gherkin specs, choosing an acceptance stack, or implementing OpenSpec tasks that involve acceptance tests.

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

gherkin-authoring

Use when drafting, reviewing, or improving Gherkin, Cucumber scenarios, BDD acceptance criteria, feature examples, Scenario Outlines, Backgrounds, Rules, Doc Strings, Data Tables, tags, or Gherkin embedded in Markdown.

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

genie-orca-review

Independent, read-only review of a group, a wish, or a PR on Orca — SHIP / FIX-FIRST / BLOCKED with severity-tagged findings. Council and retro are this skill with a different input.

automagik-dev/genie · 50 tokens