r3bl-open-core: Skill for Claude Code

.agents/skills/check-code-quality/SKILL.md

check-code-quality is a skill for Claude Code, Codex from r3bl-org/r3bl-open-core. It costs 31 tokens per session (3,565 once invoked), scanned A, original, Apache-2.0.

A Rust code-quality checklist and command guide for checking whether code compiles, follows common style rules, has documentation, and passes tests.

In plain words
What is it for?
Use it to run type checks, builds, linting, unit tests, documentation tests, and documentation generation.
Why use it?
It gathers the checks needed after code changes or before commits and pull requests, reducing the chance of shipping broken or poorly checked code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; installed under .agents/ (shared by several agents).

This is r3bl-org/r3bl-open-core's own configuration. It tells Claude Code and Codex how to work on r3bl-open-core itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything r3bl-open-core configures →

Reuse

Borrowing it

Nothing to install: this file belongs to r3bl-org/r3bl-open-core. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/r3bl-org/r3bl-open-core/main/.agents/skills/check-code-quality/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/r3bl-org/r3bl-open-core

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/r3bl-org/r3bl-open-core/check-code-quality.svg)](https://agentmods.dev/skills/r3bl-org/r3bl-open-core/check-code-quality)
Your own site
<a href="https://agentmods.dev/skills/r3bl-org/r3bl-open-core/check-code-quality"><img src="https://agentmods.dev/badge/skills/r3bl-org/r3bl-open-core/check-code-quality.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,565 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00031 $0.03565
Opus 5 $0.00015 $0.01783
Sonnet 5 $0.00006 $0.00713
Haiku 4.5 $0.00003 $0.00357

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

Security

Grade A, and why

check-code-quality 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.

.agents/skills/check-code-quality/SKILL.md · 307 lines

How it starts

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

Rust Code Quality Checks

When to Use

  • After completing significant code changes
  • Before creating commits
  • Before creating pull requests
  • When user says "check code quality", "run quality checks", "make sure code is good", etc.

Non-Blocking Execution via Subagents

Long-running verification commands (such as ./check.fish --test, ./check.fish --doc, ./check.fish --quick-doc, and ./check.fish --full) can take multiple minutes. To keep the primary conversation responsive and unblocked:

  1. Fast Synchronous Checks: Lightweight checks like ./check.fish --check (fast typecheck) and ./check.fish --fmt take only a few seconds and can run directly in the conversation.
  2. Long-Running Checks via Subagent: Delegate time-consuming checks to a background subagent (e.g., invoke_subagent with TypeName: "self").
  3. Continuous Collaboration: While the subagent runs tests or builds docs in the background, the primary agent remains completely free to converse, review diffs, answer questions, or plan next steps with the user.

Run the comprehensive check script which handles everything automatically:

./check.fish --full

This runs all checks in order: typecheck → build → clippy → tests → doctests → docs

Benefits of using check.fish --full:

  • ICE recovery: Automatically cleans cache and retries on Internal Compiler Errors
  • Toolchain escalation: If ICE persists, escalates to rust-toolchain-update.fish to find a stable nightly
  • Config change detection: Auto-cleans stale artifacts when Cargo.toml or toolchain changes
  • Performance optimized: Uses tmpfs, ionice, and parallel jobs for speed

Other check.fish Commands

For granular control, use individual commands:

Command What it runs
./check.fish --check cargo check (fast typecheck)
./check.fish --build cargo build (compile production)
./check.fish --clippy cargo clippy --all-targets (linting)
./check.fish --fmt cargo fmt + cargo rustdoc-fmt on git-changed files
./check.fish --test cargo test + doctests
./check.fish --doc cargo doc --no-deps (quick docs)
./check.fish --quick-doc cargo doc --no-deps (fastest, no staging/sync)
./check.fish --full All of the above + lychee link rot check

Read the full file on GitHub · 307 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 Changed · +15 lines 459e76a26bfd
  2. 7d ago First seen · 292 lines · 31 tokens per session scan A 0812b12cd480

Subscribe to this mod's changes

check-code-quality is a skill published in the GitHub repository r3bl-org/r3bl-open-core (483 stars, last pushed yesterday), licensed Apache-2.0. It adds 31 tokens to every session and 3,565 once invoked, about $0.0002 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-08-30.