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.
npx agentmods add skills/aaronbassett/agent-foundry/rust-corenpx skills add aaronbassett/agent-foundry --skill rust-coregit clone --depth 1 https://github.com/aaronbassett/agent-foundryWrote 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.
[](https://agentmods.dev/skills/aaronbassett/agent-foundry/rust-core)<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>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.
| Model | Per session | Once 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 |
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.
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.
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.
What ships with it
21 files 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.
- assets/configs/clippy.toml 517 B
- assets/configs/deny.toml 1.2 KB
- assets/configs/lints.toml 747 B
- assets/configs/rustfmt.toml 257 B
- references/ai-llm.md 7.1 KB
- references/async-patterns.md 6.6 KB
- references/cli-tui.md 5.3 KB
- references/common-errors.md 3.7 KB
- references/crates-core.md 3.1 KB
- references/dependencies.md 4.1 KB
- references/desktop-tauri.md 5.8 KB
- references/error-handling.md 4.2 KB
- references/logging-observability.md 5.8 KB
- references/patterns.md 7.9 KB
- references/performance.md 3.0 KB
- references/project-structure.md 4.1 KB
- references/testing.md 4.7 KB
- references/web-frameworks.md 6.6 KB
- scripts/audit_dependencies.sh 1.6 KB runs code
- scripts/init_rust_project.sh 2.7 KB runs code
- scripts/setup_logging.sh 1.4 KB runs code
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.
- 5d ago First seen · 65 lines · 115 tokens per session scan A cdd26c48be34
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.
Other skills, from other repositories
lint-js
Lint JS/TS code only. Use before opening a PR when only JavaScript or TypeScript files were changed (no Rust).
rust-patterns
Idiomatic Rust patterns, ownership, error handling, traits, concurrency, and best practices for building safe, performant applications.
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.
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.
rust-pro
Master modern Rust (2024 edition) with async patterns, advanced type system features, and production-ready systems programming. Expert in the current Rust ecosystem including Tokio, axum, and modern crates. Use PROACTIVELY for Rust development, performance optimization, or systems programming.
dd-code-generation
Use pup CLI for immediate Datadog operations or generate code for integration into applications.