mf

mf is a skill for Claude Code from queelius/claude-anvil. It costs 58 tokens per session (2,610 once invoked), scanned A, original, MIT.

A command-line toolkit and site guide for managing content on the Metafunctor Hugo website, a static website generated from files.

In plain words
What is it for?
Use it to create and update site records, generate Hugo content, manage metadata, and maintain the site's content sections.
Why use it?
It provides the site structure, metadata rules, and commands needed to keep papers, projects, publications, series, and posts organized.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md.

Part of the mf plugin — 2 skills shipped together

Good fit Use it to create and update site records, generate Hugo content, manage metadata, and maintain the site's content sections.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/queelius/claude-anvil/mf
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.

Any agent
npx skills add queelius/claude-anvil --skill mf
Clone the repo
git clone --depth 1 https://github.com/queelius/claude-anvil

Made for: Claude Code.

Or install mf, the plugin that ships this one along with the rest of its 2 skills.

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 mf

README.md
[![agentmods](https://agentmods.dev/badge/skills/queelius/claude-anvil/mf/github.svg)](https://agentmods.dev/skills/queelius/claude-anvil/mf)
Your own site
<a href="https://agentmods.dev/skills/queelius/claude-anvil/mf"><img src="https://agentmods.dev/badge/skills/queelius/claude-anvil/mf/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 mf

Your own site · 80×15
<a href="https://agentmods.dev/skills/queelius/claude-anvil/mf"><img src="https://agentmods.dev/badge/skills/queelius/claude-anvil/mf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,610 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.00058 $0.02610
Opus 5.5 $0.00023 $0.01044
Sonnet 5.5 $0.00012 $0.00522
Haiku 4.5 $0.00006 $0.00261

Measured 12d ago against content hash 6c9159784cbb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mf 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 12d 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.

mf/skills/mf/SKILL.md · 137 lines

How it starts

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

mf: Metafunctor Site Management

Interpret the user's intent, then run the right mf CLI workflow. mf does the mechanics (database CRUD, Hugo content generation, front matter edits); you do the judgment (choosing and sequencing commands, writing content).

Preflight

  1. Right binary. TeX Live ships a /usr/bin/mf (Metafont) that shadows the metafunctor CLI when the latter is not earlier on PATH. Before the first mf command in a session, run mf --version and expect mf, version .... Anything else (a This is METAFONT banner, or a prompt waiting for input) means the CLI is not on PATH: stop and tell the user to install it with uv tool install -e ~/github/repos/mf (which puts it in ~/.local/bin), rather than running commands against the wrong program.
  2. Site facts. Resolve the site root: mf config path prints <site root>/.mf/config.yaml (it honors MF_SITE_ROOT and the global config). Then Read <site root>/CLAUDE.md before writing or editing content. It is the single source of truth for taxonomies and their front-matter keys, front matter fields, bundle types, build and deploy, and site gotchas. Do not rely on memory for these. ls <site root>/content/ is the authoritative section list; read a section's _index.md before adding to it.

Field lists for the databases come from the CLI itself: mf papers fields, mf projects fields, mf series fields, mf packages fields.

Content Source Model

Content Ground truth mf role Database
Projects GitHub repos import/sync + overrides + generate projects_db.json
Papers Built paper repos (LaTeX) ingest + set + generate paper_db.json
Series External source repos (source_dir) sync (pull by default) + landing pages series_db.json
Publications Venue lifecycle (submissions, acceptances, DOIs) add/update/log/pull + generate pubs_db.json (independent of paper_db)
Packages PyPI/CRAN registries add/sync + generate packages_db.json
Posts The .md file mf posts front matter edits none
Writing, essays, other sections The .md file none none

Read the full file on GitHub · 137 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. 12d ago Changed · -122 lines · -3 tokens per session 6c9159784cbb
  2. 15d ago Changed · +1 lines b7ab59f16a42
  3. 2mo ago First seen · 258 lines · 61 tokens per session scan A 7fad7c262c83

Subscribe to this mod's changes

mf is a skill published in the GitHub repository queelius/claude-anvil (2 stars, last pushed yesterday), licensed MIT. It adds 58 tokens to every session and 2,610 once invoked, about $0.0002 per session on Opus 5.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.

Related

Other skills, from other repositories

renovate

Generate renovate.json covering all dependency file types used in a repo, emit a GitHub Actions workflow that validates renovate.json on every PR, or generate a pre-commit hook for local validation.

nitinjain999/platform-skills · 42 tokens

gitops

Flux CD and Argo CD — two modes. debug: five structured debug workflows for live clusters (installation, source, HelmRelease, Kustomization, ResourceSet) producing a five-section report. audit: six-phase read-only repo analysis (discovery, validation, API compliance, best practices, security) producing a prioritised…

nitinjain999/platform-skills · 76 tokens

commit

Analyze git diffs or staged changes and generate conventional commit messages that explain WHY a change was made. Supports auto-detecting type and scope, intelligent file staging, and interactive overrides. Use when asked to "write a commit message", "generate a commit", "describe my changes", "commit this"…

nitinjain999/platform-skills · 74 tokens

secrets-scan

Scans git-tracked files for leaked secrets. Triggers - secrets scan, find credentials, leaked keys, security audit.

kochetkov-ma/claude-brewcode · 30 tokens

docsync-setup

Installs project-local doc-staleness tracking (hooks) and reports/forces doc sync. Triggers: docsync, track doc staleness, doc sync status, stale docs, doc frontmatter.

kochetkov-ma/claude-brewcode · 47 tokens

pr-sweep

Use when you want to sweep all open pull requests across all repos, triage their status, run code reviews on unreviewed PRs, merge what's ready, fix quick blockers, and produce a full status report. Trigger when the user says "check my PRs", "close out open PRs", "what's the status of my PRs", "sweep my PRs", "PR…

harnessprotocol/harness-kit · 115 tokens