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 fusengine/agents --skill rust-async-concurrencygit clone --depth 1 https://github.com/fusengine/agentsWrote 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/fusengine/agents/rust-async-concurrency)<a href="https://agentmods.dev/skills/fusengine/agents/rust-async-concurrency"><img src="https://agentmods.dev/badge/skills/fusengine/agents/rust-async-concurrency/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/fusengine/agents/rust-async-concurrency"><img src="https://agentmods.dev/badge/skills/fusengine/agents/rust-async-concurrency.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00057 | $0.01352 |
| Opus 5.5 | $0.00023 | $0.00541 |
| Sonnet 5.5 | $0.00011 | $0.00270 |
| Haiku 4.5 | $0.00006 | $0.00135 |
Grade A, and why
rust-async-concurrency 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 2mo 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 — 128 lines — stays where its author put it; the contents beside it link to each section on GitHub.
It also covers the async-fn-in-traits Send problem — why async fn in traits does not give
Send futures by default and how to work around it.
Out of scope: HTTP service structure (routing, extractors, middleware) is owned by rust-web-backend; sync-only ownership and borrowing questions belong to rust-core-language.
Rust Async & Concurrency
Agent Workflow (MANDATORY)
Before writing async code, spawn in parallel:
- fuse-ai-pilot:explore-codebase — find the existing runtime, channel, and lock patterns already in use
- fuse-ai-pilot:research-expert — verify current tokio/crate APIs via Context7/Exa (async APIs churn)
- mcp__context7__query-docs — pull exact signatures for the primitives you touch
After writing, run fuse-ai-pilot:sniper.
Runtime Landscape
| Runtime | Reality |
|---|---|
| tokio | The de-facto standard. Almost every async crate (axum, sqlx, reqwest, tonic) targets it. Default choice. |
| async-std | Niche, effectively in maintenance mode. Do not pick for new work. |
| smol | Niche, small/embeddable. Only for constrained or embedded contexts. |
Default to tokio unless a hard constraint says otherwise.
Critical Rules
std::sync::Mutexfirst — it is faster. Reach fortokio::sync::MutexONLY when the guard must be held across an.await. Otherwise scope the guard so its destructor runs before the await.Arc<Mutex<T>>is not the default — analyze contention first. Read-dominated →RwLock; a simple counter → atomics; work that is itself async → a task + message passing.- Never drop a
JoinHandleyou care about — a droppedtokio::spawnhandle silently swallows the task's panic/error..awaitit, or useJoinSet/tracingto surface failures. spawn_blockingfor heavy sync work — CPU-bound loops or blocking I/O (std file, blocking DB driver) starve the runtime if run on an async worker. Offload them.Sendacross.await— everything held across an await point must beSendfortokio::spawn. Astd::sync::MutexGuardis NOTSend; holding one across an await is a compile error (and async-mutex guards that areSenddeadlock instead).
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.
- 2mo ago Changed 747e0944ac4e
- 3mo ago First seen · 128 lines · 57 tokens per session scan A e24f8b84d9fa
rust-async-concurrency is a skill published in the GitHub repository fusengine/agents (34 stars, last pushed 1mo ago), licensed MIT. It adds 57 tokens to every session and 1,352 once invoked, about $0.0002 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-async-concurrency compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rust-async-concurrencyfusengine/agents | Skill | 34 | 1mo ago | MIT | A | 57 | Claude Code |
| polarsK-Dense-AI/scientific-agent-skills | Skill | 60k | 4d ago | MIT | A | 47 | Claude Code |
| pinocchio-developmentsendaifun/skills | Skill | 129 | 4mo ago | Apache-2.0 | A | 44 | Claude Code, Codex |
| building-telegram-botsisvlasov/rageatc-oss | Skill | 10 | 4mo ago | MIT | A | 68 | Claude Code |
| pennylaneK-Dense-AI/scientific-agent-skills | Skill | 60k | 4d ago | MIT | A | 74 | Claude Code |
| phx-documentoliver-kriska/claude-elixir-phoenix | Skill | 580 | today | MIT | A | 50 | Claude Code, Codex |
| cloudflare-workers-multi-langsecondsky/claude-skills | Skill | 257 | 4d ago | MIT | A | 45 | Claude Code |