task-poke

Reviewed at commit 887502f New version, not yet reviewed

Submits a continue prompt while the task list has unfinished tasks, at most 99 times in a row by default, and turns the task tools on for every model unless…

Made by
Kerem Gok
What we checked

After a turn that leaves unfinished tasks in the task list, sends a fixed 'continue with the next task' prompt for you, up to 99 times in a row by default, so Claude keeps working and spends tokens without you typing. It stops when you answer a question, when three pokes change nothing, or at the limit, and it turns on the task tools for the session.

Review details

Static review of the source at the pinned commit; not run. Hooks: session.start (sets CLAUDE_CODE_ENABLE_TODO_TOOLS=1 through $.env.set for the session unless the user already set it, reads the engine task list once with $.tool.call TaskList, registers /task-poke), command.run for /task-poke (status, on, off, limit 1 to 999), prompt.submit (reads only the origin to reset the count), classic.Stop (reads the number of background tasks), turn.complete (main loop, reason answer only). After a turn it reads $.session.messages and replays TodoWrite, TaskCreate, TaskUpdate and TaskList tool uses to count unfinished tasks; it only looks at tool names, task ids and statuses. If tasks remain, it has no AskUserQuestion pending, no background work and has not hit a stall or the limit, it runs its own command task-poke:send (commands/send.md, body is only $ARGUMENTS) with a fixed text, or falls back to $.prompt.submit. Stall guard: three pokes in a row with no status change and no tool use stop the pokes. Counts and findings go to the sidebar mod or $.ui.log. Stores only enabled and limit with $.store. No network access, no files, no processes, no model calls other than the turns the pokes cause. commands/send.md has no allowed-tools and disable-model-invocation. The two other files (eslint.config.js, Makefile) are not loaded by the hooks and were not read.

What it uses
  • Reads your prompts: no
  • Sees tool calls: yes
  • Blocks or changes tool calls: no
  • Reads or writes files: no
  • Runs programs on your machine: no
  • Calls the model (uses tokens): yes
  • Sends data over the network: no
  • Stores data: yes
  • Shows something on screen: yes
Hooked events

Submits a continue prompt while the task list has unfinished tasks, at most 99 times in a row by default, and turns the task tools on for every model unless CLAUDE_CODE_ENABLE_TODO_TOOLS is set.

Made this mod? Add a badge to your README

modsforClaude badge for task-poke

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/task-poke.svg)](https://modsforclaude.com/mods/task-poke/)

← All mods