devs:rust-core

devs:rust-core is a skill for Claude Code, Codex from aaronbassett/agent-foundry. It costs 115 tokens per session (1,247 once invoked), scanned A, original, MIT.

A reference guide for developing in Rust, a programming language focused on speed and memory safety. It covers common Rust development areas and directs the agent to version-checked references when needed.

In plain words
What is it for?
Use it when writing, debugging, reviewing, or designing Rust code, including web services, command-line tools, desktop apps, and Cargo projects.
Why use it?
It helps avoid relying on outdated crate information and provides guidance for common compiler, testing, async, and project-structure problems.

Skill for Claude CodeCodex

Part of the devs plugin — 8 skills, 1 command, 7 agents shipped together

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/aaronbassett/agent-foundry/rust-core
Any agent
npx skills add aaronbassett/agent-foundry --skill rust-core
Clone the repo
git clone --depth 1 https://github.com/aaronbassett/agent-foundry

Made for: Claude Code, Codex.

Or install devs, the plugin that ships this one along with the rest of its 8 skills, 1 command, 7 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 devs:rust-core

README.md
[![agentmods](https://agentmods.dev/badge/skills/aaronbassett/agent-foundry/rust-core.svg)](https://agentmods.dev/skills/aaronbassett/agent-foundry/rust-core)
Your own site
<a href="https://agentmods.dev/skills/aaronbassett/agent-foundry/rust-core"><img src="https://agentmods.dev/badge/skills/aaronbassett/agent-foundry/rust-core.svg" alt="Measured on agentmods" height="20"></a>
Per session 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,247 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.00115 $0.01247
Opus 5 $0.00057 $0.00624
Sonnet 5 $0.00023 $0.00249
Haiku 4.5 $0.00012 $0.00125

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

Security

Grade A, and why

devs:rust-core 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 5d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/audit_dependencies.sh, scripts/init_rust_project.sh, scripts/setup_logging.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/devs/skills/rust-core/SKILL.md · 65 lines

How it starts

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

Rust Core Development

Reference hub for Rust work. Verify versions and crate APIs with the toolchain (cargo info <crate>, docs.rs) — never from trained knowledge.

Reference routing

Load references on demand — not all at once.

Reference Use when
error-handling.md Choosing thiserror vs anyhow, designing error types
async-patterns.md tokio, streams, channels, async traits, actor pattern, retry/backoff
patterns.md Builder, newtype, typestate, RAII; pattern-selection table
common-errors.md Confusing compiler errors beyond rustc's own suggestions
testing.md Test organization, criterion, nextest/rstest/insta/proptest
performance.md Profiling, allocation, release-profile tuning
project-structure.md Modules, workspaces, prelude/re-export patterns
dependencies.md cargo add, workspace deps, MSRV resolver, patching, unused deps
crates-core.md Version-verified essential-crates table; std-replaces-crate list
web-frameworks.md axum (default), actix-web; framework selection
cli-tui.md clap, ratatui, CLI testing with assert_cmd
desktop-tauri.md Tauri desktop apps: capabilities model, command IPC, tray, updater
ai-llm.md Calling LLM APIs from Rust (Anthropic/OpenAI-compatible/ollama)
logging-observability.md tracing, OpenTelemetry, Prometheus metrics

For code-review checklists use the devs:code-review skill; for dependency auditing workflows use devs:deps-core.

Decision guides

Web framework: axum is the default (tower ecosystem, ecosystem-standard in 2026). actix-web for maximum-throughput services or existing actix codebases. Everything else needs a justification. Details: web-frameworks.md.

Read the full file on GitHub · 65 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. 5d ago First seen · 65 lines · 115 tokens per session scan A cdd26c48be34

Subscribe to this mod's changes

devs:rust-core is a skill published in the GitHub repository aaronbassett/agent-foundry (4 stars, last pushed 20d ago), licensed MIT. It adds 115 tokens to every session and 1,247 once invoked, about $0.0006 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-31.