Tool sp handle agents local tasks
Skill swiftpostlabs/agentic-tools/.agents/skills/tool-sp-handle-agents-local-tasks
Read the local `.agents/tasks/` workspace — the `TODO.md` notes list and the tracked task folders under `new/`, `open/`, `closed/` — choose the next actionable item, and work it through with code changes, validation, folder moves, and status updates. Use when: the user asks to check `.agents/tasks/TODO.md`, continue remaining local tasks, or process the repo's local agent-task backlog.From its SKILL.md
npx -y skills add swiftpostlabs/agentic-tools --skill tool-sp-handle-agents-local-tasksAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its file declares
Copied from the file, not written here
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
7.9 KB, ~1.7k tokens by cl100k_base, as published. Nobody here has run it
Handle Agents Local Tasks
Purpose
Guide the agent through reading the repo's local task workspace under .agents/tasks/ — the lightweight TODO.md notes list and the tracked task folders in new/, open/, and closed/ — picking the next actionable item, executing it with normal coding discipline, and keeping the folder location, status frontmatter, and notes in sync with reality.
When to use this skill
- The user asks to check
.agents/tasks/TODO.md. - The user asks to continue remaining local tasks.
- The user asks to work through the repo's local backlog instead of one already-scoped code change.
- The agent needs a repeatable workflow for reconciling
.agents/tasks/with the current repository state.
Scope boundaries
This tool works the local .agents/tasks/ backlog: pick the next item, do it, move the folder, update
the status. It is deliberately broad about what the work is — the work itself belongs to whichever
skill owns that domain.
ref-sp-agents-local-tasks— the conventions this tool follows: directory model, lifecycle subfolders,TODO.mdsyntax, frontmatterstatus. Read it for the format; use this tool to work the backlog.- The owning skill for whatever the task touches. This tool routes and tracks; it does not replace the domain skill for the change being made.
tool-sp-commit— grouping the resulting diff into commits.- Issue trackers and any backlog outside
.agents/tasks/are out of scope; this is the local, gitignored workspace only.
First Step
Read the repo's local-tasks skill (ref-sp-agents-local-tasks here, the requires dependency), then inspect .agents/tasks/TODO.md and the tracked task folders in .agents/tasks/new/ and .agents/tasks/open/ before planning or coding.
Core Workflow
- Read
.agents/tasks/TODO.mdfor quick items, and list the tracked task folders innew/andopen/(theirREADME.mdstatusshows where each stands). - If the user mentioned a specific task, repo area, or local task folder, inspect that slice first.
- Pick the next actionable item — an open task in
open/, then areadytask innew/, then quickTODO.mditems — skipping anythingblocked. - Triage it: execute directly if it is simple and well-defined, or clarify and refine first if it is broad, ambiguous, or based on shaky assumptions.
- When a substantial item warrants tracking, create
.agents/tasks/new/<task-name>/README.mdwithstatusfrontmatter and the clarified goal, assumptions, and subtasks before execution. - When work begins on a tracked task, move its folder from
new/toopen/and setstatustoin progress. - Execute one task slice at a time using the normal local-anchor, edit, and validation workflow.
- When a tracked task finishes, move its folder to
closed/and setstatustodone(orcancelled); update itsREADME.mdandTODO.mdwhen items are completed, superseded, clarified, or blocked. - For complex items, prepare a user-facing closeout that covers what was done, what was not done, how and why important decisions were made, validation, and remaining caveats.
- Re-check
TODO.mdand thenew//open/folders after each completed slice so newly added items or scope changes are not missed. - Stop only when no actionable items remain or a concrete blocker requires user input.
Defaults
- Default to the next actionable item — an
in progresstask inopen/, then areadytask innew/, then quickTODO.mditems — unless the user explicitly reprioritizes the work. - Skip
blockedtasks unless the blocker is now resolvable; surface the blocker rather than forcing the task. - Default to execution, not just triage, unless the user asked only for planning or review.
- Do not rush every item straight into implementation; simple items can be acted on directly, but complex or underdefined ones should be clarified first.
- Treat feature development, broad refactors, multi-file skill or workflow updates, cross-repo updates, and tasks with meaningful tradeoffs as complex enough to deserve a tracked folder and a real closeout answer.
- Treat mundane chores such as creating a branch, running a simple command, or applying a narrow typo fix as simple unless they expose broader decisions or blockers.
- When a task points to a file, symbol, or neighboring repo, use that as the first anchor before broader exploration.
- When a task remains too broad after the first read, switch into refinement mode with the user and record the task breakdown in
.agents/tasks/new/<task-name>/README.md, keeping itsstatus: newuntil it isready. - Keep each task's folder location and
statusfrontmatter synchronized with real progress as part of the task, not as an afterthought. - Re-check
TODO.mdand thenew//open/folders before concluding the overall session.
Closeout Answers
- For a complex completed item, explain what changed, what did not change, how the work was approached, why notable decisions were made, which validations ran, and any remaining risks or follow-up work.
- For a complex blocked item, explain the blocker, what was already checked, what remains unknown, and what user decision or external input is needed.
- For a simple item, keep the answer short. Do not manufacture a long retrospective when the task had no meaningful tradeoffs.
- If several items were handled in one session, group the closeout by task so the user can see which are complete and which are still pending.
Gotchas
- Do not treat stale local notes as more authoritative than the code, tests, or current repo state.
- Do not silently skip actionable items just because one slice is inconvenient; either handle them or surface the blocker.
- Do not delete or rewrite unrelated local task folders while working on the current item.
- Keep the subfolder and
statusin agreement at all times (see the core invariant inref-sp-agents-local-tasks):new/→new/ready/blocked,open/→in progress/in review/blocked,closed/→done/cancelled. Moving a folder and updating itsstatusis a single step — never do one without the other, and never leave an invalid pairing such asclosed/withstatus: in progress. - Do not move a task to
closed/just because it isblocked; a blocked task stays innew/oropen/withstatus: blocked. - If a task is ambiguous, resolve the ambiguity from nearby code or notes when possible; if the missing detail still controls the outcome, ask the user before implementing.
- If a task contains a wrong assumption, correct the premise explicitly with the user instead of executing the wrong task cleanly.
Validation
- Confirm the executed slice has a focused validation step before marking the task done.
- Confirm any finished tracked task was moved to
closed/withstatus: doneorcancelled, and that in-flight tasks sit inopen/with a matchingstatus. - Confirm complex items have an appropriate closeout answer before ending the turn.
- Confirm
.agents/tasks/TODO.mdand thenew//open//closed/folders reflect the current state before ending the session. - Confirm any durable guidance discovered during local task execution has been promoted out of
.agents/tasks/when appropriate.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.