Skip to main content
command CX Codex

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

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add lihfolk-cy/v2-vault
/plugin install lihfolk@lihfolk
Open on GitHub

What 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.md while 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@lihfolk

2Manually: put the files in place

.claude/commands/learn.md

Call it with /learn. For all projects use ~/.claude/commands/

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.

learn Affaan Mustafa The learn slash command turns reusable lessons from the current session into skills. Run it after a difficult fix, debugging session, or project-specific discovery. CX Codex +1 ★ 6,739repo stars learn Rohit Ghumare learn is a Claude Code command that shows topic-based guidance and saves confirmed takeaways from a session. CX Codex +1 ★ 2,966repo stars prompt-optimizer getsentry prompt-optimizer — a skill that rewrites system and agent prompts against a set of eval cases instead of gut feeling. Useful when a prompt exists but behaves inconsistently. CX Codex +1 2,500installs skill-optimizer mcollina skill-optimizer is a Claude Code skill for refining other skills and testing how models follow their instructions. Use it while editing skill packs, investigating regressions, or setting release checks. CX Codex +1 1,400installs senior-prompt-engineer Alireza Rezvani senior-prompt-engineer — a skill for systematic prompt optimization via eval sets, RAG quality measurement, and agent validation. Works with any model, uses only stdlib Python. CX Codex +1 970installs skill-autoresearch akillness skill-autoresearch runs edits to skills, prompts and SOPs through a frozen local benchmark: one change per run, then keep or revert. CX Codex +1 323installs autoresearch pedronauck autoresearch runs another skill through repeated test cycles, grades each output against pass/fail checks, and rewrites its prompt until the score stops climbing. CX Codex +1 152installs prompt-optimize gaasher prompt-optimize is a Claude Code skill that iteratively refines an existing prompt against your evaluation command, keeping only edits that improve the score. CX Codex +1 ★ 185repo stars

From the same set29

The whole set →
assets assets is a Claude Code command that searches LihFolk Asset Pack models, materials, skies, animations, and VFX. It can also locate the pack and guide path setup. CX Codex +1 ★ 98repo stars new-system new-system is a Claude Code command that installs a selected LihFolk system in a Roblox project, adds tests, and scores the result. Choose a system such as shop, leaderboard, or all. CX Codex +1 ★ 98repo stars audit audit is a Claude Code command that audits Roblox Luau code for security holes, exploits, and storage flaws. It runs automated checks and builds a ranked fix list from P0 to P3. CX Codex +1 ★ 98repo stars council-chair council-chair is a Claude Code subagent that combines anonymized council responses into a verdict while retaining dissent. It runs only through council-method. CX Codex ★ 98repo stars council-member council-member is a Claude Code subagent that performs blind reviews of Roblox game projects through a single assigned lens. It is invoked exclusively by council-method. CX Codex ★ 98repo stars lihfolk-lookup lihfolk-lookup is a Claude Code subagent that searches LihFolk Vault for Roblox development answers. It returns facts, limits, pitfalls, and note titles. CX Codex ★ 98repo stars roblox-trend-game roblox-trend-game is a Claude Code skill that structures the production of fast-paced Roblox trend games. Directs the full cycle from core loop design to live operations across seven days. CX Codex +1 ★ 98repo stars lihfolk lihfolk is a Claude Code skill that routes Roblox questions to a knowledge vault of notes written for AI agents. It activates before substantial work involving Luau, Studio, data, or security. CX Codex +1 ★ 98repo stars

Project sponsors

Companies that keep this analytics open