knowledge-mcp: Skill for Claude Code

.claude/skills/census-and-reuse/SKILL.md

census-and-reuse is a skill for Claude Code from fulminate-io/knowledge-mcp. It costs 47 tokens per session (1,047 once invoked), scanned A, original, Apache-2.0.

A rulebook for systematically listing code surfaces and reusing existing symbols and patterns before creating new ones.

In plain words
What is it for?
It is for planning large code edits, counting affected sites, finding callers, and checking that a sweep is complete.
Why use it?
It prevents incomplete hand-counted migrations and duplicate implementations across many files.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

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

Reuse

Borrowing it

Nothing to install: this file belongs to fulminate-io/knowledge-mcp. 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/fulminate-io/knowledge-mcp/main/.claude/skills/census-and-reuse/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/fulminate-io/knowledge-mcp

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 census-and-reuse

README.md
[![agentmods](https://agentmods.dev/badge/skills/fulminate-io/knowledge-mcp/census-and-reuse/github.svg)](https://agentmods.dev/skills/fulminate-io/knowledge-mcp/census-and-reuse)
Your own site
<a href="https://agentmods.dev/skills/fulminate-io/knowledge-mcp/census-and-reuse"><img src="https://agentmods.dev/badge/skills/fulminate-io/knowledge-mcp/census-and-reuse/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 census-and-reuse

Your own site · 80×15
<a href="https://agentmods.dev/skills/fulminate-io/knowledge-mcp/census-and-reuse"><img src="https://agentmods.dev/badge/skills/fulminate-io/knowledge-mcp/census-and-reuse.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,047 The whole file, excluding the scripts and references it only reads on demand.
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.00047 $0.01047
Opus 5 $0.00023 $0.00524
Sonnet 5 $0.00009 $0.00209
Haiku 4.5 $0.00005 $0.00105

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

Security

Grade A, and why

census-and-reuse 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/skills/census-and-reuse/SKILL.md · 82 lines

How it starts

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

CENSUS-AND-REUSE — enumerating surfaces and citing what already exists

Programmatic census

Any surface larger than ~15 sites or ~5 files, or pattern-defined, is enumerated PROGRAMMATICALLY (ast/grep/script, commands recorded, run during planning) — hand counts rot and do not converge under review. The census output IS the surface: per-file lists are floors; every sweep completion criterion RE-RUNS the census and asserts remainder-by-kind = 0. Multi-kind migrations get a small checked-in census script emitting a manifest ({file, line, kind}) with judgment sites marked manual. Pattern breadth: aliased forms, template literals, comment occurrences (state whether they count), indirect flows via callers — every kind the site definition matches needs a classification, or the gates are permanently unsatisfiable.

UNIFORM structural edits across many files are prescribed as ast operation:"replace" (dry-run preview, where-tree scoping, re-parse gate) — never sed/perl, never enumerate-then-Edit when one template covers every site. Sweep size is NOT an architecture constraint: never pick a lesser design to dodge a uniform sweep.

Counts are floors

Before any count or completeness claim becomes load-bearing, re-derive it with a pattern strictly BROADER than the one that produced it, then subtract. An exact-phrase sweep is a floor: one inflection, one casing, one quoting difference hides members. Helper indirection defeats literal-pattern censuses in three disguises: a helper taking the payload under another name, an anonymous inline struct, a synthetic internally-manufactured payload — after the literal pass, re-derive keyed on the CONSUMED TYPE and reconcile. A denominator you cannot rebuild row by row is an estimate wearing a measurement's clothes.

Caller census before touching a symbol

Read the full file on GitHub · 82 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 · 82 lines · 47 tokens per session scan A a97f7f1632ca

Subscribe to this mod's changes

census-and-reuse is a skill published in the GitHub repository fulminate-io/knowledge-mcp (1 stars, last pushed 4d ago), licensed Apache-2.0. It adds 47 tokens to every session and 1,047 once invoked, about $0.0002 per session on Opus 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-09-04.