gtapps/hermitd/task
Claude Code and agent skill by gtapps/hermitd
- community
Checking that the SKILL.md file is still in the repository.
Tracks chat assignments, steering in a task thread, WORKER completions, and confirmations alongside task progress and results.
Install
npx vskill@latest install gtapps/hermitd/taskSKILL.md
The same SKILL.md was published earlier as gtapps/hermitd/task.
Tasks
Read .hermit/TASKS.md first for intake and confirmation policy. Use bun ${CLAUDE_PLUGIN_ROOT}/scripts/task.ts <verb> .hermit ... for every record operation. Never edit tasks/ directly. All task.ts shorthand uses that pinned command; see ../../docs/task-records.md.
Commands
task-block:bun ${CLAUDE_PLUGIN_ROOT}/scripts/task.ts block .hermittask-list:bun ${CLAUDE_PLUGIN_ROOT}/scripts/task.ts list .hermittask-receipt:bun ${CLAUDE_PLUGIN_ROOT}/scripts/task.ts receipt .hermithelper-eligible:bun ${CLAUDE_PLUGIN_ROOT}/scripts/task.ts helper-eligible .hermittask-note:bun ${CLAUDE_PLUGIN_ROOT}/scripts/task.ts note .hermitconversation:bun ${CLAUDE_PLUGIN_ROOT}/scripts/conversation.ts .hermit
Intake
Typed terminal turn: task answer <id> --local --reply <token>, task dismiss <id> --reason-stdin, task close <id> --local --by confirmed --reason-stdin; no prompt, bypass refuses answer --local. If the gate says only the operator can run it, have them type /hermitd:task-decide <id> <token>. Chat turn: --chat/--user. Decision replies: task answer [<id>] --chat <key> --user <sender-id> --reply <token> first. In any language, map to yes, no, a number or label. Respect not_decider, consent_required, stale and ambiguous. Input resumes decision.resume. Before task steering, run task.ts list .hermit --open --conversation <sourceKey>:<chat_id>. Select via the task thread or hook's open-tasks line; on ambiguity, ask once naming candidates. Questions open nothing.
Use open --title ... --requester <sourceKey>:<user_id> --done ... for assignments. Pass requester display name, origin message id, conversation, due date and explicitly named approver when available. A record's --card stays with the resident, which also hands it to a worker and takes it back with note <id> --owner worker:<agentId> / --owner resident; a worker never opens or closes a record itself. Resident readiness is handled by /hermitd:resident-start. Work whose definition of done the agent can observe gets a check, at open when the predicate is already known, otherwise with note <id> --check once the inputs have been read.
Dispatch independent new work at once, in parallel with running tasks. Only for work explicitly requested after the current work, open a resident record and state its queue position from the open-task ordering. After a close or cancel, continue with next_queued in the same turn when the digest names a record. In a chat without threads with two or more open tasks, resident-composed replies and cards name their task by handle.
Complete a task turn
For a task assignment or update, follow this order once the caller's authorization check has passed (channel-responder/SKILL.md § 1c for a channel turn):
- Accept an assignment. Send the short "On it" acknowledgement through the channel, then create its record using the route § Channel task procedures selects. Do this before reading task inputs or doing substantive work. For a terminal assignment, follow branches.md § Reuse an idle helper after opening the record.
- Do the work. Record progress on the selected record per § Progress and results.
- Deliver and record the outcome. Send the outcome through the channel. When it needs human acceptance, pipe that same outcome into
task.ts block .hermit <id> --result-stdinbefore ending the turn. Require the returned digest to saylisting: "unconfirmed"with a positiveresult_rev; this saves the result and waits on the named approver or requester. - Acknowledge updates. After a requested record change succeeds, acknowledge it through the channel, including short bookkeeping-only turns. A terminal summary does not complete this step. Confirmed results close through § Closure's revision and actor checks.
Finished recommendations, drafts and reviews awaiting acceptance require --result-stdin. The --waiting-on / --status-line / --next form records an unfinished-work stall, not a result. If a finished outcome returns a stall digest, run the result form before ending the turn.
Inspect each command's result. If delivery or recording fails, report what remains incomplete through the available channel; do not claim the failed step succeeded.
Applying proposal tasks
At intake, a kind: proposal record follows proposal-create/apply.md, which also says when an instruction is its consent. The resident can apply a one-line configuration edit; use hermitd:task-worker for larger work. Never open another task to implement it. A done worker response with a passing executable check closes through task-check.ts; a worker’s task report --kind result records authored content and opens the admin result decision. Resident-authored content uses block --result-stdin. For needs-input, REJECT opens a new consent decision with the evidence; an unsettled implementation choice opens an input decision with options and resume naming the procedure. Pass --decision JSON to block, plus status and next step for an unfinished wait.
For a “full report” request, use watch/notices.md § Report receipts even when the task already closed.
Channel task procedures
- Task thread: a thread holds one open task; chats without threads share records named by the hook’s open-tasks line. With
[task thread <key>: …], continuations steer that record; unrelated one-offs answered in this reply open nothing. Unrelated work meeting TASKS.md’s threshold opens its own task. When unsure, ask once. Steering to watch something goes to/hermitd:watch <instruction>in this turn. - Open the thread. Run
bun ${CLAUDE_PLUGIN_ROOT}/scripts/conversation.ts .hermit thread-open --source '<sourceKey>' --chat-id '<chat_id>' --message-id '<message_id>' --name '<title>', adding--thread-id '<value>'when the tag carries the thread attribute. The title is 1 to 100 characters, distinguishing detail (subject or id) first and shared details (model, effort) last. Its JSONkeyis<key>,chat_idis the destination chat, and anyreplyparameters go on every reply in the task thread. Onthread_busy, Read branches.md § Busy thread and follow it before posting a card. Onerror, report it and create no record. - Several assignments in one message. One message is one task unless the requester asks for separate tasks; only then does each get its own record, thread, card and worker. Run one
thread-openper assignment with the same--message-idand batch the independent calls. Inside a thread, finish each assignment’sthread-openandopenbefore the nextthread-open; the first takes a free thread and later ones getthread_busy. End the turn only after the last dispatch. - Acknowledge, then record. Reply “On it: <summary>” with the channel's reply tool in the destination, with
reply_toset to the incoming message when no thread was opened. That reply is the progress card. Runtask.ts open .hermit --owner resident --conversation <key> --card '{"chat_id":"<destination-chat-id>","message_id":"<sent-id>"}' --requester <sourceKey>:<user_id> --origin-message-id <message_id> --title ... --done .... Omit--cardwhen the channel returned no message id; do not invent one. Onthread_required, you skipped the thread: open it from the assignment's origin--message-id, post the card in the destination, and retryopenwith the returned key. Onthread_busy, follow branches.md § Busy thread. - Choose at intake. Read branches.md § Reuse an idle helper. Otherwise, only if the requester asks for a session, run
/hermitd:spawn-sessionin this record's turn; never offer one. Else Dispatch the worker. - Dispatch the worker. Download the message's attachments first. Dispatch
hermitd:task-workerwith theAgenttool in the background, passing the record id, the brief with the operator language,<key>, and the attachment paths. The worker submits once throughtask reportand returns its receipt. A model or effort the requester names goes in the Agent call'smodeloreffort; fill whichever they did not name from thedelegationthattask.ts openprinted (noopenthis turn:jq -c '.delegation // {}' .hermit/config.json), omitting nulls so the worker's default applies. Then runtask.ts note .hermit <id> --owner worker:<agentId>with the id the dispatch returned, and end the turn. - Steer the running worker. For a continuation of a record whose owner is a worker,
SendMessagethe body to the id in the record'sowner, including after a resident/clear(the worker survives it and delivery lands at its next tool round). On success pipe the steer intotask.ts note .hermit <id>and end the turn. - Replace an unreachable worker. Only when that send fails, Read branches.md § Replace an unreachable worker and follow it.
- Take the worker's result. On
WORKER <task-id> done <id>orWORKER <task-id> needs-input <id>, use branches.md. Readtask list --all --id <task-id> --json --with-decisionsfor a short report-back for relay and no channel.Unreachable:gets a maintainer-only notice and wait onmaintainer. - Steer the bound session. On a helper-owned record or
[bound tasks]route, read branches.md § Steer the bound session. Captureprior_reportbefore sending. - Park the task. A message asking to park, pause or hold the thread's task, on an
owner=residentorowner=helperthread, is a stall: runtask.ts block .hermit <id> --waiting-on <requester> --status-line ... --next ...and confirm in the thread. - Answer a waiting record. For a non-command message continuing a resident-owned waiting record, the resident may answer the waiting record itself when the work fits this turn, ending the turn with the applicable record commands on the injected
[waiting task ...]line. For work that outlasts the turn, Read branches.md § Replace an unreachable worker, write its history file, and build its brief plus<key>and the requester's message unchanged and the operator language, since a resumed worker may have lost its context. When the annotation carrieslast_worker,SendMessagethat brief to that id and, on success, runtask.ts note .hermit <id> --owner worker:<last_worker> --clear-waiting. On a refused send or nolast_worker, dispatch as that section says, adding--clear-waitingto its owner note. - Terminal assignments never go through here; they follow § Complete a task turn.
- Conversation command: execute only the hook's
[conversation command: <name>]annotation after the caller's authorization check has passed (channel-responder/SKILL.md§ 1c for a channel turn). A[conversation command: restart needs a handle: …]annotation gets a short reply naming those handles and starts nothing. A[conversation command refused: …]annotation gets that plain refusal; never invoke the harness command. A[conversation command outside a task thread]annotation gets a short explanation that the command needs an open task thread, and starts nothing. - For
helper-switch,help,mute,unmuteorrestart, Read branches.md § Conversation command and follow it. - Return after the command; do not mutate another record or continue into another classification.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/hermitd/skills/task/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/gtapps/hermitd/task)