agentleFS
DKutzen22DKutzen22/synapse/skills/harvest/SKILL.md

harvest

Skill1 starsChanged 9 days agoMITView on GitHub

Command entrypoint to harvest session lessons. Catches /harvest and delegates execution to the synthesist subagent.

18 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 14 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read .synapse/handoff.md (or .agents/state/handoff.md / state/handoff.md).

    line 25

“Common” is measured: kept by at least 6 in 10 of the 14 edited versions of this file we could read. “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

/harvest

User-facing command interface for extracting runtime lessons, bug workarounds, and architecture decisions from session logs into persistent memory.

[!NOTE] Dispatch Flow: /harvest (Skill Entrypoint) $\longrightarrow$ agents/synthesist.md (Execution Worker). Skills trigger subagents; subagents never trigger skills.

Execution Steps

1. Gather Session Context

Collect current workspace diff and handoff notes:

REPO_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || pwd)
cd "$REPO_ROOT"
git status -sb
git diff --stat

Read .synapse/handoff.md (or .agents/state/handoff.md / state/handoff.md).

2. Delegate to Synthesist Subagent

Invoke the specialized synthesist subagent (agents/synthesist.md) with the gathered session context:

Task: Audit session diffs and handoff notes to extract empirical tool quirks and ADRs.
Target Ledgers: memory/tool-quirks.md and memory/architecture-decisions.md.
Rules: Enforce append-only discipline and duplicate prevention (instructions/memory-discipline.instructions.md).

3. Subagent Execution Specifications

The synthesist executes the memory extraction:

  • Check for Existing Records: Grep memory ledgers to prevent duplicate entries.
  • Append Tool Quirk: Format with Quirk, Failure Mode, and Workaround into memory/tool-quirks.md (or .synapse/memory/project-quirks.md).
  • Append ADR: Format with Status, Context, Decision, and Consequences into memory/architecture-decisions.md (or .synapse/memory/project-decisions.md).

4. Confirm Memory Synchronization

Report the harvested entries back to the user and confirm memory files are committed or staged.

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.