project-config

project-config is a cursor rule for Claude Code, Cursor from ANcpLua/ancplua-claude-plugins. It costs 1,159 tokens per session, scanned C, original, MIT.

A contributor guide for a Claude Code plugin marketplace repository. A marketplace is a Git repository that lists and distributes Claude Code add-ons.

In plain words
What is it for?
Use it when developing, organizing, or validating marketplace plugins, commands, agents, skills, hooks, or MCP servers.
Why use it?
It documents the repository layout and file-path rules contributors must follow when adding or maintaining plugins.

Cursor rule for Claude CodeCursor

Written for Claude Code and Cursor: Claude Code plugin machinery, but also installed under .cursor/. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/ancplua/ancplua-claude-plugins/project-config
Clone the repo
git clone --depth 1 https://github.com/ANcpLua/ancplua-claude-plugins

Made for: Claude Code, Cursor.

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 project-config

README.md
[![agentmods](https://agentmods.dev/badge/rules/ancplua/ancplua-claude-plugins/project-config.svg)](https://agentmods.dev/rules/ancplua/ancplua-claude-plugins/project-config)
Your own site
<a href="https://agentmods.dev/rules/ancplua/ancplua-claude-plugins/project-config"><img src="https://agentmods.dev/badge/rules/ancplua/ancplua-claude-plugins/project-config.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,159 This file is loaded in full into every session.
When invoked 1,159 The same file — it is already loaded in full.
Security scan C 1 finding. Scan, not verified.
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.01159 $0.01159
Opus 5 $0.00580 $0.00580
Sonnet 5 $0.00232 $0.00232
Haiku 4.5 $0.00116 $0.00116

Measured 5d ago against content hash 446733e31e6e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade C, and why

project-config scanned grade C with 1 finding 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- Hand-maintained COPY of CLAUDE.md (the canonical guide at the repo root). Keep the body in sync by hand when CLAUDE.md changes. .github/copilot-instructions.md is a SEPARATE hand-maintained doc, not a copy. -->
.cursor/rules/project-config.mdc · 107 lines

How it starts

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

ancplua-claude-plugins

A Claude Code plugin marketplace — a git repo that distributes plugins (commands, agents, skills, hooks, MCP servers) through a marketplace.json manifest. Claude Code only — no other CLI mirrors, no non-Claude models. The plugin inventory and install steps live in README.md; this file is the contributor / dev guide.

Repo structure

.claude-plugin/marketplace.json   # Claude Code marketplace manifest (lists every plugin)
plugins/<name>/                   # one directory per plugin (17 today)
.github/workflows/ci.yml          # JSON + manifest validation — the only gate
automation/                       # cron cleanup runner — IGNORE for dev (see automation/policy.md)
README.md                         # user-facing: what each plugin does + how to install

Plugin layout

Each plugin under plugins/<name>/:

.claude-plugin/plugin.json   # required: name, version, description
commands/  agents/  skills/  hooks/   # all optional
README.md                    # per-plugin docs

Manifest path rule: component/source paths in plugin.json and marketplace.json must start with ./ (agent paths also end in .md). A bare path fails recent CLIs with <field>: Invalid input.

Adding or changing a plugin

  1. Create/edit plugins/<name>/ with a valid .claude-plugin/plugin.json.
  2. Register it in .claude-plugin/marketplace.json. Each entry needs name, source (./plugins/<name>), description.
  3. Bump the plugin's version on any behavioral change (see next section).
  4. Validate, commit, open a PR.

Version bumps reach the cache; edits don't

Installed plugins run from ~/.claude/plugins/cache/<marketplace>/<plugin>/<version>/, pinned to the installed commit — not from this working tree. /plugin update re-syncs the cache only when the version string changes; on an equal version it reports "already at the latest" and keeps running the old code. A fix committed without a version bump never reaches the running plugin.

Read the full file on GitHub · 107 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 First seen · 107 lines · 1,159 tokens per session scan C 446733e31e6e

Subscribe to this mod's changes

project-config is a cursor rule published in the GitHub repository ANcpLua/ancplua-claude-plugins (5 stars, last pushed 19d ago), licensed MIT. It adds 1,159 tokens to every session, about $0.0058 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.