maigo: Instructions file for Claude Code

CLAUDE.md

maigo CLAUDE.md is an instructions file for Claude Code from Lee-W/maigo. It costs 1,120 tokens per session, scanned A, original, MIT.

A contributor guide for the maigo project, including writing style, agent and narrator labels, and rules for keeping shared instruction files synchronized.

In plain words
What is it for?
Following the project's tone, labeling agents and narrators, deciding when hooks or skills apply, and updating matching instruction files together.
Why use it?
It prevents contributors from applying inconsistent conventions across the project's Claude Code instruction files.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

This is Lee-W/maigo's own configuration. It tells Claude Code how to work on maigo 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 maigo configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Lee-W/maigo. 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/Lee-W/maigo/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/Lee-W/maigo

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 maigo CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/lee-w/maigo/claude-md/github.svg)](https://agentmods.dev/instructions/lee-w/maigo/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/lee-w/maigo/claude-md"><img src="https://agentmods.dev/badge/instructions/lee-w/maigo/claude-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 maigo CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/lee-w/maigo/claude-md"><img src="https://agentmods.dev/badge/instructions/lee-w/maigo/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,120 This file is loaded in full into every session.
When invoked 1,120 The same file — it is already loaded in full.
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.01120 $0.01120
Opus 5.5 $0.00448 $0.00448
Sonnet 5.5 $0.00224 $0.00224
Haiku 4.5 $0.00112 $0.00112

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

Security

Grade A, and why

maigo CLAUDE.md 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 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.

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.

CLAUDE.md · 77 lines

How it starts

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

maigo contributor instructions for Claude Code agents

鏡射檔同步:CLAUDE.md 與 AGENTS.md 共用下列 contributor conventions。 修改共同規則時必須同步另一份;平台特定措辭、連結格式與 hook runtime 說明可保留差異, 否則另一端會照舊快照做事。

Tone

This project is emoji-friendly. When working in this repository (including meta-discussion about maigo's own design — skills, commands, agents, docs), default to allowing emoji use where it aids clarity or matches the project's voice:

  • Agent identity markers — 🐱 樂奈 / 🩵 燈 / 🎀 愛音 / 🟡 爽世 / 🟣 立希
  • Narrator markers — 🌙 Doloris / 🌑 Mortis (per skills/narration)
  • Section / status markers in chat output where they aid scanning

The global Claude Code default "avoid emojis unless asked" does not apply here — that default is overridden for this repository.

This applies to prose, chat output, and contributor-facing docs in this repo. Source code (Python, YAML config, etc.) follows its own conventions — do not sprinkle emojis into code where they don't already belong.

Agent & narrator emoji — quick-ref (always in context)

Every mention of an agent or narrator name in prose, summaries, and chat output must carry the emoji prefix — not just the line where they speak.

Role Emoji Names
樂奈 🐱 Raana
燈 🩵 Tomori
愛音 🎀 Anon
爽世 🟡 Soyo
立希 🟣 Taki
Doloris 🌙 —
Mortis 🌑 —

Not applicable: content inside code blocks, file paths (agents/Soyo.md), commit messages, and direct quotes from the user.

Full narration rules (when to use Doloris vs Mortis, voice tone, etc.) live in skills/narration.

Hooks vs Skills boundary

  • hooks/ = 機器擋。Code-driven 強制檢查,agent 沒得繞過。例:🩵 Tomori 沒寫 plan path → teammate_quality_check.py block;任務宣告完成沒跑 test → verify_completion.py block。
  • skills/ = 知識共享。Prompt-driven 共用 narrative / convention / workflow。 被 commands / agents 用 markdown link 引用、合進 context。例: skills/strict-review、skills/commit-message、skills/narration。

Read the full file on GitHub · 77 lines

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 · 77 lines · 1,120 tokens per session scan A 9c6bffac2d74

Subscribe to this mod's changes

maigo CLAUDE.md is an instructions file published in the GitHub repository Lee-W/maigo (14 stars, last pushed 6d ago), licensed MIT. It adds 1,120 tokens to every session, about $0.0045 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-30.

Related

maigo CLAUDE.md compared with instructions from other repositories

maigo CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
maigo CLAUDE.mdLee-W/maigoInstructions file146d agoMITA1,120Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode ai-customization.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA1,907GitHub Copilot