/pensieve:pensieve-wrap-upfrom pensieve
Closes out open Pensieve threads by shipping or discarding work. Handles commits, PRs, branch cleanup, and ticket status changes in git, GitHub, and issue trackers.
Ships in pensieve. 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.
None: SKILL.md is the whole skill.
Pensieve only reads. It derives the state of a thread from its evidence: its branch, PRs, commits and tickets. A thread closes when that evidence says that the work is done. You close a thread when you change the real systems. Never set a thread state by hand.
A thread closes in one of two ways:
threads. It lists the threads that are not done, with the fewest steps left first.thread(id) to get its folder, branch, PRs, tickets and the steps left.cluster(branch). It gives each session's share of the branch
and the two step lists: to ship the branch and to discard it. Work on the branch as one piece of work.thread(id) again. Pensieve rebuilds its threads about once a minute.| Step | Who | What you do |
|---|---|---|
| Commit N changed files on a branch | agent | Commit in the folder of the thread. |
| Push N commits on a branch | agent | Push the branch. |
| Open a pull request for a branch | agent | Open it as a draft. Show the user the title and body first. |
| Fix the failing checks on #n | agent | Fix the code and push. |
| Address the review on #n | agent | Make the changes and push. Reply to each comment. |
| Mark #n ready for review, get #n reviewed | you | Tell the user. Do not mark it ready or request a review yourself. |
| Merge #n | you | Ask the user. If they agree, merge it. |
| Delete branch X after the merge | you | Ask the user. If they agree, delete it. |
| Close TICKET-1: its pull request merged | tracker | Ask the user. If they agree, change the status in the tracker. |
| Discard N uncommitted files on a branch | agent | Show the user the files. Discard them only after a yes. |
| Close #n without merging | you | Ask the user. If they agree, close it. |
| Delete branch X (local and remote) | agent | Ask the user. If they agree, delete both. |
| Mark TICKET-1 as cancelled (won't do) | tracker | Ask the user. If they agree, change the status in the tracker. |
| Answer the agent: … | you | Ask the user the question. |
| Work on TICKET-1 | agent | This is new work, not a close-out. Tell the user and stop on this thread. |
start_todo(id). To drop it, mark the ticket cancelled after the user agrees.set_thread_state.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
pensieve, thread-management, git-workflow, pr-management, ticket-closure
4 skills in this plugin
/pensieve-planGround a plan for new code in what already exists and who knows it, using Pensieve. Use when planning a feature, refactor or new module, writing a design doc, or before starting a large change./pensieve-searchFind code, docs or past agent sessions fast with Pensieve's MCP search instead of chains of grep. Use whenever you need to locate where something is implemented, find code similar to what you're about to write, look up an error message or identifier, or recall what an earlier session decided./pensieve-teammatesSuggest which teammates to talk to, using Pensieve's git-blame knowledge map. Use when the user is stuck in unfamiliar code, asks who owns or knows an area, is about to change code mostly written by others, or wants a reviewer.npx claudepluginhub tedhaley/pensieve --plugin pensieveOther plugins' skills for the same job