wherefore CLAUDE.md

wherefore CLAUDE.md is an instructions file for coding agents from DustinVK/wherefore. It costs 1,571 tokens per session, scanned A, original, MIT.

A set of instructions for working on a Claude Code plugin marketplace and its wherefore plugin, including how to check the plugin and marketplace before changes are accepted.

In plain words
What is it for?
Use it when editing this marketplace, validating one plugin or the whole marketplace, or checking JSON files and naming before publishing.
Why use it?
It gives Claude Code the repository rules and validation steps, so changes can be checked consistently instead of relying on guesswork.

Instructions file

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 instructions/dustinvk/wherefore/claude-md
Clone the repo
git clone --depth 1 https://github.com/DustinVK/wherefore

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/dustinvk/wherefore/claude-md.svg)](https://agentmods.dev/instructions/dustinvk/wherefore/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/dustinvk/wherefore/claude-md"><img src="https://agentmods.dev/badge/instructions/dustinvk/wherefore/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,571 This file is loaded in full into every session.
When invoked 1,571 The same file — it is already loaded in full.
Security scan A 0 findings. 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 $0.01571 $0.01571
Opus 5 $0.00785 $0.00785
Sonnet 5 $0.00314 $0.00314
Haiku 4.5 $0.00157 $0.00157

Measured 3d ago against content hash 7a1b25395009, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

wherefore 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 3d 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 · 83 lines

How it starts

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

CLAUDE.md

@AGENTS.md

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

What this repo is

A Claude Code plugin marketplace. It hosts the wherefore plugin, which ships five skills and a command for capturing technical decisions into a repo-committed wherefore log, querying them later, closing out open questions, retiring superseded or obsolete decisions, and tracking forward-looking plan items. The marketplace itself has no build system, tests, or runtime -- the only "code" is JSON manifests, Markdown skill/command definitions, and a GitHub Actions CI workflow.

Validation

# Validate a single plugin
claude plugin validate ./plugins/wherefore

# Validate the whole marketplace
claude plugin validate .

# Check JSON syntax (what CI does first)
python3 -m json.tool .claude-plugin/marketplace.json
python3 -m json.tool plugins/wherefore/.claude-plugin/plugin.json

CI (.github/workflows/validate-plugins.yml) runs both JSON checks and claude plugin validate on every push and PR.

Publishing / setup

Marketplace and plugin names must be kebab-case -- the Claude.ai sync rejects anything else.

To test locally before pushing:

# From this repo's root
/plugin marketplace add ./
/plugin install wherefore@dustinvk

Repo structure and how pieces fit together

.claude-plugin/marketplace.json       # registry: lists plugins by name + source path
plugins/wherefore/
  .claude-plugin/plugin.json          # plugin manifest (name, version, author, license)
  CLAUDE.snippet.md                   # pasted into a consuming project's CLAUDE.md to
                                      # make Claude offer to capture decisions automatically
  commands/seed.md                    # /wherefore:seed: inspects a codebase and proposes
                                      # wherefore/topics.md vocabulary (ask-before-write)
  skills/capture/
    SKILL.md                          # captures a discussion into wherefore/ as one or
                                      # more tagged Markdown entries; registers any open
                                      # questions as questions/Q-NNN-short-slug.md files
    topics.seed.md                    # starter vocabulary copied on first use if no
                                      # topics.md exists yet
  skills/ask/
    SKILL.md                          # answers "why did we build X?" by shortlisting from
                                      # entry frontmatter, then opening matching files;
                                      # also surfaces open questions in the same area
  skills/resolve/
    SKILL.md                          # closes an open question by editing its
                                      # questions/Q-NNN-short-slug.md file (answer, rationale, back-link)
  skills/supersede/
    SKILL.md                          # marks an entry superseded (with pointer to
                                      # replacement) or obsolete via its frontmatter
  skills/slate/
    SKILL.md                          # manages wherefore/plan/ items (open, advance,
                                      # drop, read): one verb, four intents; never
                                      # writes log/ or questions/, hands off instead

Read the full file on GitHub · 83 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. 3d ago First seen · 83 lines · 1,571 tokens per session scan A 7a1b25395009

Subscribe to this mod's changes

wherefore CLAUDE.md is an instructions file published in the GitHub repository DustinVK/wherefore (1 stars, last pushed 1mo ago), licensed MIT. It adds 1,571 tokens to every session, about $0.0079 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-08-31.