From quiver
Delete the most recent handover file to remove the last session's context.
npx claudepluginhub yagizdo/quiver --plugin quiverThis skill uses the workspace's default tool permissions.
---
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Checks Next.js compilation errors using a running Turbopack dev server after code edits. Fixes actionable issues before reporting complete. Replaces `next build`.
Guides code writing, review, and refactoring with Karpathy-inspired rules to avoid overcomplication, ensure simplicity, surgical changes, and verifiable success criteria.
Share bugs, ideas, or general feedback.
First, use the Glob tool to list .claude/handovers/*.md. Sort results by filename descending (newest first, since filenames are timestamps).
Using the Glob results, determine which branch applies:
If the listing shows an error (e.g., "No such file or directory"), is empty, or contains no .md files:
No handover files found — nothing to delete.
Stop here.
If there are one or more .md files:
.md file is the most recent (sorted newest-first). This is the deletion target.Target:
{filename}Remaining after deletion: {count - 1} handover file(s)
AskUserQuestion:
Delete
{filename}? This cannot be undone. Actions: ["Yes, delete it", "Cancel"]
rm .claude/handovers/{filename}
MEMORY.md in your memory directory). Remove only lines that contain the <!-- handover-sourced --> marker from MEMORY.md using the Edit tool. Leave all other entries untouched. Count removed lines as {N}. After cleanup, inform the user:
Also removed {N} handover-sourced references from MEMORY.md. If no matching entries were found, skip this message.
After deletion, output:
Deleted:
{filename}Remaining: {count} handover file(s)
Re-list .claude/handovers/ after deletion to confirm the file is gone and the remaining count is correct.
Trigger: /delete-last-handover (and /quiver:delete-last-handover should also work)
Setup:
.claude/handovers/ directory exists in the project root with one or more .md files (timestamp-named).Expected behavior:
Target: <filename> plus the remaining count.AskUserQuestion with ["Yes, delete it", "Cancel"].MEMORY.md for lines tagged <!-- handover-sourced --> and removes them via Edit, reporting how many were removed.Cancelled — no files were deleted.Verification checklist:
/delete-last-handover..claude/handovers/ is empty or missing (No handover files found — nothing to delete.).rm runs.MEMORY.md lines without the <!-- handover-sourced --> marker remain untouched.Known gotchas:
YYYY-MM-DD_HH-MM-SS.md timestamp format. If filenames ever drift from that format, sort order breaks.