0xMiden/agent-tools

A shared knowledge base for agentic skills for building with Miden

2Stars on the repository
33Mods indexed here, across every type
5d agoLast push, which is what freshness is scored on
noneNo LICENSE: all rights reserved, so bodies are not copied

0xMiden/agent-tools

Skill Claude CodeCodex

Use when writing kernel, account, or note MASM code that reads from or writes to the advice provider (advice stack / advice map) — validate advice data.

not rated 2 changed 8d ago A 41 tokens

0xMiden/agent-tools

Skill Claude CodeCodex

Use when writing or reviewing MASM hot paths or loops — prefer the cheaper equivalent: loop counters and pointers on the operand stack instead of procedure locals, neq.0 over push.0 gt for non-zero checks, cdrop over an if/else selecting between two values, dup.N over locload for a value still on the stack, eqw over…

not rated 2 changed 1mo ago A 0 tokens

0xMiden/agent-tools

Skill Claude CodeCodex

Use when writing a GENERIC MASM storage utility (one that operates over a caller-chosen slot or map) inside a reusable account component — receive the slot id as a parameter so the utility works against any slot, not one hard-coded one.

not rated 2 changed 1mo ago A 56 tokens

felt-construction

04

0xMiden/agent-tools

Skill Claude CodeCodex

Use when constructing a Felt from a numeric value in Rust — avoid silently producing a non-canonical Felt that no longer equals the original input.

not rated 2 changed 1mo ago A 35 tokens

0xMiden/agent-tools

Skill Claude CodeCodex

Validates Miden contracts against a local node. Covers node setup, Rust binary adaptation, state verification, and troubleshooting. Use after MockChain tests pass to verify contracts work against a real node.

not rated 2 changed 5d ago C 43 tokens

masm-constants

06

0xMiden/agent-tools

Skill Claude CodeCodex

Enforce constant definition and organization conventions for Miden Assembly (.masm) files. Use when editing, reviewing, or creating .masm files that define or use constants.

not rated 2 changed 1mo ago A 40 tokens

masm-doc-comments

07

0xMiden/agent-tools

Skill Claude CodeCodex

Enforce doc comment conventions for Miden Assembly (.masm) procedures. Use when editing, reviewing, or creating .masm procedures, especially when documenting inputs, outputs, panic conditions, or invocation types.

not rated 2 changed 8d ago A 47 tokens

0xMiden/agent-tools

Skill Claude CodeCodex

Use when adding or editing MASM assert instructions — give every assertion a descriptive error (a named ERR constant or an inline string).

not rated 2 changed 1mo ago A 38 tokens

0xMiden/agent-tools

Skill Claude CodeCodex

Use when defining the interface for a new MASM procedure — keep its inputs explicit on the stack so the signature reflects what it consumes.

not rated 2 changed 1mo ago A 35 tokens

masm-file-structure

10

0xMiden/agent-tools

Skill Claude CodeCodex

Enforce file structure, module-tree declaration, and section ordering for Miden Assembly (.masm) files. Use when editing, reviewing, or creating .masm files.

not rated 2 changed 8d ago A 41 tokens

masm-formatting

11

0xMiden/agent-tools

Skill Claude CodeCodex

Orchestrator for MASM formatting in 0xMiden/protocol and 0xMiden/miden-vm. Consolidates capitalization, the (N) span family, cross-repo doc comment divergences (plural vs singular Inputs/Outputs, Panics if vs.

not rated 2 changed 1mo ago A 61 tokens

0xMiden/agent-tools

Skill Claude CodeCodex

Enforce inline commenting conventions for Miden Assembly (.masm) files. Use when editing, reviewing, or creating .masm files.

not rated 2 changed 1mo ago A 33 tokens

0xMiden/agent-tools

Skill Claude CodeCodex

Use when a MASM procedure needs temporary scratch storage — keep it in procedure-local memory so it cannot collide in a shared global region.

not rated 2 changed 1mo ago A 36 tokens

masm-named-literals

14

0xMiden/agent-tools

Skill Claude CodeCodex

Use when writing or editing MASM or Rust code that contains meaningful numeric literals — promote them to named constants with a single source of truth.

not rated 2 5d ago A 35 tokens

masm-padding

15

0xMiden/agent-tools

Skill Claude CodeCodex

Enforce stack padding conventions for Miden Assembly (.masm) procedures based on invocation type. Use when editing, reviewing, or creating .masm procedures, especially those with Invocation annotations.

not rated 2 changed 1mo ago A 42 tokens

0xMiden/agent-tools

Skill Claude CodeCodex

Use when changing a numeric or string constant in Rust or MASM that has a counterpart on the other side — keep the two definitions from drifting apart.

not rated 2 changed 1mo ago A 39 tokens

miden-concepts

17

0xMiden/agent-tools

Skill Claude CodeCodex

Miden architecture and core concepts from a developer perspective. Covers the actor model, accounts, notes, transactions, assets, privacy model, and standard patterns. Use when designing Miden applications or understanding how Miden differs from traditional blockchains.

not rated 2 changed 8d ago A 53 tokens

0xMiden/agent-tools

Skill Claude CodeCodex

Enforce coding conventions for the miden-client Rust codebase (rust-client, sqlite-store). Use when editing, reviewing, or creating Rust code in the miden-client workspace — covers error handling, Store trait methods, the Client generic, the Keystore super-trait that constrains the ClientBuilder, builder constructors…

not rated 2 changed 8d ago A 83 tokens

rust-sdk-patterns

19

0xMiden/agent-tools

Skill Claude CodeCodex

Complete guide to writing Miden smart contracts with the Rust SDK. Covers the three-part.

not rated 2 changed 8d ago A 22 tokens

rust-sdk-pitfalls

20

0xMiden/agent-tools

Skill Claude CodeCodex

Critical pitfalls and safety rules for Miden Rust SDK development. Covers felt arithmetic security, comparison operators, argument limits, storage naming, no-std setup, asset layout, P2ID roots, NoteType construction, note-to-component call boundaries, and note input immutability. Use when reviewing, debugging, or…

not rated 2 changed 8d ago A 75 tokens

0xMiden/agent-tools

Skill Claude CodeCodex

Guide for advanced Miden smart contract development using source repo exploration. Covers AI development practices (Plan Mode, verification-driven development, context engineering, sub-agents) and maps Miden source repositories for discovering advanced patterns. Use when building complex multi-contract applications…

not rated 2 changed 8d ago A 67 tokens

0xMiden/agent-tools

Skill Claude CodeCodex

Guide to testing Miden smart contracts with MockChain. Covers test setup, contract building, account/note creation, transaction execution, storage verification, faucet setup, output note verification, block numbering, multi-transaction tests, and asset-bearing notes. Use when writing, editing, or debugging Miden…

not rated 2 changed 8d ago A 68 tokens

0xMiden/agent-tools

Skill Claude CodeCodex

Use when writing MASM u32 instructions whose operands must already fit in 32 bits, especially for user input or untrusted values.

not rated 2 changed 1mo ago A 40 tokens

0xMiden/agent-tools

Skill Claude CodeCodex

Enforce type-signature conventions for public Miden Assembly (.masm) procedures. Use when adding, editing, or reviewing a pub proc signature — parameter and return types, semantic type aliases, struct/array/tuple types, and how the signature maps onto the operand stack and the doc-comment Inputs/Outputs.

not rated 2 changed 8d ago A 73 tokens

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: