yunomi: Instructions file for Claude Code

CLAUDE.md

yunomi CLAUDE.md is an instructions file for Claude Code from kazuph/yunomi. It costs 2,077 tokens per session, scanned A, original, MIT.

Project-specific instructions for developing and testing the yunomi project. They cover how to start its server, avoid syntax errors, update the project, and safely deliver notifications.

In plain words
What is it for?
Use them when working on yunomi, including starting it, running reviews, testing, or updating the project.
Why use it?
They enforce the project's required startup and notification checks, stopping the process when the notification route cannot be verified.

Instructions file for Claude Code

Written for Claude Code: Claude Code plugin machinery. Also seen: mentions Claude Code; mentions Codex; built for cline.

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

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/kazuph/.local/share/mise/installs/node/22.22.0/lib/node_modules/yunomi/dist/server/server.js.

Reuse

Borrowing it

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

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/kazuph/yunomi/claude-md.svg)](https://agentmods.dev/instructions/kazuph/yunomi/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/kazuph/yunomi/claude-md"><img src="https://agentmods.dev/badge/instructions/kazuph/yunomi/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,077 This file is loaded in full into every session.
When invoked 2,077 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.02077 $0.02077
Opus 5 $0.01038 $0.01038
Sonnet 5 $0.00415 $0.00415
Haiku 4.5 $0.00208 $0.00208

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

Security

Grade A, and why

yunomi 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 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.

CLAUDE.md · 124 lines

How it starts

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

yunomi プロジェクト固有ルール

開発・テスト時のサーバー起動

yunomiを起動する前に通知経路を実行時に取得・検証する。Herdrを先に試し、失敗した時だけ検証済みtmux adapterを評価する。

if PANE_ID="$(herdr pane current 2>/dev/null | jq -er '.result.pane.pane_id')" &&
   herdr pane get "$PANE_ID" >/dev/null 2>&1; then
  YUNOMI_ROUTE=herdr
elif [ -n "${TMUX:-}" ] && [ -n "${YUNOMI_NOTIFY_CMD:-}" ]; then
  TMUX_PANE_ID="$(tmux display-message -p '#{pane_id}')" || exit 1
  test "$(tmux display-message -p -t "$TMUX_PANE_ID" '#{pane_id}')" = "$TMUX_PANE_ID" || exit 1
  YUNOMI_ROUTE=tmux
else
  echo "no proven yunomi notification route" >&2
  exit 1
fi
  • Herdr経路の書込み可能レビューは、自分で確認する場合もユーザーにレビューさせる場合も、必ず --loop --notify-pane "$PANE_ID" を付ける。
  • 純tmux経路は、事前検証済みの YUNOMI_NOTIFY_CMD が設定されている場合だけ --loop で起動する。yunomi share はread-only例外。
  • Claude CodeはBashツールの run_in_background: true で起動し、exitを検知する。
  • Herdr経路で--notify-paneが無い起動、通知経路を実行時に証明できない起動、記憶やfocused paneから通知先を推測する起動は禁止。
  • 通知先を証明できない場合は、yunomiを起動せずfail closedで報告する。
  • --notify-pane はHerdr pane専用。tmuxの%paneを渡さず、その場でraw tmux send-keys fallbackを作らない。Herdrが使えない純tmux環境は、安全なキュー配送と到達性を事前検証済みの YUNOMI_NOTIFY_CMD がある場合だけ --loop で起動し、それ以外はfail closedにする。
  • ユーザーが「開いて」と明示した場合は、最終ビルドを使うサーバーの healthz と対象UIを確認してから、macOSの open http://127.0.0.1:<port>/ で操作可能な画面を開き、ユーザーの確認が終わるまでサーバーを維持する。スクリーンショットだけを開いて代用してはいけない。明示依頼がない自動起動では、yunomi自身のブラウザ起動を使ってよい。

この環境のyunomi更新

yunomi本体・UI・生成Skillの確定変更は、ソース変更やMoonBit buildだけで完了扱いにしない。必ず現在のリポジトリから配布物を作り、このMacの標準CLIへ置き換えて実物を検証する。

npm run prepack
mise exec [email protected] -- npm install -g "$PWD"
shasum -a 256 dist/server/server.js \
  /Users/kazuph/.local/share/mise/installs/node/22.22.0/lib/node_modules/yunomi/dist/server/server.js
yunomi --version
  • 2つのserver.jsのSHA-256が一致しない状態で完了報告しない。
  • 生成Skillを変更した場合は、yunomi install <agent> --global でclaude / codex / cursor / opencode / cline / geminiへ再配布し、各ファイルの存在と通知経路契約を再確認する。
  • 赤テスト用の途中状態はインストールしない。対象E2Eとrelease buildを通過した確定buildだけを標準CLIへ置き換える。

構文エラーの回避

テンプレートリテラル内でバッククォートを使う場合はエスケープする:

  • 正: `\``
  • 誤: `

Read the full file on GitHub · 124 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. 8d ago First seen · 124 lines · 2,077 tokens per session scan A aafbbbffc3ee

Subscribe to this mod's changes

yunomi CLAUDE.md is an instructions file published in the GitHub repository kazuph/yunomi (21 stars, last pushed 3d ago), licensed MIT. It adds 2,077 tokens to every session, about $0.0104 per session on Opus 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

Other instructions, from other repositories

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens