ai-plugin: Instructions file for Claude Code

CLAUDE.md

ai-plugin CLAUDE.md is an instructions file for Claude Code from controlplane-com/ai-plugin. It costs 2,189 tokens per session, scanned A, original, MIT.

A contributor guide explains the layout and rules of the cpln plugin, a cross-tool add-on containing skills, commands, agents, rules, hooks, and manifests. It covers how Claude, Codex, Cursor, and Antigravity CLI use the shared plugin files.

In plain words
What is it for?
It is for navigating the plugin repository, following naming and authoring conventions, and understanding how always-applied rules are loaded.
Why use it?
It helps contributors understand where each type of plugin content belongs and which files affect different coding tools.

Instructions file for Claude Code

Written for Claude Code: SessionStart hook event. Also seen: mentions .claude-plugin; mentions Claude Code; reads ~/.codex paths.

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

Reuse

Borrowing it

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

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 ai-plugin CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/controlplane-com/ai-plugin/claude-md"><img src="https://agentmods.dev/badge/instructions/controlplane-com/ai-plugin/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,189 This file is loaded in full into every session.
When invoked 2,189 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.02189 $0.02189
Opus 5.5 $0.00876 $0.00876
Sonnet 5.5 $0.00438 $0.00438
Haiku 4.5 $0.00219 $0.00219

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

Security

Grade A, and why

ai-plugin 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 17d 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 · 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.

Contributor context — Claude Code

End-user install and capability docs live in README.md. Development principles, validation, and release process live in CONTRIBUTING.md. This file is the working context for Claude Code sessions on this repo.

Repo layout

Everything lives under plugins/cpln/. All skills, rules, commands, agents, hooks, and per-client manifests are authored there, and every client (Claude Code, Codex, Cursor, Antigravity CLI) resolves that single directory as its plugin root.

Path Purpose
plugins/cpln/ The plugin itself. Claude, Codex, Cursor, and Antigravity CLI all resolve this as their plugin root.
plugins/cpln/skills/<name>/SKILL.md One domain skill per folder. Companion files (*.md) load on demand.
plugins/cpln/agents/<name>.md One self-contained guided workflow per file.
plugins/cpln/commands/<name>.md Slash command for Claude / Codex / Cursor.
plugins/cpln/rules/*.md cpln-core.md (alwaysApply: true) is the short core rule set: the SessionStart hook in plugins/cpln/hooks/hooks.json injects it (Claude / Codex), Cursor loads it in every chat, and the MCP server sends it in its handshake. cpln-guardrails.md (alwaysApply: false) is the operating guide, read on demand: Cursor applies it by its description and the MCP server serves it through get_cpln_rules. Antigravity has no SessionStart hook and does not load a plugin rules/ dir (its rules live in AGENTS.md), so it gets the core through the MCP handshake.
plugins/cpln/.claude-plugin/plugin.json Claude plugin manifest.
plugins/cpln/.codex-plugin/plugin.json + mcp.json Codex manifest and MCP config.
plugins/cpln/.cursor-plugin/plugin.json + mcp.json Cursor manifest and MCP config.
plugins/cpln/plugin.json + mcp_config.json Native Antigravity CLI (agy) manifest and MCP config (remote server uses serverUrl, not httpUrl). Antigravity has no SessionStart hook event (its hooks are PreToolUse/PostToolUse/PreInvocation/PostInvocation/Stop), so the core rules reach it through the MCP handshake and the operating guide through get_cpln_rules, not a hook. agy plugin validate ./plugins/cpln gates it; install with agy plugin install https://github.com/controlplane-com/ai-plugin/plugins/cpln.
plugins/cpln/.claude-mcp.json Claude MCP config.
.claude-plugin/marketplace.json Claude marketplace entry. Source: "./plugins/cpln".
.agents/plugins/marketplace.json Codex marketplace entry.
.cursor-plugin/marketplace.json Cursor marketplace entry.

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. 17d ago Changed · +194 tokens per session f2862f867d0b
  2. 1mo ago First seen · 101 lines · 1,995 tokens per session scan A 286881d12f62

Subscribe to this mod's changes

ai-plugin CLAUDE.md is an instructions file published in the GitHub repository controlplane-com/ai-plugin (11 stars, last pushed 4d ago), licensed MIT. It adds 2,189 tokens to every session, about $0.0088 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-31.

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,649 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,257 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,731 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,159 tokens