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 aiocean/claude-plugins --skill aio-rust-api-migrationgit clone --depth 1 https://github.com/aiocean/claude-pluginsWrote 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/aiocean/claude-plugins/aio-rust-api-migration)<a href="https://agentmods.dev/skills/aiocean/claude-plugins/aio-rust-api-migration"><img src="https://agentmods.dev/badge/skills/aiocean/claude-plugins/aio-rust-api-migration/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/aiocean/claude-plugins/aio-rust-api-migration"><img src="https://agentmods.dev/badge/skills/aiocean/claude-plugins/aio-rust-api-migration.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.00049 | $0.01008 |
| Opus 5.5 | $0.00020 | $0.00403 |
| Sonnet 5.5 | $0.00010 | $0.00202 |
| Haiku 4.5 | $0.00005 | $0.00101 |
Grade A, and why
aio-rust-api-migration 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 3d 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 — 43 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Migrate a live API to Rust
Start with one real endpoint. Trace a request from validation through its dependencies to the last client-visible event. Use repository paths and actual test commands. For a planning request, return the proposed comparison boundary, verifier, and rollout criteria. For implementation, build the smallest runnable comparison across that boundary first.
Choose the boundary and the oracle
Measure the current cost per request and user-visible latency on representative workloads. Sketch both a narrow port and an end-to-end port. Count runtime crossings per request and per streamed item. Benchmark conversion and allocation costs with the proposed boundary. A parser that wins in isolation can lose its advantage when every token crosses runtimes several times.
Identify the source of truth for each observable behavior. Reuse independent contract tests against both services. Where tests embed legacy mocks, compare the old and ported assertions for lost specificity, especially ordering, missing fields and downstream calls. For undocumented behavior, pin the running legacy revision and configuration as the oracle. Give intentional changes an owner and an explicit expectation.
Design a comparison that can diagnose a failure
| Boundary | Feed both implementations | Compare |
|---|---|---|
| Before inference or another variable dependency | Same request and resolved dependency inputs | Acceptance, error details, effective settings and exact serialized downstream request where bytes affect behavior |
| After that dependency | Same observed event sequence, including errors and end-of-stream | Client-visible event types, order, payloads, termination and usage |
| External effects | Shadow adapters that capture intended operations | Operation, arguments and count for billing, quota, writes and notifications |
Keep the serving path authoritative for replies and real effects. Call a nondeterministic or costly dependency once, then tee its result to the shadow within the approved processing boundary. Bound the shadow queue and drop shadow work on overload. Count drops, timeouts and incomplete comparisons separately so they cannot inflate agreement.
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.
- 3d ago First seen · 43 lines · 49 tokens per session scan A 9ab8420cbc31
aio-rust-api-migration is a skill published in the GitHub repository aiocean/claude-plugins (4 stars, last pushed 4d ago), licensed MIT. It adds 49 tokens to every session and 1,008 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-11-26.
aio-rust-api-migration compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| aio-rust-api-migrationaiocean/claude-plugins | Skill | 4 | 4d ago | MIT | A | 49 | Claude Code |
| dare-rust-workspacedewtech-technologies/dare-method | Skill | 5 | 4mo ago | MIT | A | 81 | Claude Code, Codex |
| rust-gatewayBerriAI/litellm | Skill | 64k | today | none | A | 70 | Claude Code, Codex |
| agent-rust-experttravisjneuman/.claude | Skill | 115 | yesterday | MIT | A | 85 | Claude Code |
| rust-ops0xDarkMatter/claude-mods | Skill | 86 | 6d ago | MIT | A | 85 | Claude Code |
| beautifulsoup-parsingMindrally/skills | Skill | 322 | 1mo ago | Apache-2.0 | A | 32 | Claude Code |
| llamaindex-developmentMindrally/skills | Skill | 322 | 1mo ago | Apache-2.0 | A | 32 | Claude Code |