agentleFS
ljf06853ljf06853/keepfire/skills/harvesting-sparks/SKILL.md

harvesting-sparks

Skill1 starsChanged 5 months agoMITView on GitHub

Use when the user says /harvest, asks to review recent prompts for keepers, or wonders what good prompts they forgot to save — mines the local prompt journal (~/.keepfire/journal.jsonl) that this plugin's hook records automatically.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    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
  1. Very specific:

    No CLI? Read ~/.keepfire/journal.jsonl directly: one JSON object per line with ts, cwd, text.

    line 26
  2. Distinctive:

    Filter by the quality bar: keep only prompts that encode a reusable

    line 33
  3. Very specific:

    If the user has never harvested, suggest a weekly cadence — the journal only pays off when it's mined.

    line 44

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Harvesting Sparks

This plugin journals the user's prompts locally (a UserPromptSubmit hook appends to ~/.keepfire/journal.jsonl — slash commands and very short messages are skipped, and nothing leaves the machine). Harvesting mines that journal for sparks the user forgot to keep in the moment.

<HARD-GATE> Harvest is curation, NOT import. Never bulk-save journal entries. Propose only the few that meet the recipe quality bar, and save only on the user's explicit yes. </HARD-GATE>

Checklist

  1. List candidates:
keepfire harvest --limit 20        # add --days 30 to look further back

No CLI? Read ~/.keepfire/journal.jsonl directly: one JSON object per line with ts, cwd, text. Skip entries under 40 chars and exact duplicates.

  1. Read the output: entries marked NEW have no similar recipe yet; covered-by:<id> means one already exists — skip those unless the journal version is clearly better (then it's an improve, not a new keep).
  2. Filter by the quality bar: keep only prompts that encode a reusable process (reproduce → isolate → minimal fix; review by severity; etc.). One-off questions and context-bound requests are not sparks.
  3. Propose the top 1–3 as short draft summaries: title + intent + why it's worth keeping.
  4. On approval, capture each via the capturing-sparks skill (full extraction: skeleton, constraints, output contract, triggers).

Rhythm

If the user has never harvested, suggest a weekly cadence — the journal only pays off when it's mined. If the journal is empty, check that the plugin's hook is active (/hooks shows UserPromptSubmit) and that prompts since installation exist.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.