autopilot: Instructions file for Claude Code

CLAUDE.md

autopilot CLAUDE.md is an instructions file for Claude Code from cookys/autopilot. It costs 2,600 tokens per session, scanned A, original, MIT.

A set of project instructions for developing the autopilot plugin, including its conventions, repository purpose, and available scripts.

In plain words
What is it for?
Use it when modifying autopilot, choosing between shell, JavaScript, or Python for a script, or checking whether an existing script already handles a task.
Why use it?
It gives coding agents the local rules and script inventory needed to make consistent changes in that repository.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/cookys/autopilot/claude-md"><img src="https://agentmods.dev/badge/instructions/cookys/autopilot/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,600 This file is loaded in full into every session.
When invoked 2,600 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.02600 $0.02600
Opus 5.5 $0.01040 $0.01040
Sonnet 5.5 $0.00520 $0.00520
Haiku 4.5 $0.00260 $0.00260

Measured today against content hash 10065dbe5472, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

autopilot 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 today.

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 · 101 lines

How it starts

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

autopilot — project conventions (Claude Code)

Goal

  • End goal: 3.0.0 這條線(開發中版號 3.0.0-alpha.N 遞增;3.0.0 正式版即操作員說的「3.0.0.0 大版」):開發 repo 照 10/31 定稿完整重排,再用白名單匯出成新的 public repo 發佈,開發 repo 轉為私有。同一條線上加入「角色套件」,讓弱模型也能做出好結果;評測證明有效之後,才改成預設。
  • Current milestone: 完成重排 P2–P5 和匯出工具;角色套件先做小規模試驗(pilot),由 PM 判定是否過門檻。backlog 從 146 條整理到約 82 條。
  • Not goals now: 升版到 3.1;hosted CI;改名、轉私有、建 public repo(這三件要 operator 本人動手)。
  • Source: 出處:10/31 定稿 addendum C;operator 11/5 說的「盤點完,全部 refactor」、角色套件的方向,d-c76529c3「做,撥額度」,以及 11/5 版號規則(3.0.0.0 大版、開發中 alpha 遞增)。;操作員 d-fb9989dc 定案(2026-11-05)

For Claude Code sessions working on the autopilot plugin itself. Skill-runtime conventions live in each skill's SKILL.md. Other agents (Codex, OpenCode, Antigravity): AGENTS.md; portability: references/multi-agent-portability.md.

Original wording of the rules shortened here: docs/dev/_archive/entry-docs/claude-md-detail.md. Directory rules load when a session reads or edits a file there: scripts/CLAUDE.md, skills/CLAUDE.md, references/CLAUDE.md, platforms/CLAUDE.md, mods/CLAUDE.md. A path assembled inside a script does not trigger the load, so every rule that causes damage when missed is also kept below, in one line.

What this repo is

Standalone lifecycle orchestration plugin: 30 skills, 3 methodology agents, 40 hooks (26 default-on, 14 opt-in). Optional integrations and coexistence rules: docs/guide/coexistence.md.

Scripts (prefer over LLM judgment)

scripts/ ships deterministic tooling the skills use instead of LLM judgment. Before hand-coding any mechanical step, check whether a script already covers it: group index below, full name list in scripts/CLAUDE.md, descriptions in docs/scripts-inventory.md.

  • A script existing is not evidence it is running: when one is meant to protect something, check that it actually fires; read references/evidence-discipline.md before recording anything as verified.
  • Every new or modified check (gate, hook, scan) ships a negative control: a deliberately broken case shown red before green (evidence-discipline §58).
  • Some scripts do not parse argv at all, and a few of those are installers that act immediately, so --help runs them: read the header comment of an unfamiliar script first.
  • A new script is dead code until wired into the reference doc, the SKILL.md table, docs/scripts-inventory.md and the name list in scripts/CLAUDE.md.
  • A script that parses JSON or could run under agy is Node built-ins only; bash only for pure git glue (table in scripts/CLAUDE.md).

Read the full file on GitHub · 101 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. today Changed 10065dbe5472
  2. yesterday Changed · -62 lines · -3,585 tokens per session 6fddce5ae4ea
  3. 2d ago Changed · +2 lines · +237 tokens per session 47a781bb687f
  4. 3d ago Changed · +44 tokens per session e2869b7ad764
  5. 4d ago Changed · +15 tokens per session 0cca2bdcd4ed
  6. 5d ago Changed · +2 lines · +66 tokens per session 5dbdffcf05a6
  7. 6d ago Changed · +7 tokens per session 918a8a76f7ca
  8. 8d ago Changed · +8 tokens per session 7a1085db1de6
  9. 9d ago Changed · +21 tokens per session 6e01d3bed1f0
  10. 11d ago First seen · 159 lines · 5,787 tokens per session scan A a16d53d13607

Subscribe to this mod's changes

autopilot CLAUDE.md is an instructions file published in the GitHub repository cookys/autopilot (12 stars, last pushed today), licensed MIT. It adds 2,600 tokens to every session, about $0.0104 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

autopilot CLAUDE.md compared with instructions from other repositories

autopilot CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
autopilot CLAUDE.mdcookys/autopilotInstructions file12todayMITA2,600Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode