midi: Instructions file for Codex

AGENTS.md

midi AGENTS.md is an instructions file for Codex, OpenCode from ALLLLLL703/midi. It costs 241 tokens per session, scanned C, original, MIT.

A repository-specific AGENTS.md instruction set for a project that builds an audio-to-MIDI MCP server for Muscriptor. MIDI is a standard format for representing musical notes and performance instructions.

In plain words
What is it for?
Use it when working on the ALLLLLL703/midi project to follow its session rules, use its preferred skills and MCP servers, and maintain its required Git workflow.
Why use it?
It tells coding agents how to work in that repository, including preferred tools, languages for output, research habits, and when to commit and push changes.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md.

This is ALLLLLL703/midi's own configuration. It tells Codex and OpenCode how to work on midi itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything midi configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ALLLLLL703/midi. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ALLLLLL703/midi/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/ALLLLLL703/midi

Made for: Codex, OpenCode.

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 AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/allllll703/midi/agents-md/github.svg)](https://agentmods.dev/instructions/allllll703/midi/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/allllll703/midi/agents-md"><img src="https://agentmods.dev/badge/instructions/allllll703/midi/agents-md/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 AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/allllll703/midi/agents-md"><img src="https://agentmods.dev/badge/instructions/allllll703/midi/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 241 This file is loaded in full into every session.
When invoked 241 The same file — it is already loaded in full.
Security scan C 1 finding. 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.00241 $0.00241
Opus 5.5 $0.00096 $0.00096
Sonnet 5.5 $0.00048 $0.00048
Haiku 4.5 $0.00024 $0.00024

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

Security

Grade C, and why

midi AGENTS.md scanned grade C with 1 finding 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 2mo 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- ## code style - 查看[style.md](./agent-instructions/STYLE.md) -->
AGENTS.md · 32 lines

What it actually says

AGENTS.md

会话目的

帮助我开发一个给予muscriptor的audio to midi的名称midi的mcp

skills

常开启skill

  • grill-me
  • maintainable-code

mcp

  • context7和open-websearch随便用,只要能解决问题即可
  • context7需要在寻找api时优先使用
  • open-websearch用于寻找具体问题解决方案时使用
  • 需要经常性的使用github探索优质mcp代码库以及muscriptor代码库

git

  • 每过一个阶段的实现后都要提交代码
  • 每次提交完成后都要使用github mcp进行一个推送

会话规则

  • 内容输出和内容总结输出(写入文件的内容总结)必须用中文,其他情况使用英文(比如注释,git操作)

question规则

  • 一切提问走question工具
  • 如果有任何需要细化决策树或这需要决策的地方就调用question工具
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. 2mo ago First seen · 32 lines · 241 tokens per session scan C 9eee06a8b512

Subscribe to this mod's changes

midi AGENTS.md is an instructions file published in the GitHub repository ALLLLLL703/midi (0 stars, last pushed 3mo ago), licensed MIT. It adds 241 tokens to every session, about $0.0010 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

midi AGENTS.md compared with instructions from other repositories

midi AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
midi AGENTS.mdALLLLLL703/midiInstructions file03mo agoMITC241Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot