actuals
CLAUDE.md2 starsChanged 4 months agoMITView on GitHub
This repo is a Claude Code plugin AND its own marketplace (.claude-plugin/marketplace.json points at ./.). GitHub repo name is actuals; the local folder name doesn't matter.
In this repositoryOne other file it gives its agents.
- AGENTS.mdAGENTS.md
The file
We split this CLAUDE.md into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Headless runs: always pair --plugin-dir with --add-dir <this repo> — plugin loading does NOT grant file reads into the plugin dir, and …
- Very specific: line 9
Cache gotcha: after a real /plugin install, Claude Code loads the snapshot in ~/.claude/plugins/cache/, NOT this repo.
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Actuals — developer notes
This repo is a Claude Code plugin AND its own marketplace (.claude-plugin/marketplace.json points at ./.). GitHub repo name is actuals; the local folder name doesn't matter.
Dev loop
- Iterating:
claude --plugin-dir /path/to/this/repoloads the plugin ephemerally — edits take effect on the next session, nothing is registered. - Headless runs: always pair
--plugin-dirwith--add-dir <this repo>— plugin loading does NOT grant file reads into the plugin dir, and without it skills can't read the catalog/templates (they fall back to lint-guided reconstruction; works, but degraded — see README "Headless / CI usage"). - Cache gotcha: after a real
/plugin install, Claude Code loads the snapshot in~/.claude/plugins/cache/, NOT this repo. Edits require aversionbump in BOTH.claude-plugin/plugin.jsonand.claude-plugin/marketplace.json, then/plugin marketplace update actuals-marketplace+ reinstall. - Version policy: bump on every published change. Patch = docs/copy, minor = skill behavior or schema change, major = breaking spec-format change.
- Version locations (bump together):
.claude-plugin/plugin.json,.claude-plugin/marketplace.json, each skill'smetadata.versioninskills/*/SKILL.md,SERVER_INFOinserver/index.mjs, andVERSIONinskills/scorecard/scripts/render-scorecard.mjs(it stamps the rendered dashboard footer — it silently drifted to 0.1.0 once because it wasn't on this list). - Never publish:
dogfood-results/(real employer projects, named colleagues) andprivate/are gitignored and must stay that way. Before any release, confirmgit status --shortshows nothing from either. - Cross-tool distribution: skills follow the open Agent Skills standard (agentskills.io) and install into Codex/Cursor/Copilot/Gemini/OpenCode etc. via
npx skills add Hamza-Saraswat/actuals(Vercel skills CLI, skills.sh registry). The repo'sskills/<name>/SKILL.mdlayout IS the distribution format — keep it. Skills must stay installable as a set: cross-skill refs (../audit/references/…, scorecard's import of design's linter) assume sibling install dirs; declare constraints incompatibilityfrontmatter, never duplicate content.
Architecture rules
skills/is the product. Nocommands/directory — skills ARE the slash commands. Frontmatter names are BARE (name: design, matching the directory); Claude Code prepends the plugin name automatically, yielding/actuals:design. Never put the plugin prefix in a skill'sname— it double-prefixes on current Claude Code and the colon breaks the Agent Skills charset.- One source of truth: the anti-pattern catalog lives ONLY in
skills/audit/references/anti-patterns.md(design's vanity pass reads it cross-skill). Deterministic logic lives ONLY inskills/design/scripts/spec-lint.mjsandskills/audit/scripts/vanity-scan.mjs; the MCP server (server/index.mjs) imports theirlintSpec()/scanFiles()exports — never duplicate a rule in two places (that's VM-18, definition rot, and we'd be hypocrites). - Portability: skill bodies must work outside Claude Code (Agent Skills standard). Anything Claude-Code-specific (MCP config writes,
${CLAUDE_PLUGIN_ROOT}, scheduled tasks) is phrased "if available" with a manual fallback. - Frontmatter must be STRICT YAML: descriptions are folded block scalars (
description: >-) — a plain unquoted scalar containing:breaks strict parsers (the skills CLI silently skips the skill) even though Claude Code tolerates it. Validate withnpx -y skills add ./ --list(must find all 5) before releasing. - Scripts: Node 18+, zero dependencies, ESM (.mjs). Each is a library (named exports) + CLI (
node script.mjs <args> --json). System Python here is 3.9 — don't add Python. - Fixtures are oracles:
examples/*/expected-audit-findings.mdare answer keys. If you change a rule in vanity-scan or the catalog, re-run it against both fixtures and update the keys deliberately, never silently.
User-facing artifact contract (what skills write into USER repos)
metrics/MEASUREMENT.md— the versioned spec (schema inskills/design/assets/MEASUREMENT.template.md; validated by spec-lint)metrics/audits/YYYY-MM-DD-audit.md— dated audit reportsmetrics/instrumentation/— staged generated codemetrics/dashboard.html— rendered scorecard (deterministic, recorded values only — no live queries)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

