learn · lihfolk-cy — Claude Code command: what it does, how to install
learn is a Claude Code command that distills evaluation entries from .lihfolk/ledger.jsonl into .lihfolk/recipes.md. It extracts working patterns to raise initial generation scores.
LicenseRef-Proprietary ★ 98 updated 2026-10-29
/plugin marketplace add lihfolk-cy/v2-vault
/plugin install lihfolk@lihfolkWhat learn does
The command triggers the fifth step (Distill) of the quality-score skill against records in .lihfolk/ledger.jsonl. It targets a specified category — such as model, animation, system, ui, world, or vfx — and defaults to all.
For every populated category, it tallies average initial scores, revision rounds, and how often a draft hits a 9 on the first try. It isolates settings shared across entries rated 8.5 and above, criteria that fail on the first run at least 30% of the time, and positive adjustments logged twice or more.
Updates are written to .lihfolk/recipes.md, keeping sections under roughly 60 lines while pruning conflicting takeaways. It concludes with a trend report showing whether first-draft scores are rising. The command requires .lihfolk/ledger.jsonl and the quality-score skill.
What it helps with
- summarize winning defaults from assets scoring 8.5 or higher
- detect recurring first-draft failure modes above the 30% threshold
- refresh
.lihfolk/recipes.mdwhile discarding obsolete rules - evaluate whether initial generation quality trends upward
Example prompts for the agent
- /learn ui
- /learn vfx
- /learn all
How to install learn
1Plugin marketplace
/plugin marketplace add lihfolk-cy/v2-vault/plugin install lihfolk@lihfolk2Manually: put the files in place
.claude/commands/learn.mdCall it with /learn. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/learn.mdCall it with /prompts:learn. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/learn.prompt.mdManually: put the files in place
.gemini/commands/learn.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about learn
How to install learn in Claude Code?
Run /plugin marketplace add lihfolk-cy/v2-vault followed by /plugin install lihfolk@lihfolk.
What does learn do?
It aggregates evaluation logs and writes recurring positive patterns into a recipes markdown file to refine initial drafts.
What is required for learn to function?
It requires the quality-score skill and an existing .lihfolk/ledger.jsonl file in the workspace.
Similar slash commands
All slash commands for Agent setup: memory, context, orchestration →learn by other authors comes first.