flurdy/agent-skills/handoffs

Claude Code and agent skill by flurdy/agent-skills

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Browse and load current-repo or workspace-member handoffs, including pruned worktrees. Optional confirmed archiving and checkout recovery; loading alone never executes the saved task.

Install

npx vskill@latest install flurdy/agent-skills/handoffs

SKILL.md

The same SKILL.md was published earlier as flurdy/agent-skills/handoffs.

Handoffs — Pick a saved session to resume

Browse handoff files written by /wrap-up (in ~/.agents/handoffs/) and pick one to resume. Companion to /wrap-up (the writer) and /landscape (the morning orienter).

When to use

  • Starting a session and wanting to pick up a thread from a previous one.
  • After /landscape flagged that recent handoffs exist for this repo.
  • Searching for an older thread — ls ~/.agents/handoffs/ is grep-friendly, but this skill renders the metadata table.
Not sure whether to resume a handoff or start fresh work? That's a morning orientation call, not a handoffs call — run /landscape first. Its **Next:** line arbitrates resume-a-handoff vs /next safe from the full picture (Jira, PRs, beads, working copy). Come here once you've decided to resume a thread.

What it does

  1. List handoffs across all repos, with per-repo counts.
  2. Fully detail handoffs in the current repo as a pickable table, flagging which are superseded by a newer handoff, done (PR merged, all beads closed, or Jira ticket Done), or stale (branch gone / PR closed).
  3. Summarise handoffs in other repos (count per repo, not full listing); load one only when you name it (§4c).
  4. Optionally archive confirmed superseded, done, stale, or assisted-review handoffs to keep the picker focused, including safe and old signal-less workspace-member rows through separate confirmation flows.
  5. Prompt you to pick one — only current-repo (including session-directory) and workspace-member handoffs are offered.
  6. On pick, render the resume block inline and surface the cd if the recorded worktree differs from pwd.

Important — what this skill cannot do

  • It cannot resume for you. It surfaces the resume block; you read it and act on the next step.
  • It cannot rename the session for you. On load it prints the active client's paste-ready command (§5): /name {slug} in Pi and /rename {slug} in Claude Code. Only you typing it triggers a rename.
  • It never runs repo-scoped commands for another repo from here. That is a deliberate guard — running commands against the wrong repo is the failure mode it prevents. Unrelated repos are only summarised and never offered in the picker; naming one of their handoffs loads it read-only behind a mandatory cd (§4c). Repos in the same multi-repo workspace are listed and pickable (§2b/§4b) under the same rule, because from a workspace root they'd otherwise be invisible.
  • It never deletes handoff files. The opt-in archive steps (§3b–§3f) only move explicitly confirmed candidates into ~/.agents/handoffs/archive/ — they stay on disk and greppable.

Output contract — tables before prompts

The inventory is mandatory visible Markdown in your response, not just helper output. Render §2a's applicable storage notices, §2's current-repo table (or documented empty-state line), §2b's workspace-members table when present, and §3's other-repos summary and applicable notices, in that order, before any `AskUserQuestion`, archive/age-review prompt, or picker text. Preserve each section's skip rules and §2b's 10-row cap; do not invent empty tables.

Never replace these tables with a prose summary or assume collapsed tool output is visible. When a question uses a tool, send the tables as a visible assistant message before calling it; do not postpone them until the final response after the user answers. Archive flows (§3b–§3f) and the §4 picker may follow only after this inventory is on screen. Their additional candidate previews follow REFERENCE §Prompt boundaries. After archiving, exclude confirmed archived rows from subsequent tables and the picker; the initial inventory still must precede confirmation.

Instructions

MUST use the helper script. Never construct ad-hoc ls/grep pipelines against ~/.agents/handoffs/ — they bypass the per-script permission allowlist and miss the repo-matching logic.
1. Run the helper
bash
~/.agents/skills/handoffs/scripts/list.sh --check-branches [--retention-days N] [--stale-days N]

Forward supplied retention/stale flags. Completion-aware retention defaults to 14 days; missing completion timestamps retain context without archive suggestions. The age-review floor defaults/clamps to retention. Follow REFERENCE §Retention, including the inclusive UTC boundary and suppression of assisted prompts for retained Done rows. Recent-activity summaries stay separate.

Runtime: Bash, Git, standard Unix tools and GNU/BSD date, plus Python 3.10+ (standard library only). Missing Python or retention.py fails clearly; optional gh, bd, and Jira access degrade gracefully. No retention metadata is written.

--check-branches adds branch-liveness + PR classification for current-repo and workspace-member handoffs. The full flag semantics, the 25-field ---HANDOFFS--- line format, and every field's meaning (supersede, branch-state, pr-state, archive-class, beads-done, deliverable-field, beads-progress, needs-review, needs-age-review) are specified once in `~/.agents/skills/handoffs/REFERENCE.md` — Read it. Both /handoffs and /handoffs-tidy read off the same definitions, including §Age-review, so the two never drift on classification.

The sections you parse here: ---CURRENT-REPO--- / ---CURRENT-REPO-DISPLAY--- / ---CURRENT-REPO-KIND--- (identity + label + repo/dir/NONE — outside a git repo the directory itself is the identity, so handoffs written from it still match), ---STORAGE--- / ---SOURCES--- (which locations were read; see §2a), ---HANDOFFS--- (one row per handoff, newest first; fields 23–25 are {source}|{path}|{current-match}; a non-empty {current-match} marks a current row), ---SUMMARY--- (the counts, incl. current_repo_total, current_repo_superseded, current_repo_stale, current_repo_age_review, workspace_member_age_review, unresolved), and ---OTHER-REPOS--- ({repo-key}|{count}|{display}, count desc). The ---CURRENT-REPO-LATEST--- / ---CURRENT-REPO-LIVE--- sections are for /landscape; this skill renders the full table instead and can ignore them.

