skills/consolidate/SKILL.md
Consolidate Goldfish checkpoints into memory.yaml -- use when recall flags consolidation needed, before ending long sessions, or on a scheduled cadence to synthesize episodic checkpoints into durable project understanding
npx skillsauth add anortham/goldfish consolidateInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
consolidation.needed: true in recall responsemcp__goldfish__consolidate({})
Returns a lightweight JSON payload with status, checkpointCount, remainingCount, and a prompt template. No checkpoint content is returned. Checkpoint file paths are embedded in the prompt (not in the payload) to keep the response compact.
status: "current" -- nothing to do, memory is up to date. Tell the user and stop.status: "ready" -- proceed to step 3.The prompt field already contains everything the subagent needs: file paths to read, synthesis instructions, and output paths to write. Dispatch it directly.
Agent({
description: "Consolidate project memory",
prompt: payload.prompt,
run_in_background: true,
mode: "bypassPermissions"
})
If remainingCount > 0, tell the user:
"Consolidated {checkpointCount} checkpoints. {remainingCount} remain. Run /consolidate again to process more, or /consolidate all to process everything."
If remainingCount is 0, the user does not need to know about batching.
/consolidate all -- Process EverythingWhen the user passes "all" as an argument, loop until fully caught up:
consolidate()status: "current", done. Report total processed.status: "ready", dispatch a foreground subagent (must wait for consolidation state to update before next batch).remainingCount > 0, repeat from step 1.Foreground subagents are required because each batch writes the consolidation state file, and the next consolidate() call needs that timestamp to filter correctly.
The subagent does NOT modify or delete checkpoints or plans.
Next time recall() runs, it will load the fresh memory.yaml and show fewer (or zero) delta checkpoints. The consolidation flag will show needed: false.
testing
Use when returning to a project after time away, switching harnesses, or handing work off to another agent, to produce a structured session-resumption summary from the active brief, recent checkpoints, and git delta.
development
Use when starting multi-session work, capturing approved project direction, updating goals or constraints, or when the user asks for durable strategic context that should persist across sessions
testing
Use when the user asks for progress against current project direction, wants a status check on the active brief, or needs evidence-backed assessment across briefs, checkpoints, and docs/plans
testing
Use when the user asks for progress against current project direction, wants a status check on the active brief, or needs evidence-backed assessment across briefs, checkpoints, and docs/plans