session-harvestlisted
Install: claude install-skill TheodoreAD/agent-skills
# Session harvest
Reviews a conversation for what's worth persisting before it's compacted or ends, and makes sure
each candidate lands in the _right_ place — not just memory by default because memory is the easiest
tool at hand. Primary invocation is explicit (`/session-harvest`); the description above also
matches natural-language phrasing, but explicit invocation is the one to rely on — description
matching for something this consequential (it writes files) has been reported unreliable by prior
art (see `references/rationale.md`).
On-demand only. Installing hooks, wiring `settings.json`, or running on any schedule is explicitly
out of scope — that's a different, heavier tool (see `references/rationale.md` for the prior art
considered and rejected).
## What this skill reads, runs and writes
- **Reads**: Claude Code's transcripts and background-job state under `~/.claude` (read-only,
another harness has nothing there); git state of every repo the session touched; CI runs through
`gh`; the process and listening-socket tables; docker images; both plans stores; the installed
skills hub and the source checkout `skills-state` resolves. The socket step checks whether
credential-named files (`.env`, `.netrc`, …) **exist** under a directory a listener serves — names
only, never contents.
- **Runs**: `git` (including `fetch` to each touched repo's own upstream unless `--no-fetch`), `gh`
and `docker` when installed, `ps`/`ss` on Linux or PowerShell/`netstat` on Windows