capture-leftover
Capture a follow-up task that surfaced mid-flow but shouldn't distract from the current focus.
Skill by danielrosehill
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/danielrosehill-capture-leftover
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/capture-leftover
What's inside
- Skill name
capture-leftover- Description
- Capture a follow-up task that surfaced mid-flow but shouldn't distract from the current focus. Appends to `<repo>/planning/leftover-tasks.md` (auto-scaffolds if missing). Use when the user says "park this", "leftover task", "note this for later", "follow-up but not now", "don't let me forget about X", or when Claude and the user mutually agree to defer something rather than context-switch.
- License
- MIT
- Instructions
- 96 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Capture Leftover Task
Append a deferred follow-up to the lightweight planning structure without leaving the current task. Designed to take seconds — minimal interruption, maximum recall later.
## When to use
- The user explicitly defers something: "let's not do that now, but remember it"
- Claude proposes something tangential and the user says "noted, but later"
- Mid-debug, a separate issue surfaces — capture it before forgetting, but stay on the original
- Mutual "let's park this" moments
If the follow-up is **in-scope of the current task**, just add it to the working TODO. This skill is for things that would otherwise derail the session.
## Steps
### 1. Resolve target file
```bash
repo_root=$(git rev-parse --show-toplevel 2>/dev/null) || repo_root="$PWD"
target="$repo_root/planning/leftover-tasks.md"
```
If `target` doesn't exist, run `scaffold-planning` first (silently — don't pause to ask). After scaffolding, `target` will exist with a header and template.
If `cwd` is not in a git repo and the user didn't specify a target, ask:
> Capture this as a leftover task in: (1) cwd's `planning/leftover-tasks.md`, (2) global `$CLAUDE_USER_DATA/claude-rudder/leftover-tasks.md`, or (3) somewhere else?
Default to (1) but confirm.
### 2. Gather inputs
In one short prompt or by inferring from context, get:
- **Summary** — one line, ≤80 chars (e.g. "Refactor auth middleware to remove the legacy session-token path")
- **Surfaced during** — what the current session is doing (Claude usually knows this from context — propose it, let user override)
- **Why deferred** — short reason. Default: "would distract from current focus" if user doesn't elaborate
- **Context** — the minimum a future session needs to pick this up. Often a sentence or two; sometimes a code path, file name, or external link
- **Estimated scope** — `small`, `medium`, `large`, or `unknown`. Default `unknown` if user doesn't say
Don't over-interrogate. If the user has only given a one-liner, fill the rest with reasonable inferences and a `Context: <propose>` that they can confirm or revise.
### 3. Format and append
Build the entry:
```markdown
## 2026-04-27 18:53 — Refactor auth middleware to drop legacy session-token path
- **Surfaced during:** debugging the new login flow in src/auth/login.ts
- **Why deferred:** would derail the current bug fix — pure tech-debt
- **Context:** see `src/auth/legacy-session.ts`; new flow already in place but old code still referenced. ~200 LOC removal.
- **Estimated scope:** medium
- **Status:** open
```
Append to `target` after the existing `<!-- new entries appended below -->` marker (or just at end of file). Each entry is separated from the next by a single blank line.
Use ISO-8601 minute resolution for the timestamp, in the local timezone. Example: `2026-04-27 18:53` (no seconds, no timezone — keep it readable; the marker is the absent timezone).
### 4. Confirm briefly
Print one line:
```
✓ Captured: "Refactor auth middleware..." → planning/leftover-tasks.md (3 open total)
```
The "(N open total)" tally is helpful — it lets the user see the parking lot is filling up and consider running `start-leftover` soon.
### 5. Return to the original task
Don't elaborate. Don't summarise the captured task back at length. The whole point is **minimum interruption** — get back to what we were doing.
## Bulk mode
If the user provides multiple follow-ups in one go ("park these three: …, …, …"), handle as a loop:
- Confirm the list once before writing
- Append all entries in order, same timestamp ± 1 minute apart, or just same timestamp
- Print a summary: "✓ Captured 3 leftovers → planning/leftover-tasks.md (5 open total)"
## Hard rules
- **Don't switch tasks.** This skill is non-disruptive by design. Capture and return.
- **Don't ask more than 1-2 follow-up questions.** If context is missing, fill with reasonable inferences and let the user revise the file later.
- **Append-only.** Never reorder or rewrite existing entries.
- **No git commits.** Let the user decide when to commit the planning folder.
## Counterparts
- `start-leftover` — picks up an entry from this file in a fresh session
- `scaffold-planning` — creates the file and surrounding structure
- `log-blocker` — for things blocking progress (different category)
- `leftover-aggregator` agent — proactively scans conversation for missed defer-momentsFrom danielrosehill/Claude-Rudder, MIT.
More from danielrosehill/Claude-Rudder
- 0.470score
scaffold-planning
danielrosehill
Create a lightweight `planning/` folder in the current repo with leftover-tasks.md, blockers.md, session-logs/, and handovers/.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
context-gate
danielrosehill
One-shot context-checkpoint workflow — when the current session is getting cluttered, write a structured handover plan capturing what's done and what's…
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
context-workflow-reference
danielrosehill
Reference and worked example for the CONTEXT.md / CLAUDE.md two-file workflow.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
install-from-github
danielrosehill
Use when the user points at a GitHub repo (an agent skill, MCP server, or "Claude plugin"-ish project) and wants to install or register it.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
plugin-data-storage
danielrosehill
Canonical reference for where Claude Code plugins should persist user data.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
save-plan
danielrosehill
Save a Claude Code plan (from ExitPlanMode, design discussion, or multi-step task) to persistent storage.
SkillAFreshness: A★ 2Claude Code +9 - 0.467score
setup-agent-logs
danielrosehill
First-run setup for the session log archive.
SkillAFreshness: A★ 2Claude Code +9 - 0.467score
extract-skill
danielrosehill
Synthesize a new SKILL.md from the procedure that was just followed in this session, so the next session can replay it without being briefed from scratch.
SkillAFreshness: A★ 2Claude Code +9 - 0.348score
log-blocker
danielrosehill
Append a known blocker to `<repo>/planning/blockers.md` (auto-scaffolds if missing).
SkillDFreshness: D★ 2Claude Code +9 - 0.348score
fork-new-direction
danielrosehill
Create a new repo that starts from the current repo's state but takes a new direction — copy the code, seed CLAUDE.md with the revised approach, and push.
SkillDFreshness: D★ 2Claude Code +9 - 0.348score
spawn-docs-repo
danielrosehill
Create a sibling docs repo for the current project, move documentation out of the main repo into it, seed CLAUDE.md, and push to GitHub.
SkillDFreshness: D★ 2Claude Code +9 - 0.348score
mirror-to-private
danielrosehill
Create a private GitHub repo that mirrors the current public repo.
SkillDFreshness: D★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Apr 27, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/danielrosehill/Claude-Rudder
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from danielrosehill
- 0.470score
plugin-data-storage
danielrosehill
Canonical reference for where Claude Code plugins should persist user data.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
save-plan
danielrosehill
Save a Claude Code plan (from ExitPlanMode, design discussion, or multi-step task) to persistent storage.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
onboard
danielrosehill
First-run onboarding for the adb-ops plugin.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
context-gate
danielrosehill
One-shot context-checkpoint workflow — when the current session is getting cluttered, write a structured handover plan capturing what's done and what's…
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
context-workflow-reference
danielrosehill
Reference and worked example for the CONTEXT.md / CLAUDE.md two-file workflow.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
scaffold-planning
danielrosehill
Create a lightweight `planning/` folder in the current repo with leftover-tasks.md, blockers.md, session-logs/, and handovers/.
SkillAFreshness: A★ 2Claude Code +9
Cite this page
capture-leftover skill. Agent Mart. https://agentmart.dev/skills/danielrosehill-capture-leftover (last updated 2026-10-24)