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 kouroshez/coding-os --skill rustgit clone --depth 1 https://github.com/kouroshez/coding-osWrote 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/kouroshez/coding-os/rust)<a href="https://agentmods.dev/skills/kouroshez/coding-os/rust"><img src="https://agentmods.dev/badge/skills/kouroshez/coding-os/rust/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/kouroshez/coding-os/rust"><img src="https://agentmods.dev/badge/skills/kouroshez/coding-os/rust.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.00122 | $0.01019 |
| Opus 5.5 | $0.00049 | $0.00408 |
| Sonnet 5.5 | $0.00024 | $0.00204 |
| Haiku 4.5 | $0.00012 | $0.00102 |
Grade A, and why
rust 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 3mo 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 — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.
REQUIRED BACKGROUND: You MUST also follow the core backend-fundamentals skill (request lifecycle, layering, idempotency) and clean-code (fail-closed errors, self-documenting code, error-path tests). This skill adds ONLY Rust + Axum-specific patterns on top; api-design governs the public contract.
rust
Layer contract (matches structure.tree) — the SSOT for layering
| Layer | May import | Never |
|---|---|---|
main.rs |
app.rs (the router builder), tokio |
handler/business logic |
app.rs |
routes::*, tower layers, AppState |
request-specific logic |
routes/<domain>.rs (handlers) |
AppState, extractors, services, AppError |
another domain's privates, raw response bodies |
error.rs (AppError) |
domain error types | handlers, route wiring |
Handlers are thin async fns returning Result<T, AppError> — they parse via an
extractor, call one service method, and return the value (Axum serializes). The
business logic survives a transport swap because nothing below the handler imports
an Axum type.
Handlers (thin) & routing
- A handler signature is
async fn(State<Arc<AppState>>, <Extractor>) -> Result<Json<T>, AppError>. Parse/validate via the extractor → call ONE service method → returnOk(Json(..)). - Never hand-build the response envelope or
matchon errors to build JSON —?-propagate intoAppErrorand let itsIntoResponseshape the body. - Routes are assembled in
app.rs(Router::new().route(...).with_state(state)); one module per domain underroutes/, re-exported throughroutes/mod.rs.
Error handling (the one shaper)
- ONE
AppErrorenum inerror.rsimplementsIntoResponse— it is the ONLY place that writes an error body (RFC 9457 problem shape perdocs/api-contracts/error-format.md). Map domain errors into it withthiserror+Fromso handlers stay?-only. - Unknown/internal errors → 500 with a generic body; full detail goes to the
tracinglogger only — never aDebug/backtrace or DB message to the client.
What ships with it
1 file 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.
- 3mo ago First seen · 74 lines · 122 tokens per session scan A 866383f03515
rust is a skill published in the GitHub repository kouroshez/coding-os (7 stars, last pushed 4d ago), licensed Apache-2.0. It adds 122 tokens to every session and 1,019 once invoked, about $0.0005 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-03.
rust compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rustkouroshez/coding-os | Skill | 7 | 4d ago | Apache-2.0 | A | 122 | Claude Code, Codex |
| rust-engineerJeffallan/claude-skills | Skill | 13k | yesterday | MIT | A | 120 | Claude Code |
| azure-eventhub-rustmicrosoft/skills | Skill | 3.3k | yesterday | MIT | A | 58 | Claude Code |
| azure-eventhub-rustbenjaminasterA/antigravity-awesome-skills | Skill | 527 | yesterday | MIT | A | 0 | Claude Code, Codex |
| rust-gatewayBerriAI/litellm | Skill | 64k | today | none | A | 70 | Claude Code, Codex |
| cloudflare-workers-multi-langsecondsky/claude-skills | Skill | 257 | 4d ago | MIT | A | 45 | Claude Code |
| rust-programming-expertroedyrustam/vibes-plug | Skill | 132 | today | MIT | A | 58 | Cursor |