rust-sdk-pitfalls

rust-sdk-pitfalls is a skill for Claude Code, Codex from 0xMiden/agent-tools. It costs 75 tokens per session (11,627 once invoked), scanned A, original, no licence file.

A safety and review guide for building with the Miden Rust SDK, a Rust toolkit for developing Miden applications. It covers SDK-specific rules involving arithmetic, storage, assets, notes, and call boundaries.

In plain words
What is it for?
Use it when reviewing or debugging Miden Rust SDK code and when checking setup, asset layouts, P2ID roots, note construction, and component-call behavior.
Why use it?
It helps prevent mistakes caused by the SDK's special constraints, including incorrect field arithmetic, storage naming, argument limits, or immutable note inputs.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it when reviewing or debugging Miden Rust SDK code and when checking setup, asset layouts, P2ID roots, note construction, and component-call behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/0xmiden/agent-tools/rust-sdk-pitfalls
Install

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.

Any agent
npx skills add 0xMiden/agent-tools --skill rust-sdk-pitfalls
Clone the repo
git clone --depth 1 https://github.com/0xMiden/agent-tools

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for rust-sdk-pitfalls

README.md
[![agentmods](https://agentmods.dev/badge/skills/0xmiden/agent-tools/rust-sdk-pitfalls/github.svg)](https://agentmods.dev/skills/0xmiden/agent-tools/rust-sdk-pitfalls)
Your own site
<a href="https://agentmods.dev/skills/0xmiden/agent-tools/rust-sdk-pitfalls"><img src="https://agentmods.dev/badge/skills/0xmiden/agent-tools/rust-sdk-pitfalls/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.

agentmods 80×15 button for rust-sdk-pitfalls

Your own site · 80×15
<a href="https://agentmods.dev/skills/0xmiden/agent-tools/rust-sdk-pitfalls"><img src="https://agentmods.dev/badge/skills/0xmiden/agent-tools/rust-sdk-pitfalls.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 11,627 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00075 $0.11627
Opus 5.5 $0.00030 $0.04651
Sonnet 5.5 $0.00015 $0.02325
Haiku 4.5 $0.00007 $0.01163

Measured 14d ago against content hash d6f01a038b5b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rust-sdk-pitfalls 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 14d 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.

skills/rust-sdk-pitfalls/SKILL.md · 847 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Changes

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.

  1. 14d ago Changed · +38 lines d6f01a038b5b
  2. 1mo ago Changed · +557 lines 9d2847bb640d
  3. 1mo ago First seen · 252 lines · 75 tokens per session scan A 2b3950d4b678

Subscribe to this mod's changes

rust-sdk-pitfalls is a skill published in the GitHub repository 0xMiden/agent-tools (2 stars, last pushed 11d ago), with no licence file. It adds 75 tokens to every session and 11,627 once invoked, about $0.0003 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-08-31.

Related

Other skills, from other repositories

jolt

Wrap a Rust function in a Jolt zero-knowledge proof.

a16z/jolt · 15 tokens

solana-toolkit-guide

Guide to the Solana Wallet Toolkit — vanity address generation with multi-threaded search, official Solana Labs libraries, Rust and TypeScript implementations. Includes wallet generation, custom address prefixes, and OG names on the blockchain.

nirholas/three.ws · 50 tokens

solana

Use when working on Solana software, including one or more of: Solana client code using TypeScript, Rust libraries that use Solana crates, Anchor programs, Quasar programs, LiteSVM tests, including Rust program files, TypeScript tests, and Anchor.toml or Quasar.toml configuration. Designed to create minimal, reusable…

quicknode/solana-finance-claude-plugin · 76 tokens

smart-contracts

Stellar smart contract development (Rust, soroban-sdk). Entry point with project setup, contract anatomy, and build/deploy workflow, routing to three companion files in this directory — development.md (storage/TTL, authorization, cross-contract calls, tokens, events, errors, upgrades, fees, troubleshooting)…

stellar/stellar-dev-skill · 151 tokens

solana-development

Build, test, deploy, and audit Solana programs with Anchor or native Rust, plus ZK Compression (Light Protocol). Use for Solana contracts, token operations, compute optimization, deployment, program audits, or compressed tokens and PDAs.

tenequm/skills · 53 tokens

solana

Expert guidelines for Solana program development with Rust, Anchor framework, and Web3.js integration.

Mindrally/skills · 21 tokens