claude-plugins: Instructions file for Claude Code

CLAUDE.md

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

Project instructions for a collection of Claude Code plugins, which add commands, skills, agents, or external tool connections to Claude Code. They explain how plugins are organised and listed in the marketplace.

In plain words
What is it for?
Use them when installing dependencies, creating a plugin, adding plugin components, bundling scripts, or updating the marketplace catalogue.
Why use it?
They reduce the chance of adding a plugin with missing files, invalid metadata, or an out-of-date marketplace listing. They also document the build and synchronisation steps.

Instructions file for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions .claude-plugin; mentions Claude Code.

This is nicknisi/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 →

Runs only inside a plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else, and the catalogue could not identify which plugin ships it.

Reuse

Borrowing it

Nothing to install: this file belongs to nicknisi/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/nicknisi/claude-plugins/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/nicknisi/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/nicknisi/claude-plugins/claude-md/github.svg)](https://agentmods.dev/instructions/nicknisi/claude-plugins/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/nicknisi/claude-plugins/claude-md"><img src="https://agentmods.dev/badge/instructions/nicknisi/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/nicknisi/claude-plugins/claude-md"><img src="https://agentmods.dev/badge/instructions/nicknisi/claude-plugins/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 552 This file is loaded in full into every session.
When invoked 552 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.00552 $0.00552
Opus 5.5 $0.00221 $0.00221
Sonnet 5.5 $0.00110 $0.00110
Haiku 4.5 $0.00055 $0.00055

Measured 2mo ago against content hash c37a087c0628, 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 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 · 102 lines

How it starts

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

Claude Code Plugin Marketplace

Personal collection of Claude Code plugins. For plugin and marketplace documentation, see:

Quick Start

# Install dependencies
pnpm install

# Bundle plugin scripts, then regenerate marketplace.json + the README list
pnpm run build && pnpm run sync

Plugin Structure

plugins/{name}/
├── .claude-plugin/
│   └── plugin.json          # Required metadata
├── .mcp.json                # Optional: MCP server config
├── agents/*.md              # Optional: agent definitions
├── skills/*/SKILL.md        # Optional: skills
├── commands/*.md            # Optional: slash commands
└── mcp-server/              # Optional: custom MCP server
    └── dist/                # Bundled output

Adding a Plugin

  1. Create plugin directory:

    mkdir -p plugins/my-plugin/.claude-plugin
    
  2. Create plugin.json:

    {
      "name": "my-plugin",
      "version": "0.1.0",
      "description": "Plugin description",
      "author": {
        "name": "Nick Nisi",
        "email": "[email protected]"
      },
      "keywords": ["optional", "search", "terms"]
    }
    
  3. Add components (agents, skills, commands, or MCP servers)

  4. Sync marketplace:

    pnpm run sync
    

The sync script auto-discovers plugins and generates marketplace.json.

  1. Make sure to update the README for that plugin.

MCP Servers

Custom MCP Server

Use ${CLAUDE_PLUGIN_ROOT} for paths:

{
  "mcpServers": {
    "my-server": {
      "command": "node",
      "args": ["${CLAUDE_PLUGIN_ROOT}/mcp-server/dist/index.js"],
      "env": {
        "API_KEY": "${API_KEY}"
      }
    }
  }
}

Build: pnpm run build (bundles to dist/)

External MCP Server

{
  "mcpServers": {
    "external": {
      "command": "npx",
      "args": ["-y", "@org/mcp-server"]
    }
  }
}

Read the full file on GitHub · 102 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 First seen · 102 lines · 552 tokens per session scan A c37a087c0628

Subscribe to this mod's changes

claude-plugins CLAUDE.md is an instructions file published in the GitHub repository nicknisi/claude-plugins (114 stars, last pushed 2mo ago), licensed MIT. It adds 552 tokens to every session, about $0.0022 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

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.mdnicknisi/claude-pluginsInstructions file1142mo agoMITA552Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot