/seed:seedfrom seed
Records Claude Code session activity logs and synthesizes tweet drafts from key moments. Invoke via /seed to turn recent work into tweet material.
Ships in seed. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
A Stop hook silently records every turn of every Claude Code session into a per-session markdown file. When the user wants to tweet about what they just did, you read that file and help them turn raw activity into a draft.
~/.claude/
├── hooks/capture-session-seed.sh # Stop hook → appends turn record
├── skills/seed/
│ ├── SKILL.md # (this file)
│ ├── scripts/
│ │ ├── extract_turn.py # called by the hook
│ │ └── shot.py # /seed shot — screenshot + session binding
│ └── state/
│ ├── sessions/{session_id}.md # raw turn logs, one per session
│ ├── sessions/{session_id}/shots/ # screenshots bound to that session
│ └── archive/ # optional: consumed seeds moved here
The hook is mechanical — it extracts the last user prompt + all assistant text/tool_use blocks for that turn and appends a markdown block. No scoring, no synthesis, no LLM call. De-duped by user-prompt uuid so repeat Stops on the same turn don't double-write.
/seed — read-and-synthesize flow$CLAUDE_SESSION_ID if exported, otherwise ask the user (the ID is the jsonl filename in ~/.claude/projects/.../<session-id>.jsonl)~/.claude/skills/seed/state/sessions/{session_id}.md/seed <one-line description> — manual overrideUser wants to capture something that ISN'T in the log (e.g., a non-Claude moment). Save a manual entry with their description; generate drafts as above.
/seed done — archive/deleteAfter user posts, move the session file to state/archive/{YYYY-MM-DD}_{session_id}.md (or just delete if the user prefers). Reduces clutter and marks the raw material as consumed.
/seed list — show all current session logsPrint filenames + first turn timestamp + file size. Useful when a user wants to pick material from a past session they remember.
/seed shot — capture a screenshot and bind to current sessionTwo modes, delegated to scripts/shot.py:
# Interactive: cursor turns into a camera, user clicks the target window
python3 ~/.claude/skills/seed/scripts/shot.py --session-id $SID
# Headless: screenshot a URL
python3 ~/.claude/skills/seed/scripts/shot.py https://example.com --session-id $SID
python3 ~/.claude/skills/seed/scripts/shot.py localhost:3000 --session-id $SID --note "dashboard after latency fix"
Always pass --session-id with the CURRENT session's id. You (the agent) know which session you're in — the transcript path is ~/.claude/projects/.../{session_id}.jsonl, and $CLAUDE_SESSION_ID is often set. Whichever session triggered the shot is the one it should bind to. Without --session-id, shot.py falls back to "most recently modified session file" — which is wrong when multiple Claude Code windows are running in parallel.
Output goes to state/sessions/{session_id}/shots/{timestamp}.png and appends a **📸 Shot** marker to the session's .md file. During /seed synthesis, read those markers and reference the image paths when a tweet draft would benefit from a screenshot.
Uses:
screencapture -w does it). macOS only lets one screencapture -w own the cursor at a time, so parallel sessions can't collide.--headless=new at 1280×800 by default; override with --width/--height)When the user says "拍一下 / 截图 / shot this / grab a screenshot" during a work session, run the appropriate mode unprompted.
/seed invocation is to add the judgment the hook intentionally skipped.Example of what the hook writes per turn:
## 2026-04-20 22:59:52
<!-- turn-uuid: abc-...-xyz -->
**cwd:** `/path/to/project`
**User:**
扫一下
**Tools:**
- `Bash` — python3 ~/.claude/skills/tweet-monitor/scripts/scan.py ...
- `Read` — /Users/.../notion_check_pending.py
**Assistant output:**
(full markdown body of what Claude said, untruncated)
---
The turn-uuid marker is how the hook dedupes repeat invocations.
If you want LLM-level filtering, that's what /seed invocation is for. The hook stays dumb by design.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub yrzhe/claude-skills --plugin seedOther plugins' skills for the same job