agentleFS
queeliusqueelius/claude-anvil/mf/CLAUDE.md

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…

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
  1. Very specific:

    Keep .claude-plugin/plugin.json and the mf entry in the root .claude-plugin/marketplace.json in sync (both currently 1.1.0).

    line 53

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

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, mf CLI 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 the mf skill. Keep it thin.
  • skills/scribe/SKILL.md plus commands/scribe.md: latent-theme discovery across the corpus. scribe is its own skill (not part of the mf skill); the command is a thin wrapper. Keep workflow logic in the skill, not the command. (scribe may use crier's crier_search as 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 (not projects) to avoid a Hugo URL collision.
  • Front matter references slugs, not paths.
  • Content lives under content/post (singular post).
  • Rich projects use _index.md; simple ones use index.md.
  • mf generate is read-only; mf sync mutates 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"; done

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.