recalling-recipes
Skill1 starsChanged 5 months agoMITView on GitHub
Use when the user wants to reuse a past prompt pattern — "use my usual PR review style", "用我以前那种方式", /use — AND before starting any substantial implement/debug/review/refactor/test task: check whether the user's recipe library already holds a proven approach before inventing your own.
In this repository7 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- card-schemaSkill
- releaseSkill
- keepfireSkill
- capturing-sparksSkill
- harvesting-sparksSkill
- tending-the-gardenSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
NEVER paste an old prompt blindly.
- Very specific: line 23
If a strong match exists, offer it in one line — 🔥 你有一条相关配方「<title>」,要用吗? — and continue only on yes.
- Very specific: line 34
No CLI? Grep ~/.keepfire/cards/*.md titles, trigger_phrases, and tags yourself.
- Distinctive: line 52
No CLI? Read the card and adapt it yourself: current task + filled skeleton + constraints + output contract + "preserve these qualities" + …
- Distinctive: line 55
Close the loop: After the task succeeds, if the user says the result was better than before, offer to save an improved version:
- Distinctive: line 65
If two recipes half-match, prefer the one whose intent matches, then whose stack matches.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill 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.
Files
Recalling Recipes
The user maintains a library of proven prompt recipes under ~/.keepfire/cards/.
Reusing a proven recipe beats inventing an approach from scratch — but only if it is
adapted to the current task.
<HARD-GATE>
NEVER paste an old prompt blindly. Always adapt: fill placeholders from the current
task and repository, drop stale file names and dead constraints, keep the recipe's
structure, constraints, and quality signals.
</HARD-GATE>Two entry modes
Explicit (user asked to reuse a style): run the full checklist below.
Ambient (you are about to start a substantial coding task): do a quick search first.
If a strong match exists, offer it in one line — 🔥 你有一条相关配方「<title>」,要用吗? —
and continue only on yes. If nothing matches well, proceed silently; never nag.
Checklist
- Search the library:
keepfire search "task keywords" --top 5No CLI? Grep ~/.keepfire/cards/*.md titles, trigger_phrases, and tags yourself.
Empty library → tell the user how to start: say "keep this prompt" after a good one.
- Present the top 1–3 candidates with id, intent, and why they matched.
- Select per
use_modein~/.keepfire/config.json:always_ask— let the user pickask_if_low_confidence(default) — auto-apply only a strong match, otherwise askauto— apply the best match
- Render the adapted prompt:
keepfire use --id <id> "current task text" # any unique id fragment works
keepfire use --pick 2 "current task text" # or pick the Nth candidateThe output is the working instruction — follow it to execute the coding task. No CLI? Read the card and adapt it yourself: current task + filled skeleton + constraints + output contract + "preserve these qualities" + "avoid".
- Close the loop. After the task succeeds, if the user says the result was better than before, offer to save an improved version:
keepfire improve <id> --note "what changed" --why "signal1|signal2"Judgment calls
- The recipe's structure is the value; its old context is disposable.
- If two recipes half-match, prefer the one whose intent matches, then whose stack matches.
- A recipe used successfully bumps its ranking automatically (
use_count) — no action needed.
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
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.

