harvest
Skill1 starsChanged 5 months agoMITView on GitHub
Harvest the session that's ending — extract every durable asset (transcript + findings + decisions + a candid graded report card + build-log + memory) so the next run starts richer. Renamed from /archive-session; folds in /grade-session's grade.
15 other projects use a version of this.
Adopted by
Most recently taken up by
- zedarvates/frugal-skillstheir own version, first seen Nov 8, 2026
- yuri-xyz/skillstheir own version, first seen Nov 8, 2026
- egregore-labs/egregoretheir own version, first seen Nov 6, 2026
- joeuk89/claude-skillstheir own version, first seen Nov 1, 2026
- aidvgg/operator-ostheir own version, first seen Oct 17, 2026
- cwade12c/spiceracktheir own version, first seen Oct 9, 2026
Used with
Projects with it also use handoff.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkillhandoff
Compact the current conversation into a handoff document for another agent to pick up.
Also in 3 projects that use this
Other versions15 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 15
- huytieu/COG-second-brain★ 1.3ksame name
- egregore-labs/egregore★ 293same name
- darkroomengineering/cc-settings★ 52same name
- toustifer/dsh-harvest★ 10same name
- sergeeey/Claude-cod-top-2026★ 9same name
- aidvgg/operator-os★ 4same name
- FabianoArthur/claude-code-kitchen★ 4same name
- yuri-xyz/skills★ 2same name
- BI-Blitzer/tandem-tokens★ 1same name
- cwade12c/spicerack★ 1same name
5 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository33 other files it gives its agents.
- architecture-blueprintSkill
- burnSkill
- calm-ui-auditSkill
- capitalizeSkill
- cardSkill
- commit-mineSkill
- continuity-contextSkill
- elonizeSkill
- frontierSkill
- full-throttleSkill
- grade-sessionSkill
- groundSkill
- harmonizeSkill
- honeSkill
- milkSkill
- mirrorSkill
- moonwalkSkill
- nightshiftSkill
- page-auditSkill
- pmfSkill
- postSkill
- promptSkill
- publishSkill
- razeSkill
- redlineSkill
- relaySkill
- snipSkill
- stashSkill
- tasteSkill
- tidySkill
- untilSkill
- vacationSkill
- vaultSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 2 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 12 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
If $ARGUMENTS names a project or path, use it.
- Very specific: line 19
Run (substitute real values.
- Very specific: line 46
SAFETY (mandatory, before writing): run the project's public-disclosure-boundary check + a secrets scan.
- Very specific: line 49
If private/README.md has a Sessions list, add this session's line.
- Distinctive: line 50
Update any relevant memory files so the next session loads the FINAL state, not retracted intermediate claims — and bank at least one …
- Distinctive: line 54
Keep each artifact tight and high-signal — these are durable records, not a dump.
“Common” is measured: kept by at least 6 in 10 of the 12 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.
Files
You are HARVESTING the session that is ending: extract every durable asset so nothing valuable is lost and the next run starts richer (don't just store it — milk it). Follow the session-archive-conventions memory (folder taxonomy, file naming, metadata-block format) exactly. The mechanical half is a script; you do the interpretive half from what you already lived this session — you should NOT need to re-read the whole transcript.
Step 1 — Identify the target project
- If
$ARGUMENTSnames a project or path, use it. Otherwise infer the project this session actually worked on (the repo you edited files in — which may differ from the launch cwd). If genuinely ambiguous, ask the user once; otherwise proceed. - Resolve its root (the dir containing
private/). Confirmprivate/with the taxonomy folders exists; if not, createprivate/{transcript,findings,decisions,session_summaries,origin}/.
Step 2 — Classify the session
Decide, honestly:
- Topic slug — kebab-case, ≤5 words, describing what the session covered.
- High-signal? Per the convention, a metadata block + findings + decisions are ONLY for high-signal sessions (origin, major pivot, first benchmark, breakthrough, major failure). Routine sessions (refactors, pushes, small fixes) get a transcript + summary only — no metadata block, no findings/decisions.
Step 3 — Run the mechanical script
Run (substitute real values; --date is today's date from your context):
python3 ~/.claude/scripts/session_to_markdown.py \
--project-root "<ROOT>" --topic-slug "<SLUG>" --date "<YYYY-MM-DD>"It writes the transcript body and prints a JSON report. Verify jsonl_used / jsonl_mtime is THIS session (newest, just-now mtime) — if it picked the wrong file, re-run with --jsonl <correct path> (look under ~/.claude/projects/). Read session_number, next_finding, next_decision, transcript_path, summary_path, messages from the report.
- Concurrent-run guard: if another session is archiving in parallel, you can collide on session/finding/decision numbers (and the non-slug
-summary.mdname can clobber). If you see a peer's just-created session-N files, do NOT ping-pong-renumber: adopt the peer's declared numbering once, take a clearly-separate block (yours = the next free session number + a finding/decision block above theirs), verify no duplicate numbers, and stop. (See memory: parallel-agent-sessions.)
Step 4 — Interpretive write-up (match the format of the LATEST existing files in each folder)
- Transcript metadata (high-signal only): prepend the convention's metadata block (
# Metadata… Project / Artifact Type / Date / Author: Yiya + Claude Code / Status / Outcome / Key Insight / Decisions / Open Questions / Historical Importance / Related Artifacts) above the# <title>line, via Edit ontranscript_path. - Findings (high-signal only): for each distinct durable learning, write
findings/Finding_<NNN>_PascalCaseTitle.mdstarting atnext_finding. Use the existing findings' structure (## What Was Learned/## Evidence/## Implications). Be specific — real numbers, real file names. - Decisions (high-signal only): for each architectural choice/pivot/commitment, write
decisions/Decision_<NNN>_PascalCaseTitle.mdstarting atnext_decision(## What Changed/## Why/## Tradeoffs Accepted). - Session summary (always): write
summary_path. Open with the# Session Evaluationblock from Step 5 (the two graded tables + Coach/Agent notes); then---; then# <Project> Session <NN> Summarywith Date, Session (transcript filename),## What Happened(bullets, linking Finding_/Decision_ ids),## Key Output.
Step 5 — Grade candidly (the /grade-session half) — write it into the summary AND print it in chat
Produce the grade exactly per /grade-session — that skill's rubric is the SINGLE SOURCE (read ~/.claude/commands/grade-session.md rather than re-deriving it here): its two tables (User Communication · Agent Performance) + Coach Note + Agent Note, graded from what you lived (do NOT re-read the transcript), candid (a report card of straight A's is a failed grading), every grade justifiable by a specific moment from THIS session. Harvest-specific (the only part beyond a standalone /grade-session): this block OPENS the summary file (Step 4) AND is printed in chat at the end, so the user sees the grade without opening the file.
Step 6 — Build log (always)
- Append a session entry to
<ROOT>/private/build_log.md(create with# <Project> — Build Log+---if missing). Match the established entry format:## <YYYY-MM-DD> — Session <NN>: <Topic>· bold Duration / Stack / Spend lines (only what you actually know — never invent numbers) ·### Built(concrete artifacts) ·### Key decisions·### Lessons(hard-won only). - Register: PUBLIC-SAFE. This file is the source the public build-log page is distilled from — apply the project's disclosure-boundary memory while writing, not later (claims stated, private methodology omitted).
Step 7 — Publish the gold (auto build-in-public asset)
The internal archive captures value; this step EXTRACTS the publicly-valuable part. From everything harvested, pick the strongest 1–3 items that (a) are genuinely useful to frontier builders and (b) build the user's credibility/competence — a counterintuitive stat, a hard-won lesson, or a clean reusable pattern. For each, produce ONE share-ready asset:
- Gold is a STAT or INSIGHT (a number that lands, a surprising finding) → make a /card (follow the /card skill exactly: ≤45 words, number-as-hero, the modern house aesthetic, render at 2x, and LOOK at the PNG before finishing).
- Gold is CODE (a clean, novel, reusable pattern) → make a /snip (follow the /snip skill exactly: exact source + freeze PNG, with the disclosure-boundary + secrets safety gate run FIRST; render a hero.png too if >30 lines).
Bundle each under
~/build-in-public/snippets/<YYYY-MM-DD>_<slug>/with a draftpost.md(Status: draft), append its- [ ]line to~/build-in-public/snippets/INDEX.md, andopenthe render. - Bar: "a frontier builder would repost this." Don't pad — one excellent asset beats three mediocre ones. ONE idea per card/snip.
- SAFETY (mandatory, before writing): run the project's public-disclosure-boundary check + a secrets scan. Never publish private strategy/taxonomy/credentials; redact (
<REDACTED>) or skip if it would cross the line. Nothing auto-posts — these are drafts for the user to publish.
Step 8 — Index, memory, report
- If
private/README.mdhas a Sessions list, add this session's line. If no README exists and the project wants one, create a brief index. - Update any relevant memory files so the next session loads the FINAL state, not retracted intermediate claims — and bank at least one concrete self-lesson from this session (the reflection ritual) so the same mistake never recurs.
- Stash drain check (the way-out hook): count the open
[ ]lines in~/.claude/stash/INBOX.md; if any, list them and offer/stash drainso loose ends don't cross the session boundary un-triaged (harvest reminds, it does not auto-drain — the user picks). - Print a concise report of every file created/updated (paths), the session number, the graded report card from Step 5, AND the build-in-public asset(s) from Step 7.
Keep each artifact tight and high-signal — these are durable records, not a dump.
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.

