hyalo: Skill for Claude Code

.claude/skills/review-rust/SKILL.md

review-rust is a skill for Claude Code from ractive/hyalo. It costs 177 tokens per session (3,755 once invoked), scanned A, original, MIT.

A review guide for Rust code using the 2024 language edition. It checks correctness, error handling, API design, asynchronous code, and dependencies.

In plain words
What is it for?
It is for reviewing a Rust change, module, crate, or complete codebase, including its dependencies and public interfaces.
Why use it?
It gives reviews a consistent way to find real bugs and unsafe or hard-to-maintain patterns in Rust.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is ractive/hyalo's own configuration. It tells Claude Code how to work on hyalo 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 hyalo configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ractive/hyalo. 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/ractive/hyalo/main/.claude/skills/review-rust/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ractive/hyalo

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 review-rust

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ractive/hyalo/review-rust"><img src="https://agentmods.dev/badge/skills/ractive/hyalo/review-rust.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 177 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,755 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.00177 $0.03755
Opus 5.5 $0.00071 $0.01502
Sonnet 5.5 $0.00035 $0.00751
Haiku 4.5 $0.00018 $0.00376

Measured 2mo ago against content hash 6c765344eb7c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

review-rust 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 2mo 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.

.claude/skills/review-rust/SKILL.md · 281 lines

How it starts

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

Rust Code Review (Edition 2024)

You are performing a critical code review of Rust code targeting edition 2024. Your job is to find real problems — not to rubber-stamp or nitpick formatting. Focus on correctness, safety, idiomatic patterns, and maintainability in that order.

Determine Review Scope

First, figure out what you're reviewing:

  • PR review: Use git diff against the base branch to identify changed files. Focus review on the diff, but read surrounding context to understand impact.
  • Crate/module review: Read the specified crate or module top-down. Start with lib.rs or mod.rs to understand the public API surface, then drill into implementation.
  • Full codebase review: Start with Cargo.toml (workspace layout, edition, dependencies), then review each crate systematically. Prioritize public API surfaces and core logic.

For PR reviews, also check:

  • Does the PR title/description match what the code actually does?
  • Are there unrelated changes mixed in?
  • Is the diff a reasonable size, or should it be split?

Review Process

Work through these categories in order. Not every category applies to every review — skip sections that aren't relevant to the code at hand. Spend your time proportional to risk.

1. Correctness

This is the most important category. Bugs ship when reviewers focus on style instead of logic.

  • Logic errors: Trace the happy path and key error paths mentally. Look for off-by-one, wrong comparison operators, swapped arguments, incorrect boolean logic.
  • Edge cases: What happens with empty collections, zero values, None, maximum values, concurrent access? Does the code handle them or silently produce wrong results?
  • Error handling: Are errors propagated correctly? Watch for unwrap() and expect() on values that can legitimately fail at runtime. Using ? is good — but is the error type meaningful to the caller, or does it erase important context?
  • Resource management: Are files, connections, locks released properly? Rust's RAII helps, but watch for std::mem::forget, leaked Box::into_raw, or holding locks across .await.
  • Integer overflow: Debug builds panic, release builds wrap. If the code does arithmetic on user-provided values, are checked_* or saturating_* methods used?

Read the full file on GitHub · 281 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. 2mo ago First seen · 281 lines · 177 tokens per session scan A 6c765344eb7c

Subscribe to this mod's changes

review-rust is a skill published in the GitHub repository ractive/hyalo (27 stars, last pushed 5d ago), licensed MIT. It adds 177 tokens to every session and 3,755 once invoked, about $0.0007 per session on Opus 5.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.

Related

Other skills, from other repositories

digest

Write one page about an article, blog post, news item, release note, or talk (slides) from its URL into this Scraps wiki, without dialogue - a short summary of what the source says, linked to the pages the wiki already has. Use this when the user hands over the URL of something they read or want to keep up with and…

boykush/scraps · 125 tokens

learn

Learn a source together with the user and record only what they understood as a new page in this Scraps wiki. Explains the source with a diagram anchored on the pages the wiki already has, checks comprehension with questions, then writes one page from the points that passed; when understanding is not reached, nothing…

boykush/scraps · 128 tokens

ingest

Create a new scrap from a source (prompt, URL, or arbitrary markdown), update cross-links in related scraps, and run a sanity check. Use this when the user wants to add a scrap, summarize an article, save synthesized content to the wiki, or file back a Q&A result.

boykush/scraps · 62 tokens

query

Answer questions about the wiki by searching, reading, and synthesizing relevant scraps with [[Title]] citations. Use this when the user wants to query the wiki, ask what they have written about a topic, compare scraps, find related notes, or pull a synthesized overview from existing scraps.

boykush/scraps · 61 tokens

m15-anti-pattern

Use when reviewing code for anti-patterns. Keywords: anti-pattern, common mistake, pitfall, code smell, bad practice, code review, is this an anti-pattern, better way to do this, common mistake to avoid, why is this bad, idiomatic way, beginner mistake, fighting borrow checker, clone everywhere, unwrap in production…

kikakkz/wait-agent · 101 tokens

coding-guidelines

Guidance for Rust code style and best practices, including naming, formatting, comments, linting, and code review.

kikakkz/wait-agent · 86 tokens