rust-sdk-testing-patterns

rust-sdk-testing-patterns is a skill for Claude Code, Codex from 0xMiden/agent-tools. It costs 68 tokens per session (5,151 once invoked), scanned A, original, no licence file.

A set of testing patterns for Miden smart contracts, using MockChain from Miden v0.15. MockChain is a test environment for running contract transactions without using a live chain.

In plain words
What is it for?
Use it when writing or editing Miden smart-contract tests, including faucet setup, transaction execution, and output-note verification.
Why use it?
It provides documented ways to set up tests and verify contract behavior across accounts, notes, storage, assets, and multiple transactions.

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 writing or editing Miden smart-contract tests, including faucet setup, transaction execution, and output-note verification.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/0xmiden/agent-tools/rust-sdk-testing-patterns
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-testing-patterns
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-testing-patterns

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/0xmiden/agent-tools/rust-sdk-testing-patterns"><img src="https://agentmods.dev/badge/skills/0xmiden/agent-tools/rust-sdk-testing-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,151 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.00068 $0.05151
Opus 5.5 $0.00027 $0.02060
Sonnet 5.5 $0.00014 $0.01030
Haiku 4.5 $0.00007 $0.00515

Measured 8d ago against content hash 64c9867dd012, 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-testing-patterns 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 8d 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-testing-patterns/SKILL.md · 413 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. 8d ago Changed · +7 lines 64c9867dd012
  2. 1mo ago Changed · +143 lines · -7 tokens per session 02994c9152a1
  3. 1mo ago First seen · 263 lines · 75 tokens per session scan A 11f478c8e1e4

Subscribe to this mod's changes

rust-sdk-testing-patterns is a skill published in the GitHub repository 0xMiden/agent-tools (2 stars, last pushed 5d ago), with no licence file. It adds 68 tokens to every session and 5,151 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

web3-testing

Test smart contracts comprehensively using Hardhat and Foundry with unit tests, integration tests, and mainnet forking. Use when testing Solidity contracts, setting up blockchain test suites, or validating DeFi protocols.

wshobson/agents · 46 tokens

building-pydantic-ai-agents

Build AI agents with Pydantic AI — tools, capabilities (including on-demand loading), workspaces, structured output, streaming, testing, and multi-agent patterns. Use when the user mentions Pydantic AI, imports pydanticai, or asks to build an AI agent, add tools/capabilities, attach a workspace, defer capability…

pydantic/pydantic-ai · 92 tokens

prompt-proximity-architecture

Turn an approved measurement charter, ICPs, and buyer jobs into a budget-aware prompt coverage blueprint across proximity bands, aided status, information acts, journey states, roles, locales, evidence grades, partitions, and measurement lanes. Use before prompt wording to define required, optional, and prohibited…

elvisun/newsjack · 67 tokens

fizz

Generate Echidna/Medusa-compatible Solidity fuzz suites from Foundry or Hardhat projects. Trigger on "fizz", "generate fuzz suite", "build fuzz harness", "stateful fuzzing", "fuzzing harness", "property testing", and "invariant suite".

pashov/skills · 60 tokens

foundry-testing

Write and debug Foundry tests and Solidity scripts. Use when writing unit, fuzz, fork, or invariant tests, writing bulloak BTT .tree specs (Branching Tree Technique), using cheatcodes, benchmarking gas, measuring coverage, writing deploy scripts, or working in tests/ or script/.

PaulRBerg/foundry-template · 64 tokens

software-test-creation

Write failing tests for a TDD slice based on acceptance criteria and codebase conventions. Use when the "red" phase of red-green-refactor requires tests that define expected behavior before implementation exists. Discovers codebase test conventions first, writes test files that compile or parse but fail because the…

stencila/stencila · 82 tokens