meta: Instructions file for Claude Code

CLAUDE.md

meta CLAUDE.md is an instructions file for Claude Code from gitkb/meta. It costs 918 tokens per session, scanned A, original, MIT.

A set of instructions for working on the gitkb/meta project. It describes the project layout, connections to other repositories, logging, and debugging the command-line tool and its Git plugin.

In plain words
What is it for?
Use it when changing gitkb/meta or investigating problems in its command-line tool or Git plugin.
Why use it?
It gives a coding agent project-specific guidance instead of making it infer how the repositories and debugging tools fit together.

Instructions file for Claude Code

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

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

View source ↗ gitkb/meta
Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/gitkb/meta/claude-md"><img src="https://agentmods.dev/badge/instructions/gitkb/meta/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 918 This file is loaded in full into every session.
When invoked 918 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.00918 $0.00918
Opus 5.5 $0.00367 $0.00367
Sonnet 5.5 $0.00184 $0.00184
Haiku 4.5 $0.00092 $0.00092

Measured 15d ago against content hash 18724bb5f509, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

meta 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 15d 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 · 80 lines

How it starts

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

Project Layout

All of meta's crates (meta_cli/, meta_core/, loop_lib/ and the rest) are folders in this one git repo and members of the root Cargo workspace (Cargo.toml). A change across crates is one commit and one PR here. A new crate is a new folder added to the workspace members.

The repo is also a meta workspace: .meta.yaml lists two separate repos, agent and meta-plugins, which are cloned into gitignored folders and keep their own history. Neither is needed to build the workspace.

Project config (.meta.yaml):

projects:
  agent:
    repo: [email protected]:gitkb/agent.git
  meta-plugins:
    repo: [email protected]:gitkb/meta-plugins.git

Nested meta repos: Use meta: true when a child project contains its own .meta.yaml:

projects:
  open-source:
    repo: [email protected]:org/open-source.git
    meta: true  # This directory has its own .meta.yaml

This enables recursive operations:

meta -r git update       # Clones missing repos, nested meta repos' too; pulls nothing
meta -r git pull --ff-only  # Brings every cloned repo up to date
meta -r project list     # Shows full tree
meta -r exec -- cargo test  # Runs across all nested repos

What meta does: Clones the repos a workspace lists, runs commands across them in parallel (meta exec), manages git worktrees across the entire workspace (meta git worktree), and provides project-level coordination.

Contracts with other repos

Other repos run and read meta, so these are contracts: CLI arguments and option order, --json fields, exit codes, text a caller parses (--metadata-only in meta git worktree list --help), .meta.yaml, the META_WORKTREES variable, and the plugin protocol.

Before merging a change to one, find its callers and test the real pair:

  1. Search every repo in the harmony checkout, scripts, workflows and skills included. Child repos are gitignored, so plain rg skips them, and it skips .github too: use rg --no-ignore --hidden -g '!.git' -g '!**/.worktrees/**'.
  2. Additive change that callers can ignore (a new field or flag): say so in the PR.
  3. Breaking change: put ! in the PR title. List every caller repo in the PR body with its companion PR, or "none found" and the search you ran.
  4. Each companion PR moves the caller's pin of the producer to this PR's head, so its CI runs the real pair. A caller with no pin runs against a build of this PR's head instead, and its PR shows the result. A fake meta script alone proves nothing.
  5. Both PRs pass on that pair and merge together, meta first.
  6. A failed bump of meta in a caller belongs to the author of the change it moved to, who fixes it or reverts it; for a bot bump, that means the author of the upstream change.

Read the full file on GitHub · 80 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. 15d ago First seen · 80 lines · 918 tokens per session scan A 18724bb5f509

Subscribe to this mod's changes

meta CLAUDE.md is an instructions file published in the GitHub repository gitkb/meta (20 stars, last pushed 8d ago), licensed MIT. It adds 918 tokens to every session, about $0.0037 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-11-15.

Related

meta CLAUDE.md compared with instructions from other repositories

meta CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
meta CLAUDE.mdgitkb/metaInstructions file208d agoMITA918Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file289k2d agoMITA4,393Codex, OpenCode