{"data":{"slug":"discovered-ef58a033472f1b981ab64efe2732ba2fa3d8a88e0f4a9ab9","title":"Resume a Task Using Journal Context","summary":"Resume work on a task by delegating journal reading to a subagent that filters notes down to a focused, next-step context. The user receives a focused package: the goal narrowed to that step plus only the context that bears on it.","url":"https:\/\/skillshunter.net\/skills\/discovered-ef58a033472f1b981ab64efe2732ba2fa3d8a88e0f4a9ab9","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/discovered-ef58a033472f1b981ab64efe2732ba2fa3d8a88e0f4a9ab9","markdown_url":"https:\/\/skillshunter.net\/skills\/discovered-ef58a033472f1b981ab64efe2732ba2fa3d8a88e0f4a9ab9.md","download_url":"https:\/\/skillshunter.net\/skills\/discovered-ef58a033472f1b981ab64efe2732ba2fa3d8a88e0f4a9ab9\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Ensure the notes directory exists and contains journal `.md` files before using this skill. If not, the skill will fall back to summarizing an issue and asking the user how to proceed. The task ID is extracted from the worktree path, git branch, or user input, in that order of preference.","instructions":"---\ndescription: Resume a task by delegating journal reading to a subagent that filters notes down to a focused, next-step context\nallowed-tools: Bash(git branch:*), Bash(git -C:*), Bash(ls:*), Bash(pwd:*), Read, Agent, SendMessage, AskUserQuestion\n---\n\nResume work on the current task. Instead of loading every journal file into this\nsession, delegate the heavy reading to a subagent that surveys the notes, helps\nsettle on the next step, and returns a **focused** package: the goal narrowed to\nthat step plus only the context that bears on it. This session stays lean.\n\n**Optional argument (`$ARGUMENTS`)**: a next-step bias hint describing what the\nuser wants to work on (e.g. `\/journal:resume continue the proxy pool work`). Use\nit to pre-select \/ shortcut the \"pick\" step below. If empty, run the full survey\n\u2192 pick \u2192 focus flow.\n\n## Instructions\n\n### 1. Extract the task ID (in order of preference)\n\na. **From worktree path**: If the current directory is under `~\/fun_worktrees\/`, run\n`pwd` and parse `~\/fun_worktrees\/PROJECT\/TOPIC\/TASK`. The **third**\ncomponent is the task ID \u2014 use it **verbatim, including any blurb suffix**\n(e.g. `gh-17-chunk-loading`, NOT the bare `gh-17`); the first is the project,\nthe second the topic. Example: `~\/fun_worktrees\/bevy_survivor\/features\/gh-42-enemy-waves` ->\ntask `gh-42-enemy-waves`, topic `features`.\n\nb. **From git branch**: Run `git branch --show-current`. Use the branch name\n**verbatim** as the task ID (skip `main`, `master`, `laptop`, `develop`).\n\nc. **From user input**: If in `~\/fun_repos` directly, ask which task to resume or\nlist recent `~\/fun_repos\/hobby-mimisbrunnr\/notes\/` files.\n\nIf no task ID can be determined, ask the user for it.\n\n### 2. Resolve the notes dir and worktree\n\n- Notes dir:\n  `~\/fun_repos\/hobby-mimisbrunnr\/notes\/{project}\/{topic}\/{task_id}\/`\n- The worktree is `~\/fun_worktrees\/{project}\/{topic}\/{task_id}` \u2014 the task\n  directory is itself the repo, so there is no repo list.\n- List the notes dir contents: `ls <notes_dir>` (to check what exists).\n\n### 3. Graceful-degrade gate (fresh \/ empty tasks)\n\nIf the notes dir **doesn't exist** or contains **no journal `.md` files** (only\n`task.json` \/ `prs.json`, or nothing), do NOT spawn a subagent. Instead:\n\n- **Read the issue (fallback)**: if the notes dir holds an `issue.md`, read it \u2014\n  the problem statement and its `## Progress` entries. If there is none, skip\n  this \u2014 a hobby task often has no issue at all.\n- Summarize what little exists and **ask the user how to proceed**.\n- Stop here \u2014 the rest of this skill is for tasks with real journal history.\n\n### 4. Survey subagent (read + shortlist)\n\nSpawn ONE subagent to do the reading \u2014 keep the big files out of this session.\n\n- Tool: `Agent`, `subagent_type: general-purpose`, `run_in_background: false`\n  (synchronous \u2014 we need its result before asking the user).\n- Give it: the absolute notes-dir path, the worktree path, and the bias hint (if\n  any). Instruct it to:\n  - Read `implementation.md` \u2014 especially `## Current State` (Status \/ Focus \/\n    Blockers \/ Next \/ \"Carried from \u2026\" lines) and `## Goal`.\n  - Read the newest 1\u20132 daily files (`YYYY-MM-DD.md`, sort by name descending) \u2014\n    focus on `## Open`, `## Action Items`, and `## Done`.\n  - Read only the `### ` heading **index** of `insights.md` (the titles), NOT\n    its body.\n  - Read `task.json` (done \/ blocked) and `prs.json` (outstanding PRs).\n  - Legacy: if only a single `{task_id}.md` exists (old format), read that.\n  - **Return only** (keep it short \u2014 this lands in THIS session's context):\n    1. A 2\u20133 sentence state briefing (where things stand right now).\n    2. 2\u20134 **ranked** candidate next steps, each one line + a short rationale +\n       the source (which file \/ section it came from).\n  - If a bias hint was given, surface and rank the matching candidate(s) first.\n  - Explicitly: NO file-content dumps, no long quotes.\n\nKeep the subagent's ID\/name \u2014 step 6 continues it.\n\n### 5. Pick the next step (work with the user)\n\n- If the bias hint clearly resolves to a single candidate, confirm it in one\n  line and proceed to step 6 without a menu.\n- Otherwise use `AskUserQuestion` to present the candidate next steps as\n  options. The user can pick one or type a custom step via \"Other\".\n\n### 6. Focus subagent (filter to the chosen step)\n\nContinue the **same** subagent via `SendMessage` (it still holds the full\njournal detail, so filtering is cheap \u2014 no re-read). Pass the chosen next step\nand request a **focused context package** for this session:\n\n- The goal narrowed to this step (1\u20132 sentences).\n- Only the prior work \/ decisions \/ `### ` insight entries \/ `## Done` bullets\n  that bear on this step \u2014 reference commit hashes and `[[wikilinks]]` rather\n  than inlining full content.\n- The specific files involved (from `## Key Files` + relevant\n  dailies).\n- Relevant commands \/ queries \/ gotchas for this step.\n- Any outstanding PRs from `prs.json` relevant to this step.\n- Explicitly omit everything unrelated to the chosen step.\n\n**Fallback**: if continuing the same agent isn't possible, spawn a fresh\n`general-purpose` agent with the notes-dir path and the chosen step (accepting\nthe cost of a re-read).\n\n### 7. Present and start\n\nPresent the focused package to the user, restate the chosen next step, and\nsignal you're ready to begin work on it.\n","use_cases":["Resuming work on a task with existing journal files","Identifying the next step in a task based on journal context","Filtering context to a specific next step for focused work"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/julianbieber\/hobby-tooling\/blob\/420f1f68d0f92201d2a7a51a0c463784e1e49405\/skills\/journal\/resume\/skill.md","source_commit":"420f1f68d0f92201d2a7a51a0c463784e1e49405","license":null,"version":null,"listing_approved_at":"2026-11-30","created_at":"2026-11-29T11:13:22.000000Z","updated_at":"2026-11-30T06:52:26.000000Z","seo_title":"Resume Task Using Journal Context","seo_description":"Resume work on a task by delegating journal reading to a subagent that filters notes down to a focused, next-step context. The user receives a focused package: the goal,","seo_keywords":["resume task","journal context","subagent","focused work","task resumption"]}}