See REFERENCE §Fields for repo-identity resolution (Repo root: → cwd walk-up, origin-URL keying,
.claude-symlink unification, UNRESOLVED), the supersede rules, and the branch-state / pr-state /
archive-class semantics this skill renders below.
1a. Resolve Jira-Done for still-live rows (skill layer)

list.sh can read PR and bead state but cannot call the Jira MCP — so a handoff whose only "finished" signal is its ticket being closed in Jira still arrives with archive-class empty (🟢 live). Close that gap here, model-side, per REFERENCE §Jira-Done: same gate (only under --check-branches, only for rows without another done/stale/supersede signal that name a ticket), same batched status/resolution-date query for current-repo and workspace-member rows, and the same completion-aware retention helper. Clear both assisted flags on every Jira-Done row, retained or eligible. Skip silently if the Jira MCP errors or isn't configured.

2a. Storage notice

Read ---STORAGE--- (REFERENCE §Fields) before rendering any table:

  • canonical: no notice.
  • legacy or mixed: render once, above the tables,

_📦 Including {legacy_total} handoff(s) from the retired ~/.claude/handoffs, read-only — archiving is disabled until it is migrated._ Add a Source column (canonical / legacy) after Slug in §2 and §2b. When source_collisions > 0, add _{N} filename(s) exist in both locations; each copy is its own row — compare before acting._

  • partial (list.sh exits 3): render the ---SOURCES--- locations whose status is not ok or

absent, e.g. _⚠️ Inventory is partial: ~/.claude/handoffs is unsafe (not followed or read)._, then continue with the rows that were read. Never present a partial inventory as complete or empty.

2. Render the current-repo table

If current_repo_total > 0:

markdown
### 🧷 Handoffs — this repo ({count})
| Date | Slug | Branch | Where | Status | Archive |
|------|------|--------|-------|--------|---------|

Keep cells compact per REFERENCE §Cells (width budget, caps, ellipsis) so the table survives ~180-column terminals instead of collapsing into per-row cards.

  • Date: render {date} {time} (e.g. 2026-06-03 14:32) so same-day handoffs are distinguishable at a glance. Drop the time and show just {date} when {time} is ? (neither header time nor mtime was available).
  • Slug: from the filename (e.g. ab-1107-cta-event).
  • Branch: from the parsed line, capped per REFERENCE §Cells; ? if unknown.
  • Where: worktree indicator plus optional location label per REFERENCE §Cells — e.g. ✅ here, ✅ (main checkout or branch-derived worktree), pruned (missing worktree). The plain-text label reads as "pruned" and the footnote legend below spells it out; everything in the current-repo table is pickable by definition (handoffs that couldn't be matched to a repo never reach this table), so no separate Pickable column.
  • session marks a current-match=session row: written from this directory about another repo. Its Status stays 🟢 live or superseded and its Archive —; add once under the table _session = written from here about another repo; loading it leads with a cd there (§4c)._
  • Use natively wide emoji or plain text in prescribed cells, with no U+FE0F/U+FE0E sequences. Pi and xterm.js disagree on variation-selector widths; do not add selectors to these glyphs.
  • Status: classify the row per REFERENCE §Status (the 9-step precedence: supersede → open PR → merged PR → beads-done → Jira-Done → closed PR → merged → gone → live). Emit the glyphs exactly as written there.
  • Archive: render the candidate flag per REFERENCE §Archive-glyph — safe → 📦 safe, keep → 🔶 keep?, empty → —. Retained non-superseded rows stay — even when Status says merged/done/stale; a §1a Jira-Done promotion counts as safe only after REFERENCE §Retention passes. Unknown completion timing stays retained.

If current_repo_total == 0 and CURRENT-REPO != NONE: _No handoffs for this repo ({CURRENT-REPO-DISPLAY})._

If CURRENT-REPO-KIND == dir, add one line under the table (or in place of it when current_repo_total == 0): _Not in a git repo — matched by directory ({CURRENT-REPO-DISPLAY}); branch/PR liveness and archive candidates are unavailable here._ Rows then carry branch-state=unknown — render them 🟢 live (or superseded) per REFERENCE §Status; never call them stale.

If CURRENT-REPO == NONE: _Current directory could not be identified — handoffs cannot be matched. Showing global counts only._

Render this section exactly once, in this position. Do not repeat the "No handoffs for this repo" sentence later (e.g. after §3's other-repos table) — once is enough. If current_repo_total == 0 but other repos exist, the next section's table provides the rest of the context.

2b. 🧱 Render the workspace-members table

Skip this section entirely when workspace_member_handoffs == 0.

In a multi-repo workspace the root aggregates independent member repos, so handoffs recorded in a member key to the member — not the root. Without this section they'd sit in §3's other-repos summary as a bare count, unpickable from the directory you orient in. See REFERENCE §Workspace-members.

Render from ---WORKSPACE-MEMBER-HANDOFFS--- (26 fields: the usual 24 plus {member-display}|{member-path}):

markdown
### 🧱 Handoffs — workspace members ({workspace_member_handoffs})
| Date | Repo | Slug | Branch | Where | Status | Archive |
|------|------|------|--------|-------|--------|---------|

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
9
7-day trend score
12

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/flurdy/agent-skills/handoffs/badge)](https://verified-skill.com/skills/flurdy/agent-skills/handoffs)

Something wrong with this skill or its page? Tell us.