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 skills add adonai-labs/agent-runway --skill skill-rust-coregit clone --depth 1 https://github.com/adonai-labs/agent-runwayWrote 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/adonai-labs/agent-runway/skill-rust-core)<a href="https://agentmods.dev/skills/adonai-labs/agent-runway/skill-rust-core"><img src="https://agentmods.dev/badge/skills/adonai-labs/agent-runway/skill-rust-core/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.
<a href="https://agentmods.dev/skills/adonai-labs/agent-runway/skill-rust-core"><img src="https://agentmods.dev/badge/skills/adonai-labs/agent-runway/skill-rust-core.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00082 | $0.00681 |
| Opus 5 | $0.00041 | $0.00341 |
| Sonnet 5 | $0.00016 | $0.00136 |
| Haiku 4.5 | $0.00008 | $0.00068 |
Grade A, and why
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 — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Rust Core
How to invoke
After agent-runway add rust, the skill is installed at .cursor/skills/rust-core/. Use:
- Cursor:
@rust-coreor ask a Rust question while editing*.rs(rules auto-attach) - Claude Code: reference
.agent-runway/skills/rust-core/SKILL.mdor ask in context of Rust files
Examples:
- How should I structure this Axum service?
- Is this ownership correct or should I clone?
- How do I test this handler without a real database?
- Which error type should I use in this library vs application?
Not sure which skill to use? Start with
/start— it classifies intent and routes to the right skill.
Guiding principles
Rust's type system and ownership model enforce correctness — let them do the work.
- Prefer owned types and borrowing over complex lifetimes; readable code first
- Start with the simplest module layout that works; split only when the file becomes hard to navigate
- SOLID applies: single-responsibility modules, small focused traits, DI via trait objects or generics
- DRY for business logic; avoid macro magic when a plain function would do
- Async with Tokio for I/O-bound services; sync for CLIs and tools — do not default to async
- No over-engineering: a struct with plain methods is usually the right start
What this skill helps with
- Workspace and crate structure scaled to complexity
- Ownership, borrowing, and lifetime patterns
- Async services with Axum / Actix; CLI with Clap
- Error handling:
thiserrorfor libraries,anyhowfor applications - Testing: unit (
#[cfg(test)]), integration (tests/), property-based, HTTP - Security: OWASP Rust, dependency audit with
cargo audit - Observability:
tracing, OpenTelemetry, health endpoints
Skill files
| File | Contents |
|---|---|
| architecture.md | Workspace layout, crate boundaries, config |
| patterns.md | Ownership, error handling, service layer, trait-based DI |
| testing.md | Unit, integration, HTTP handler testing, proptest |
| security.md | Input validation, SQL injection, subprocess safety, cargo audit |
| observability.md | tracing, OpenTelemetry, health endpoints |
| reference.md | Cargo.toml, common commands, toolchain |
What ships with it
6 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.
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 · 68 lines · 82 tokens per session scan A ec06c2a7f847
rust-core is a skill published in the GitHub repository adonai-labs/agent-runway (2 stars, last pushed 19d ago), licensed MIT. It adds 82 tokens to every session and 681 once invoked, about $0.0004 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-09-03.
Other skills, from other repositories
pn-rust-scaffolding
Scaffolds new Rust API projects (Axum, Actix-web) or handlers. Use when setting up a Rust backend; covers Cargo workspace layout, Axum/Actix patterns, error handling, and idiomatic Rust conventions.
actix
Actix Rust web framework with actors and high performance. Use for Rust APIs.
axum
Axum ergonomic Rust web framework with tower. Use for Rust APIs.
appwrite-rust
Appwrite Rust SDK skill. Use when building server-side Rust applications with Appwrite. Covers async client setup with API keys, user management, TablesDB database/table/row operations, file storage, function executions, permissions, queries, and error handling. Uses the crates.io appwrite package and Tokio.
azure-eventhub-rust
Azure Event Hubs library for Rust. Send and receive events for streaming data ingestion and batch processing. Triggers: "event hubs rust", "ProducerClient rust", "ConsumerClient rust", "send event rust", "streaming rust", "eventhub rust".
telnyx-numbers-go
Search, order, and manage phone numbers by location, features, and coverage.