ccc: Instructions file for Claude Code

CLAUDE.md

ccc CLAUDE.md is an instructions file for Claude Code from lexfrei/ccc. It costs 982 tokens per session, scanned A, original, BSD-3-Clause.

Repository instructions for Claude Code Companions, a marketplace repository that distributes Claude Code extensions such as agents, skills, and MCP servers. It contains extension definitions rather than application code.

In plain words
What is it for?
Use it when navigating the repository, adding a plugin, or checking its definitions. It describes where skills, agents, and MCP server configurations belong.
Why use it?
It explains the repository layout and conventions so contributors place and validate new extensions correctly.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions .claude-plugin; mentions CLAUDE.md; mentions Claude Code.

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

View source ↗ lexfrei/ccc
Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/lexfrei/ccc/claude-md"><img src="https://agentmods.dev/badge/instructions/lexfrei/ccc/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 982 This file is loaded in full into every session.
When invoked 982 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.00982 $0.00982
Opus 5.5 $0.00393 $0.00393
Sonnet 5.5 $0.00196 $0.00196
Haiku 4.5 $0.00098 $0.00098

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

Security

Grade A, and why

ccc 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 2mo 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 · 41 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

What This Is

Claude Code Companions (CCC) — an external marketplace repository for Claude Code plugins. It contains no application code; only plugin definitions (agents, skills, MCP servers) distributed via the Claude Code plugin marketplace system.

Repository Structure

Top-level directories group plugins by their primary component type, and one plugin may ship several types. There is no top-level agents/ directory: agents are always a directory inside a plugin, so a plugin that ships only agents lives under skills/ as well.

  • skills/ — Skill definitions (markdown prompts in skills/<name>/skills/<skill>/SKILL.md, metadata in skills/<name>/.claude-plugin/plugin.json). A single skill plugin can bundle multiple skills (e.g., review-toolkit contains branch-review, pr-review), and it can also ship agents in skills/<name>/agents/<agent>.md — become bundles a set of specialist agents next to its roles. Claude Code scans that directory automatically
  • mcp/ — MCP server definitions (server config in mcp/<name>/.mcp.json, metadata in mcp/<name>/.claude-plugin/plugin.json)
  • hooks/ — Hook plugins (hook config in hooks/<name>/hooks/hooks.json, scripts in hooks/<name>/scripts/, metadata in hooks/<name>/.claude-plugin/plugin.json)

The marketplace registry is .claude-plugin/marketplace.json — it indexes all plugins with names, descriptions, source paths, and categories.

Adding a New Plugin

  1. Create the directory under the appropriate type (skills/, mcp/, or hooks/)
  2. Add .claude-plugin/plugin.json with name, version, description, author
  3. Add the content file(s): skills/<skill>/SKILL.md for skills, agents/<agent>.md for agents, .mcp.json for MCP servers, hooks/hooks.json + scripts for hooks — all relative to the plugin root
  4. Add a README.md in the plugin directory: what the plugin does, installation commands, a section per bundled skill/agent, and how to extend it if applicable (convention applies to new plugins; older plugins are backfilled opportunistically)
  5. Register the plugin in .claude-plugin/marketplace.json under the plugins array
  6. Update README.md to include the new plugin in the appropriate table

Read the full file on GitHub · 41 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. 2mo ago Changed · +23 tokens per session d112ec9dd094
  2. 3mo ago First seen · 41 lines · 959 tokens per session scan A 266ecbffb1c8

Subscribe to this mod's changes

ccc CLAUDE.md is an instructions file published in the GitHub repository lexfrei/ccc (12 stars, last pushed today), licensed BSD-3-Clause. It adds 982 tokens to every session, about $0.0039 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

ccc CLAUDE.md compared with instructions from other repositories

ccc CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ccc CLAUDE.mdlexfrei/cccInstructions file12todayBSD-3-ClauseA982Claude 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 file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109ktodayMITA3,077GitHub Copilot