oretachi: Instructions file for Claude Code

CLAUDE.md

oretachi CLAUDE.md is an instructions file for Claude Code from ishida-supsys/oretachi. It costs 1,419 tokens per session, scanned A, original, MIT.

Repository instructions for a GitHub workflow where selected pull requests can merge automatically after required checks pass. A pull request is a proposed code change for review.

In plain words
What is it for?
Use them when preparing, reviewing, enabling, or disabling automatic merges and when deciding whether a pull request is ready.
Why use it?
They explain when automatic merging starts, why adding the label is a human approval step, and how to stop it safely.

Instructions file for Claude Code

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ishida-supsys/oretachi/claude-md"><img src="https://agentmods.dev/badge/instructions/ishida-supsys/oretachi/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,419 This file is loaded in full into every session.
When invoked 1,419 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.01419 $0.01419
Opus 5.5 $0.00568 $0.00568
Sonnet 5.5 $0.00284 $0.00284
Haiku 4.5 $0.00142 $0.00142

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

Security

Grade A, and why

oretachi 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 1mo 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 · 74 lines

How it starts

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

oretachi — リポジトリ共通の作業ルール

auto-merge (automerge ラベル)

automerge ラベルの付いた PR は、CI (type-check / cargo-check) が通り次第、 人手を介さず自動でマージされます。 .github/workflows/enable-auto-merge.yml が gh pr merge --auto --merge を代行するためです。 必須チェックは main ruleset の CI 2件だけで、レビュー承認は要求されません。

自動で有効化される条件

  • draft でない かつ automerge ラベルが付いている PR。
  • 発火契機は opened / reopened / ready_for_review / labeled の4つ。

有効化・解除の非対称性(重要)

  • 有効化は最初の1回だけです。synchronize は拾っていないため、 auto-merge が解除された状態(人が手で切った / コンフリクトで GitHub 側が解除した等)は push しても再武装されません。 再武装したいときはラベルを外して付け直します(labeled が再発火します)。
  • ラベルを外しても auto-merge は解除されません。 ラベルは起動契機にすぎず、GitHub 側の auto-merge フラグとは独立です。 止めるには gh pr merge --disable-auto <PR> を実行するか、 PR 画面の Disable auto-merge を押します。

AI が守ること

automerge ラベルは「人の承認が済んだ印」ではなく、 「この PR に人の判断を要する論点はもう残っていない」という宣言です。 したがって AI が自分で付けても構いませんが、次の条件をすべて満たすことが前提です。

  • セルフレビューを実施し、挙がった指摘を解消済みであること。
  • 該当する変更を含む場合、pnpm run type-check / pnpm test / cd src-tauri && cargo check が ローカルで通っていること(pnpm test は必須チェックの type-check ジョブに相乗りしています)。
  • 差分が issue / 依頼のスコープに収まっており、想定外の副作用がないこと。
  • ゲートの定義そのものに触る変更でないこと。 具体的には .github/workflows/ 配下、 main ruleset やブランチ保護、リリース関連、権限・シークレット、そしてこの CLAUDE.md です。 「これは弱めるのではなく強化だ」という自己判定はしません。触るなら一律で該当とみなします。 ゲートの定義を変える PR を、そのゲートを通り抜けてマージしてはいけません。
  • 人・issue・依頼元のスキルがレビューを求めていないこと。 誰かが明示的にレビューを 要求しているなら、AI 自身に迷いがなくても条件は満たしていません。
  • 人に聞きたいことが1つも残っていないこと。 例えば次のいずれかに当てはまるなら残っています。
    • 仕様の解釈が割れ、読み方次第で成果物が変わる
    • 妥当な代替案があり、どちらを採るかで迷っている
    • 後方互換性やデータ移行に影響する
    • UI 文言・デザインなど、好みが判断に入る
    • 単に、レビューで意見が欲しい

1つでも満たせない、あるいは迷ったらラベルを付けずに出してください。 draft で出す場合も同様にラベルは付けません。draft はラベルが付いていれば ready_for_review で auto-merge が有効化されるため、それ自体は歯止めになりません。

理由は取り返しのつき方が逆だからです。ラベルの付け忘れは後から人がいつでも付けられますが、 誤って付けた PR は CI が通った瞬間にマージされ、取り消せません。判断に迷ったら 「付けない」側へ倒します。

なおセルフレビューの具体的な手段(コマンド名・スキル名)は環境ごとに異なるため、 ここには書きません。各自の環境設定(.claude/CLAUDE.md など、リポジトリに含まれない ローカル側の指示)に従ってください。

ラベルを付ける場合・すでに付いている場合の注意:

Read the full file on GitHub · 74 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. 1mo ago Changed · +35 lines · +777 tokens per session 6facd7074b89
  2. 1mo ago First seen · 39 lines · 642 tokens per session scan A cb4fda26d71f

Subscribe to this mod's changes

oretachi CLAUDE.md is an instructions file published in the GitHub repository ishida-supsys/oretachi (2 stars, last pushed 2d ago), licensed MIT. It adds 1,419 tokens to every session, about $0.0057 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-09-10.

Related

Other instructions, from other repositories

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 · 9,715 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,461 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, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 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,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,750 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,261 tokens