claude-plugins: Instructions file for Claude Code

CLAUDE.md

claude-plugins CLAUDE.md is an instructions file for Claude Code from anthony-spruyt/claude-plugins. It costs 659 tokens per session, scanned A, original, MIT.

Repository-specific instructions for Claude Code, covering a plugin monorepo. A monorepo is one repository that contains several related projects, such as rule engines, security rules, best-practice rules, and tests.

In plain words
What is it for?
Use them when modifying the hookify-plus engine or its rule plugins, running unit and integration tests, and updating plugin versions in manifests.
Why use it?
They give contributors the repository layout, test commands, versioning rules, and plugin-discovery conventions in one place. This reduces errors when changing rules or releasing updates.

Instructions file for Claude Code

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

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

Reuse

Borrowing it

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

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 claude-plugins CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/anthony-spruyt/claude-plugins/claude-md"><img src="https://agentmods.dev/badge/instructions/anthony-spruyt/claude-plugins/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 659 This file is loaded in full into every session.
When invoked 659 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.00659 $0.00659
Opus 5.5 $0.00264 $0.00264
Sonnet 5.5 $0.00132 $0.00132
Haiku 4.5 $0.00066 $0.00066

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

Security

Grade A, and why

claude-plugins 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 5d 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 · 62 lines

How it starts

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

CLAUDE.md

Repository Purpose

Plugin monorepo for Claude Code. Contains the hookify-plus engine and rule plugins.

Scope

Rules and shims guard against an agent's accidental mistakes: write, test and review them against commands an agent would plausibly run by mistake.

Structure

  • hookify-plus/ — Rule engine plugin (convention-based discovery)
  • security-hooks/ — 32 blocking rules (requires hookify-plus), plus a SessionStart hook and shim/ that make grep and rg skip secret file names (standalone)
  • best-practices/ — 4 warning rules and 1 blocking rule (requires hookify-plus)
  • agent-kit/ — Progress notes hooks, bin/ helper scripts, writing-agents skill (standalone)
  • tests/ — Integration tests for all rules

Commands

# Run tests
python3 tests/helpers/run_hookify_tests.py tests/hooks/hookify_test_cases.yaml --verbose

# Run bats integration tests
bats tests/hooks/

# Run agent-kit tests
bats tests/agent-kit/

# Run security-hooks tests (grep and rg shims and installer)
bats tests/security-hooks/

# Run unit tests
pytest tests/unit/ -v

# Replay real session logs through the rules (see the replay-logs skill)
python3 tests/helpers/replay_transcripts.py --exclude-project claude-plugins

# Fuzz the rules: speed (slow regexes), crash (parser), bypass (real leaks no rule blocks)
python3 tests/helpers/fuzz_rules.py speed|crash|bypass

Versioning

Plugin versions are read from plugin.json manifests. claude plugins update compares the installed version string against the manifest — same string means "already at latest" even if code changed.

Do not bump versions in PRs. release-please owns them (release-please-config.json, .release-please-manifest.json):

  • Each plugin directory is a package. A commit touching it counts toward its next release
  • The PR title sets the bump: fix:, perf:, revert: patch, feat: minor, a ! before the colon (feat!:) major. Every other type releases nothing. Put the ! in the title: the squash merge drops BREAKING CHANGE: footers from the PR body
  • release-please keeps one release PR open that writes version in each <plugin>/.claude-plugin/plugin.json and a CHANGELOG.md. Merging it ships
  • .claude-plugin/marketplace.json entries carry no version; plugin.json would override it anyway

Read the full file on GitHub · 62 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. 5d ago Changed · +7 lines · +80 tokens per session fe4eb80aa0a6
  2. 23d ago Changed · -2 lines · +113 tokens per session f0e9cbc91828
  3. 25d ago Changed · +4 lines · +41 tokens per session 070d2fda9be6
  4. 1mo ago Changed · +6 lines · +73 tokens per session 3f257cbd2d1c
  5. 1mo ago Changed 0a6d73b8a784
  6. 1mo ago Changed 6ee3cc2cc725
  7. 1mo ago Changed 693210b4bbcc
  8. 2mo ago First seen · 47 lines · 352 tokens per session scan A 0084b9f9fc27

Subscribe to this mod's changes

claude-plugins CLAUDE.md is an instructions file published in the GitHub repository anthony-spruyt/claude-plugins (2 stars, last pushed yesterday), licensed MIT. It adds 659 tokens to every session, about $0.0026 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

claude-plugins CLAUDE.md compared with instructions from other repositories

claude-plugins CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
claude-plugins CLAUDE.mdanthony-spruyt/claude-pluginsInstructions file2yesterdayMITA659Claude 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