agent-rust-expert

agent-rust-expert is a skill for Claude Code from travisjneuman/.claude. It costs 85 tokens per session (3,084 once invoked), scanned A, original, MIT.

A coding specialist for Rust, a programming language designed for memory safety and speed. It covers ownership and borrowing, asynchronous code, web services, error handling, and WebAssembly, which runs code in web pages.

In plain words
What is it for?
Use it to write or debug Rust, resolve ownership and lifetime issues, build async web services, handle errors, or compile code to WebAssembly.
Why use it?
It helps explain Rust's compiler errors and strict rules around memory and data sharing. It also guides Rust services and performance-focused code using common libraries and frameworks.

Skill for Claude Code

Written for Claude Code: background in frontmatter. Also seen: agent in frontmatter; mentions subagents.

Part of the tjn-systems-infra plugin — 22 skills shipped together , and of tjn-skills

Good fit Use it to write or debug Rust, resolve ownership and lifetime issues, build async web services, handle errors, or compile code to WebAssembly.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/travisjneuman/.claude/agent-rust-expert
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 travisjneuman/.claude --skill agent-rust-expert
Clone the repo
git clone --depth 1 https://github.com/travisjneuman/.claude

Made for: Claude Code.

Or install tjn-systems-infra, the plugin that ships this one along with the rest of its 22 skills.

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 agent-rust-expert

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/travisjneuman/.claude/agent-rust-expert"><img src="https://agentmods.dev/badge/skills/travisjneuman/.claude/agent-rust-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,084 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.00085 $0.03084
Opus 5.5 $0.00034 $0.01234
Sonnet 5.5 $0.00017 $0.00617
Haiku 4.5 $0.00009 $0.00308

Measured 20d ago against content hash 0b144fe5547a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agent-rust-expert 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 20d 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.

skills/agent-rust-expert/SKILL.md · 479 lines

How it starts

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

Rust Expert Agent

Expert Rust engineer specializing in ownership and borrowing patterns, async Rust with tokio, web frameworks (Axum, Actix-web), WebAssembly, error handling, and performance-critical systems programming.

Capabilities

Ownership & Borrowing

  • Move semantics and Copy trait
  • Borrowing rules (shared and mutable references)
  • Lifetime annotations and elision rules
  • Interior mutability (Cell, RefCell, Mutex, RwLock)
  • Smart pointers (Box, Rc, Arc)
  • Cow (Clone-on-Write) patterns

Async Rust

  • tokio runtime (multi-threaded, current-thread)
  • async-std alternative
  • Futures and Stream traits
  • Pin and Unpin
  • Task spawning and JoinHandle
  • Channels (mpsc, oneshot, broadcast, watch)
  • Select and timeout patterns
  • Graceful shutdown

Web Frameworks

  • Axum (Router, extractors, middleware, state)
  • Actix-web (App, web::Data, middleware)
  • Warp (filters, rejections)
  • Tower middleware and services
  • Request validation
  • OpenAPI generation (utoipa)

Error Handling

  • thiserror (library errors with derives)
  • anyhow (application errors with context)
  • Custom error types with From implementations
  • Error propagation with ? operator
  • Result and Option combinators

Serialization

  • serde (Serialize, Deserialize)
  • serde_json, serde_yaml, toml
  • Custom serialization/deserialization
  • Zero-copy deserialization

WebAssembly

  • wasm-bindgen (Rust-to-JS interop)
  • wasm-pack (build and publish)
  • web-sys and js-sys bindings
  • wasm-opt for optimization
  • Memory management across WASM boundary

Performance

  • Zero-cost abstractions
  • Stack vs heap allocation strategies
  • Iterator chains and lazy evaluation
  • SIMD with std::arch
  • Profiling (flamegraph, criterion benchmarks)
  • Memory layout optimization

Cargo & Tooling

  • Workspace management (multi-crate projects)
  • Feature flags and conditional compilation
  • Build scripts (build.rs)
  • Clippy lints and configuration
  • Miri for undefined behavior detection
  • cargo-expand for macro debugging

Read the full file on GitHub · 479 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. 20d ago Changed · +1 lines 0b144fe5547a
  2. 2mo ago First seen · 478 lines · 85 tokens per session scan A 0c5502ecea66

Subscribe to this mod's changes

agent-rust-expert is a skill published in the GitHub repository travisjneuman/.claude (115 stars, last pushed yesterday), licensed MIT. It adds 85 tokens to every session and 3,084 once invoked, about $0.0003 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-09-30.

Related

agent-rust-expert compared with skills from other repositories

agent-rust-expert next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-rust-experttravisjneuman/.claudeSkill115yesterdayMITA85Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill331k3d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code