midi-ci-protocol

midi-ci-protocol is a skill for Claude Code, Codex from sgm-audio/apc-mcp. It costs 49 tokens per session (241 once invoked), scanned A, original, MIT.

Implementation guidance for MIDI-CI and MIDI 2.0, standards that let MIDI devices and software discover capabilities and exchange properties. It focuses on the exact messages, replies, subscriptions, and timeouts required by the official specification.

In plain words
What is it for?
Use it when implementing discovery, property exchange, protocol negotiation, profiles, or related error handling in Rust or C++. It includes traffic capture, chunking, timeouts, and tests with hardware or a reference implementation.
Why use it?
Small protocol mistakes can make discovery or property exchange fail without an obvious error. Following the required message order and testing against a known-good device helps reveal malformed or incomplete exchanges.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when implementing discovery, property exchange, protocol negotiation, profiles, or related error handling in Rust or C++. It includes traffic capture, chunking, timeouts, and tests with hardware or a reference implementation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sgm-audio/apc-mcp/midi-ci-protocol
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 sgm-audio/apc-mcp --skill midi-ci-protocol
Clone the repo
git clone --depth 1 https://github.com/sgm-audio/apc-mcp

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 midi-ci-protocol

README.md
[![agentmods](https://agentmods.dev/badge/skills/sgm-audio/apc-mcp/midi-ci-protocol/github.svg)](https://agentmods.dev/skills/sgm-audio/apc-mcp/midi-ci-protocol)
Your own site
<a href="https://agentmods.dev/skills/sgm-audio/apc-mcp/midi-ci-protocol"><img src="https://agentmods.dev/badge/skills/sgm-audio/apc-mcp/midi-ci-protocol/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 midi-ci-protocol

Your own site · 80×15
<a href="https://agentmods.dev/skills/sgm-audio/apc-mcp/midi-ci-protocol"><img src="https://agentmods.dev/badge/skills/sgm-audio/apc-mcp/midi-ci-protocol.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 241 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.00049 $0.00241
Opus 5.5 $0.00020 $0.00096
Sonnet 5.5 $0.00010 $0.00048
Haiku 4.5 $0.00005 $0.00024

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

Security

Grade A, and why

midi-ci-protocol 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/midi-ci-protocol/SKILL.md · 24 lines

What it actually says

MIDI-CI Protocol

When to use

  • Implementing MIDI Capability Inquiry (MIDI-CI) discovery or property exchange.
  • Negotiating MIDI 2.0 protocol between devices or plugins.
  • Debugging failed profile or property transactions.

Key rules

  • Follow the official MIDI-CI specification for message formatting and timeouts.
  • Handle the exact discovery and reply sequence; partial implementations fail silently.
  • Property exchange requires correct subscription and chunking.
  • Test against real hardware or a known-good reference implementation.

Verification

  1. Capture MIDI traffic (e.g. MIDI Monitor or Wireshark) and confirm discovery request/reply sequence matches the official MIDI-CI spec byte-for-byte.
  2. Property exchange read and write succeeds against a reference device or test harness.
  3. Timeout and error cases are handled without hanging the MIDI thread.
  4. No malformed or truncated messages appear in the capture log.
Files

What ships with it

3 files 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. 8d ago First seen · 24 lines · 49 tokens per session scan A 449fd9bc99c1

Subscribe to this mod's changes

midi-ci-protocol is a skill published in the GitHub repository sgm-audio/apc-mcp (1 stars, last pushed 4d ago), licensed MIT. It adds 49 tokens to every session and 241 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-21.

Related

midi-ci-protocol compared with skills from other repositories

midi-ci-protocol next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
midi-ci-protocolsgm-audio/apc-mcpSkill14d agoMITA49Claude Code, Codex
cppericrisco/rsc-harnessSkill6825d agoMITA81Claude Code, Codex
rsid-sdkrealsenseai/RealSenseIDSkill1231mo agoApache-2.0A70Claude Code, Codex
embedded-debuggingptsilivis/autonomousguySkill424mo agoMITA208Claude Code, Codex
embedded-project-setupVictory-7291/project-scaffold-setup-skillsSkill84mo agoMITA95Codex
gke-compute-classesgoogle/skillsSkill25ktodayApache-2.0A83Claude Code, Codex
jetson-diagnosticNVIDIA/skillsSkill4.2k2d agoApache-2.0A30Claude Code, Codex