claude-anvil / mf
CLAUDE.md2 starsChanged 5 months agoMITView on GitHub
Editing guidance for the mf Claude Code plugin. Read before editing this plugin. mf drives the mf CLI (a separate package at github.com/queelius/mf) to manage metafunctor.com Hugo content: papers, projects, posts, and series. The plugin ships no code of its own; it is the judgment layer (intent to workflow), and the CLI is the mechanics. The skill turns a natural-language request into the right mf CLI invocations. - skills/mf/SKILL.md: the site-architecture guide, mf CLI reference, and content workflows. This is…
In this repository11 other files it gives its agents.
- bookwright/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- crier/CLAUDE.mdCLAUDE.md
- kdp/CLAUDE.mdCLAUDE.md
- locksmith/CLAUDE.mdCLAUDE.md
- papermill/CLAUDE.mdCLAUDE.md
- pub-pipeline/CLAUDE.mdCLAUDE.md
- repoindex/CLAUDE.mdCLAUDE.md
- research-agent/CLAUDE.mdCLAUDE.md
- vista/CLAUDE.mdCLAUDE.md
- worldsmith/CLAUDE.mdCLAUDE.md
The file
We split this CLAUDE.md into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 53
Keep .claude-plugin/plugin.json and the mf entry in the root .claude-plugin/marketplace.json in sync (both currently 1.1.0).
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 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
CLAUDE.md (mf plugin)
Editing guidance for the mf Claude Code plugin. Read before editing this plugin.
What this is
mf drives the mf CLI (a separate package at github.com/queelius/mf) to manage
metafunctor.com Hugo content: papers, projects, posts, and series. The plugin
ships no code of its own; it is the judgment layer (intent to workflow), and the
CLI is the mechanics. The skill turns a natural-language request into the right
mf CLI invocations.
Components
skills/mf/SKILL.md: the site-architecture guide,mfCLI reference, and content workflows. This is the source of truth for CLI syntax and site conventions. Keep it factual; do not let it drift from the installed CLI.commands/mf.md: thin wrapper that triggers themfskill. Keep it thin.skills/scribe/SKILL.mdpluscommands/scribe.md: latent-theme discovery across the corpus.scribeis its own skill (not part of themfskill); the command is a thin wrapper. Keep workflow logic in the skill, not the command. (scribemay use crier'scrier_searchas an optional accelerator.)
Boundary with the crier plugin
mf creates and updates content; the separate crier plugin distributes it.
The pipeline is mf to Hugo to crier. Never reimplement cross-posting here; point
at /crier instead. The scribe skill reads the corpus via mf posts list --json
first (the CLI includes description as of 2026-06-09), with crier's
crier_search and a self-contained Glob path as fallbacks, so it works when
crier is not installed. If you add a hard crier dependency
anywhere, declare it explicitly.
Conventions to preserve when editing the skill
These live in skills/mf/SKILL.md; do not "fix" them without understanding why:
- Front matter uses
linked_project(notprojects) to avoid a Hugo URL collision. - Front matter references slugs, not paths.
- Content lives under
content/post(singularpost). - Rich projects use
_index.md; simple ones useindex.md. mf generateis read-only;mf syncmutates the database. Databases exist only for content whose ground truth lives elsewhere (projects, papers, series), not for posts/writing.- Site-root resolution order:
MF_SITE_ROOT, then walk up for a.mf/directory, then~/.config/mf/config.yaml. This is why the skill "works from any directory." The~/github/...paths shown in the skill are the author's own environment, not portable references.
Version bumps
Keep .claude-plugin/plugin.json and the mf entry in the root
.claude-plugin/marketplace.json in sync (both currently 1.1.0). Never bump one
without the other.
Validation
# Skill + command frontmatter
for f in skills/*/SKILL.md commands/*.md; do echo "=== $f ===" && head -5 "$f"; doneDoes 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.

