miri-dsp

miri-dsp is a skill for Claude Code from gertsylvest/meta-team. It costs 73 tokens per session (948 once invoked), scanned A, original, MIT.

A Rust testing check that runs Miri, a tool that interprets Rust code to find certain memory-safety mistakes that ordinary tests may miss. It is aimed at digital-signal-processing crates, which are libraries for processing audio or other sampled signals.

In plain words
What is it for?
Use it to test one Rust DSP crate, especially code using unsafe operations for SIMD or ring buffers. It checks unit tests rather than full benchmarks or WebAssembly builds.
Why use it?
It can expose undefined behaviour such as out-of-bounds access, use-after-free, uninitialised reads, and invalid pointer use before those bugs cause failures in production.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash run.sh ./rust/audio-dsp.

Good fit Use it to test one Rust DSP crate, especially code using unsafe operations for SIMD or ring buffers. It checks unit tests rather than full benchmarks or WebAssembly builds.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/gertsylvest/meta-team
agentmods
npx agentmods add skills/gertsylvest/meta-team/miri-dsp

Made for: Claude Code.

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 miri-dsp

README.md
[![agentmods](https://agentmods.dev/badge/skills/gertsylvest/meta-team/miri-dsp/github.svg)](https://agentmods.dev/skills/gertsylvest/meta-team/miri-dsp)
Your own site
<a href="https://agentmods.dev/skills/gertsylvest/meta-team/miri-dsp"><img src="https://agentmods.dev/badge/skills/gertsylvest/meta-team/miri-dsp/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 miri-dsp

Your own site · 80×15
<a href="https://agentmods.dev/skills/gertsylvest/meta-team/miri-dsp"><img src="https://agentmods.dev/badge/skills/gertsylvest/meta-team/miri-dsp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 948 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 original 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.00073 $0.00948
Opus 5.5 $0.00029 $0.00379
Sonnet 5.5 $0.00015 $0.00190
Haiku 4.5 $0.00007 $0.00095

Measured 1mo ago against content hash 2c3010eea65c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

miri-dsp 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (run.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

library/skills/miri-dsp/SKILL.md · 71 lines

How it starts

The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Miri DSP

miri interprets Rust's mid-level IR and catches a large class of undefined behaviour that cargo test will silently miss: out-of-bounds slice access, use-after-free, reads of uninitialised memory, invalid unsafe pointer arithmetic, and aliasing violations under the Stacked Borrows / Tree Borrows models.

Miri is most valuable on no_std DSP crates — they tend to contain hand-written unsafe for SIMD and ringbuffers where the compiler cannot prove safety. The cost is runtime speed (Miri is an interpreter, not a compiler), so this skill targets the unit tests of a single crate rather than a whole workspace.

Limitations

  • Miri does not target wasm32. It runs on the host triple. UB-free under Miri does not guarantee UB-free under wasm32 — but in practice the UB classes Miri catches are target-independent.
  • Floating-point intrinsics are slow under Miri. Heavy DSP benchmark suites will time out. Focus tests on correctness invariants and unsafe boundaries, not on full audio renders.
  • cargo bench does not run under Miri — use the cargo-bench-rt skill on native instead.

Requirements

  • Rust nightly toolchain with the miri component:
    rustup toolchain install nightly
    rustup +nightly component add miri
    

The script does not install anything: it checks for both and fails the TOOLCHAIN section with the install command if either is missing. Run the two commands above once, then re-run.

Instructions

The argument is in $ARGUMENTS. Pass it directly to the run script:

bash .claude/skills/miri-dsp/run.sh $ARGUMENTS

The first argument is the path to the crate directory.

Isolation. By default Miri runs with isolation on: tests cannot read the real clock, OS randomness, environment or filesystem, which keeps runs deterministic. If the crate's tests legitimately need that (e.g. std::time::Instant, a getrandom-seeded PRNG), opt out with --disable-isolation or MIRI_DSP_DISABLE_ISOLATION=1. Any extra flags you put in MIRIFLAGS are kept. The script always adds -Zmiri-strict-provenance.

Read the full file on GitHub · 71 lines

Files

What ships with it

1 file 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.

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. 1mo ago Changed · +5 lines 2c3010eea65c
  2. 3mo ago First seen · 66 lines · 73 tokens per session scan A 7b94f34bc4fc

Subscribe to this mod's changes

miri-dsp is a skill published in the GitHub repository gertsylvest/meta-team (5 stars, last pushed 17d ago), licensed MIT. It adds 73 tokens to every session and 948 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

miri-dsp compared with skills from other repositories

miri-dsp next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
miri-dspgertsylvest/meta-teamSkill517d agoMITA73Claude Code
rust-patternsaffaan-m/ECCSkill315kyesterdayMITA28Claude Code, Kiro
update-v8-versionopeninterpreter/openinterpreterSkill69ktodayApache-2.0A86Codex
omh-rustrlaope/oh-my-hermesSkill6.3ktodayMITA19Claude Code
dd-code-generationDataDog/pupSkill1.1ktodayApache-2.0A16Claude Code
swiftidebosun-ai/swiftideSkill812yesterdayMITA43Claude Code, Codex
azure-keyvault-secrets-rustbenjaminasterA/antigravity-awesome-skillsSkill526yesterdayMITA0Claude Code, Codex