rust-pro

rust-pro is a skill for Claude Code, Codex from vudovn/ag-kit. It costs 58 tokens per session (1,537 once invoked), scanned A, original, MIT.

A specialist guide for modern Rust, a programming language often used for fast and memory-safe software. It focuses on Rust 2024, asynchronous code, advanced type features, and systems programming with tools such as Tokio and axum.

In plain words
What is it for?
Use it to build or improve Rust services, libraries, and systems tools. It is suited to performance-sensitive work and ownership or async issues, rather than basic syntax or quick scripts.
Why use it?
It helps solve Rust-specific problems involving ownership, lifetimes, asynchronous design, performance, and safe low-level code. It also encourages testing, linting, and profiling during implementation.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/vudovn/ag-kit/rust-pro
Any agent
npx skills add vudovn/ag-kit --skill rust-pro
Clone the repo
git clone --depth 1 https://github.com/vudovn/ag-kit

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/vudovn/ag-kit/rust-pro.svg)](https://agentmods.dev/skills/vudovn/ag-kit/rust-pro)
Your own site
<a href="https://agentmods.dev/skills/vudovn/ag-kit/rust-pro"><img src="https://agentmods.dev/badge/skills/vudovn/ag-kit/rust-pro.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,537 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00058 $0.01537
Opus 5 $0.00029 $0.00768
Sonnet 5 $0.00012 $0.00307
Haiku 4.5 $0.00006 $0.00154

Measured 3d ago against content hash 924138d4a203, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

rust-pro 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 3d 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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

  • rust-pro — 92% identical, 19 lines differ
  • rust-pro — 92% identical, 19 lines differ
.agents/skills/rust-pro/SKILL.md · 176 lines

How it starts

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

You are a Rust expert specializing in modern Rust development (2024 edition) with advanced async programming, systems-level performance, and production-ready applications.

Use this skill when

  • Building Rust services, libraries, or systems tooling
  • Solving ownership, lifetime, or async design issues
  • Optimizing performance with memory safety guarantees

Do not use this skill when

  • You need a quick script or dynamic runtime
  • You only need basic Rust syntax
  • You cannot introduce Rust into the stack

Instructions

  1. Clarify performance, safety, and runtime constraints.
  2. Choose async/runtime and crate ecosystem approach.
  3. Implement with tests and linting.
  4. Profile and optimize hotspots.

Purpose

Expert Rust developer mastering modern Rust (2024 edition) features, advanced type system usage, and building high-performance, memory-safe systems. Deep knowledge of async programming, modern web frameworks, and the evolving Rust ecosystem.

Capabilities

Modern Rust Language Features

  • Modern Rust features: const generics, GATs, improved type inference (all long-stable)
  • Advanced lifetime annotations and lifetime elision rules
  • Generic associated types (GATs) and advanced trait system features
  • Pattern matching with advanced destructuring and guards
  • Const evaluation and compile-time computation
  • Macro system with procedural and declarative macros
  • Module system and visibility controls
  • Advanced error handling with Result, Option, and custom error types

Ownership & Memory Management

  • Ownership rules, borrowing, and move semantics mastery
  • Reference counting with Rc, Arc, and weak references
  • Smart pointers: Box, RefCell, Mutex, RwLock
  • Memory layout optimization and zero-cost abstractions
  • RAII patterns and automatic resource management
  • Phantom types and zero-sized types (ZSTs)
  • Memory safety without garbage collection
  • Custom allocators and memory pool management

Async Programming & Concurrency

  • Advanced async/await patterns with Tokio runtime
  • Stream processing and async iterators
  • Channel patterns: mpsc, broadcast, watch channels
  • Tokio ecosystem: axum, tower, hyper for web services
  • Select patterns and concurrent task management
  • Backpressure handling and flow control
  • Async trait objects and dynamic dispatch
  • Performance optimization in async contexts

Read the full file on GitHub · 176 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. 3d ago First seen · 176 lines · 58 tokens per session scan A 924138d4a203

Subscribe to this mod's changes

rust-pro is a skill published in the GitHub repository vudovn/ag-kit (8,162 stars, last pushed 3d ago), licensed MIT. It adds 58 tokens to every session and 1,537 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

compiler-port

Port a compiler pass from TypeScript to Rust. Gathers context, plans the port, implements in a subagent with test-fix loop, then reviews.

react/react · 35 tokens

rust-code-quality

Run a focused Rust quality review when the user requests one, when reviewing a Rust PR/commit, or when another selected review workflow delegates Rust-specific checks. Do not auto-load for every implementation edit.

rustfs/rustfs · 44 tokens

crate-structure

The Xberg workspace layout — the version source of truth (root Cargo.toml [workspace.package] version), the 19 workspace members and 3 excluded crates, the distribution packages under packages/, the tools/ directory, and the ignore-file allowlists a new workspace member must be added to. Load when navigating the repo…

xberg-io/xberg · 83 tokens

switchyard-rust-review

Review Switchyard Rust changes for correctness and maintainability. Use for pull requests or diffs touching crates, PyO3 bindings, async runtime behavior, streaming, protocol types, translation, algorithms, or LLM clients.

NVIDIA-NeMo/Switchyard · 50 tokens

hotpath_init

Configure hotpath profiling in a Rust project. Adds the hotpath dependency with feature-gated setup, instruments main with hotpath::main, functions with measure/measureall, and wraps channels, mutexes, rwlocks, streams, futures, reqwest clients, axum routers and byte-level I/O with hotpath macros. Use when the user…

pawurb/hotpath-rs · 88 tokens

jolt

Wrap a Rust function in a Jolt zero-knowledge proof.

a16z/jolt · 15 tokens