/faf:faf-expertfrom FAF Skills
The reference for the IANA-registered .faf format (application/vnd.faf+yaml): the 33 slots every .faf is scored on, scoring, MCP setup, `faf sync` to CLAUDE.md, `faf export` to AGENTS.md and other files, and project memory (.fafm) for the BEST rung. Use for questions about how FAF works: "how is my score calculated?", "what does slotignored mean?", "set up the FAF MCP server", "how does faf sync work with CLAUDE.md?". New to FAF? Start with faf-context.
Ships in FAF Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
v: 1
needs: []
reads: ["the project's project.faf, when the question is about it"]
writes: []
network: []
publishes: false
done_when: "the question is answered, with the command, slot or file it concerns"
project: project.faf
.faf is an IANA-registered context format (application/vnd.faf+yaml) — a typed, portable file you own, readable by any AI, with no bespoke manifest and no vendor lock-in. This is the mechanic's manual: scoring internals, MCP configuration, bi-directional sync, and the full slot model.
| Skill | What it's for | |
|---|---|---|
| faf-wizard | A .faf for any project: repo facts filled in, the goal and six W's suggested for you to confirm | Generate |
| faf-context | The builder's quickstart — hand the AI what it needs to hit 100% ✪, fast | ← start here if you're new |
| faf-expert (you are here) | Master the format — scoring internals, MCP config, sync, the full slot model | Deep |
New to FAF? Start with faf-context to reach 100%. Come here to go deep.
.faf files and the MCP server beyond the basicsproject/
├── package.json ← dependencies (npm reads this)
├── project.faf ← AI context (any AI reads this)
├── CLAUDE.md ← human docs (synced from .faf)
└── src/ ← code (guided by the context)
README.md is prose for humans · CLAUDE.md is prose for Claude · project.faf is structure for ANY AI (IANA application/vnd.faf+yaml). One source of truth; everything else is emitted from it.
.faf, every tool| AI platform | Emitted file | Command |
|---|---|---|
| Claude (Desktop / Code) | CLAUDE.md | faf sync |
| OpenAI Codex / agents | AGENTS.md | faf export --agents |
| Cursor | .cursorrules | faf export --cursor |
| Google Gemini | GEMINI.md | faf export --gemini |
| GitHub Copilot | .github/copilot-instructions.md | faf export --copilot |
1. Install the CLI
npm install -g faf-cli # or: brew install wolfe-jam/faf/faf-cli
faf --version
2. Add the MCP server. In Claude Code:
claude mcp add faf -- npx -y [email protected]
Or in Claude Desktop, add this to claude_desktop_config.json and restart Claude:
{
"mcpServers": {
"faf": {
"command": "npx",
"args": ["-y", "[email protected]"]
}
}
}
3. The loop to 100% ✪
faf auto # 1. detect stack + language, seed context from your README
faf score # 2. the % + exactly which slots are still empty
faf go # 3. guided fill — answer only the gaps the AI can't source
faf score # 4. 100% ✪
faf sync # 5. push context → CLAUDE.md (AGENTS.md: faf export --agents)
# The path to Trophy
faf auto # detect + seed (fills what it can)
faf score # AI-readiness % + the empty slots
faf go # guided fill — close the gaps
faf sync # emit CLAUDE.md from the .faf
faf export --agents # emit AGENTS.md from the .faf
# Anytime
faf init # create a fresh project.faf
faf check # validate structure (IANA-clean)
faf git <url> # score any GitHub repo → .faf (shallow-clones to a temp dir)
faf formats # browse the supported stacks
faf migrate # upgrade an older .faf
faf export --copilot # emit .github/copilot-instructions.md
faf taf setup # wire up TAF test receipts (CI)
claude-faf-mcp brings the format into the tool surface. The core tools in claude-faf-mcp v7:
# The path to 100% ✪
faf_auto → scan manifests (package.json, Cargo.toml, pyproject.toml…) + fill the .faf
faf_score → 0–100% AI-readiness + tier + per-slot breakdown
faf_go → the friendly front door — asks the 6 Ws
faf_sync → sync .faf → CLAUDE.md (+ optionally AGENTS.md)
# Anytime
faf_init → create a new project.faf (name, goal, language) + starting score
faf_context → set / show the active project path faf_ calls resolve against
faf_doctor → diagnose: empty / weak slots + how to fix each
faf_trust → attest integrity: validity, score + a deterministic parity hash anyone can verify
faf_bench → prove the .faf earns its place — the context's worth on THIS repo, falsifiably
faf_about → explain the FAF format — project DNA for AI (IANA-registered)
# Project soul (.fafm) — memory across sessions
faf_etch → remember a decision / gotcha / win to the .fafm
faf_recall → recall memories from the .fafm, ranked by priority + recency
(The exact set evolves release to release — verify against your installed version with the MCP client's tool list.)
| Score | Tier | Symbol | Status |
|---|---|---|---|
| 100% | Trophy | ✪ | AI is optimized to code |
| 99% | Gold | ★ | Exceptional |
| 95% | Silver | ◆ | Top tier |
| 85% | Bronze | ◇ | Production ready |
| 70% | Green | ● | Solid foundation |
| 55% | Yellow | ● | Needs improvement |
| 1% | Red | ○ | Major work needed |
| 0% | White | ♡ | Empty |
The score is deterministic — a WASM-compiled engine, mechanical and falsifiable. Same input → same score, every time. FAF doesn't lie.
Every .faf is scored against the same 33 slots. faf-cli fills the 21 base slots and marks the 12 enterprise slots slotignored unless your app type uses them; slotignored slots never count against you. 100% ✪ = every active slot filled. Your app_type selects which are active: a CLI ignores frontend slots (slotignored, never counted against you). Detection fills the stack + language; you supply only the underivable bits — project.name/goal + the 6 Ws (a sharp goal seeds several).
# project.faf — IANA application/vnd.faf+yaml
faf_version: "3.0"
project: # required
name: modern-web-app
goal: Real-time collaboration platform for distributed teams
main_language: typescript
human_context: # the 6 Ws — the underivable half
who: distributed product teams
what: real-time collaboration tool
why: remove the latency tax of async handoffs
where: AWS (ECS)
when: production, since 2026
how: TypeScript · React · Node · PostgreSQL
stack: # auto-detected
frontend: react
backend: express
database: postgresql
runtime: node
hosting: aws-ecs
build: vite
testing: vitest # informational — not one of the 33 scored slots
cicd: github-actions
Validation rules: must have faf_version, project.name, project.goal · valid YAML · no secrets/credentials · works across all AI platforms.
The engine only scores what's truthfully there — detection fills the stack, you fill the underivable Ws, and what nobody can source stays honestly empty. Empty beats wrong. That's why the resulting context is trustworthy.
faf auto # 1. baseline: detect + seed
faf score # 2. see the empty slots
faf go # 3. close the gaps (guided)
faf check # 4. IANA compliance
faf sync # 5. emit CLAUDE.md
faf export --agents # and AGENTS.md
git add project.faf CLAUDE.md AGENTS.md && git commit -m "Add AI context (.faf)"
The .faf is the standard — commit it, and everyone's AI shares one context. Common boosters: add the human_context block, specify deployment, document the testing strategy.
| Package | Registry | Purpose |
|---|---|---|
faf-cli (faf) | npm | the CLI |
claude-faf-mcp | npm | Claude Code / Desktop MCP server |
faf-mcp | npm | MCP server for Cursor, VS Code and other MCP IDEs |
gemini-faf-mcp | PyPI | Google Gemini integration |
grok-faf-mcp | npm | Grok integration |
faf-scoring-kernel | npm | the WASM scoring engine |
150k+ downloads across npm + PyPI + crates.io. claude-faf-mcp, faf-mcp, and gemini-faf-mcp hold AAA on Glama (claude-faf-mcp · faf-mcp · gemini-faf-mcp).
application/vnd.faf+yaml.faf format specificationMCP server not responding
faf check # is the .faf well-formed?
# re-check claude_desktop_config.json (see Quick start), then restart Claude
tail -f ~/Library/Logs/Claude/mcp-server-claude-faf-mcp.log
Low AI-readiness score
faf score # shows the empty slots holding you back
faf go # guided fill — close them to 100%
Tools not showing — restart Claude after editing the config, and confirm the server started (see the MCP log above).
/plugin marketplace add Wolfe-Jam/faf-skills → /plugin install faf@faf-skillsgit clone https://github.com/Wolfe-Jam/faf-skills.git && cp -r faf-skills/skills/* ~/.claude/skills/MIT · part of the FAF skill family (faf-context · faf-wizard · faf-expert). The format is the foundation — without .faf, there is no portable context.
What SKILL.md sets; muted values are Claude Code's defaults
7 skills in this plugin
/faf-contextRuns `faf auto` to detect the stack, suggests the goal and six W's from what the repo already says and asks you to confirm each one, scores the project.faf 0–100%, and `faf sync` writes the facts into CLAUDE.md. Use when someone wants Claude to know their project from the first message: "improve my CLAUDE.md", "set up project context", "Claude keeps forgetting my stack". Takes a CLAUDE.md from GOOD (it exists) to BETTER (backed by a scored project.faf). The quickest path; faf-go fills the last gaps, faf-expert goes deep./faf-goRuns `faf score`, then asks about each empty slot with AskUserQuestion, one question at a time, until the score reaches 100%. For the goal and six W's it offers a suggestion from the repo with its source, and writes only what the user confirms. Use when someone wants to fill in what only they know about their project: "interview me", "ask me what's missing", "get my project.faf to 100%". The answers go into project.faf; `faf sync` carries them into CLAUDE.md. Finishes the BETTER rung: every fact Claude can't detect, supplied by the person who knows it.Other plugins' skills for the same job
/faf-wizardDetects the stack, reads what already exists (README, docs, an existing CLAUDE.md or .cursorrules), writes project.faf and scores it. The stack comes from the repo; the goal and six W's are suggested from what exists, each with its source, and written only once the user confirms them. Use when someone wants project context set up for them: "set up Claude for this repo", "onboard AI to this codebase", "make me a project.faf". Works on new, legacy or inherited code. Turns the CLAUDE.md you already have into the structured facts behind it: GOOD to BETTER.npx claudepluginhub wolfe-jam/faf-skills --plugin faf