threnody-task

threnody-task is a skill for Claude Code from timjensgrossinger/threnody. It costs 46 tokens per session (1,056 once invoked), scanned A, original, Apache-2.0.

Instructions for planning and running multi-file coding tasks in waves of agent work. A wave is a group of tasks that can run in parallel after earlier dependencies are complete.

In plain words
What is it for?
Use it for task routing, breaking work into subtasks, creating a wave plan, running host agents, and reporting each wave’s results.
Why use it?
It organizes larger work into planned stages and keeps dependent tasks in the right order. It is intended for orchestration without the separate swarm system.

Skill for Claude Code

Written for Claude Code: PostToolUse hook event.

Part of the threnody plugin — 10 skills, 3 agents shipped together

Good fit Use it for task routing, breaking work into subtasks, creating a wave plan, running host agents, and reporting each wave’s results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/timjensgrossinger/threnody/threnody-task
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add timjensgrossinger/threnody --skill threnody-task
Clone the repo
git clone --depth 1 https://github.com/timjensgrossinger/threnody

Made for: Claude Code.

Or install threnody, the plugin that ships this one along with the rest of its 10 skills, 3 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for threnody-task

README.md
[![agentmods](https://agentmods.dev/badge/skills/timjensgrossinger/threnody/threnody-task.svg)](https://agentmods.dev/skills/timjensgrossinger/threnody/threnody-task)
Your own site
<a href="https://agentmods.dev/skills/timjensgrossinger/threnody/threnody-task"><img src="https://agentmods.dev/badge/skills/timjensgrossinger/threnody/threnody-task.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,056 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.01056
Opus 5 $0.00023 $0.00528
Sonnet 5 $0.00009 $0.00211
Haiku 4.5 $0.00005 $0.00106

Measured 7d ago against content hash d709f3975cb2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

threnody-task scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/threnody-task/SKILL.md · 85 lines

How it starts

The opening of the file, as written. The whole thing — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Threnody task orchestration

Execution phase after planning — see threnody-plan for plan-only vs plan-then-execute routing.

Use this skill for planning + host wave execution without the full swarm persistence contract (swarm_id, budget preview, resume checkpoints).

When to use

Use threnody-task Use threnody-swarm instead
plan_task / decompose_task / fleet_plan execute_swarm
Host runs host_spawn_waves Need swarm_id, telemetry, resume
No budget preview token flow Budget preview + preview_token confirm
Single planning pass Coordinator star rounds (delegate mode)

Workflow

  1. Prefer threnody-plan first unless the user already approved a wave plan.
  2. route_task(task) — tier, execution_hint, optional single host_spawn.
  3. Decompose (multi-concern work):
    • Prefer decompose_task(task) (alias of plan_task).
    • Or plan_task(task) directly.
  4. Read host_spawn_waves from the plan response.
  5. Execute waves in order via host Task/Agent:
    • Agents within one wave may run in parallel.
    • Respect wave ordering (later waves wait for earlier dependencies).
  6. Reporting — check learning_report_contract.report_mode:
    • batch (default): do NOT call report_host_wave per worker wave. Spawn waves; learning is captured automatically (PostToolUse hook) or passed in the single terminal call (learning_capture=model).
    • inline (legacy): report_host_wave(host_run_id|plan_run_id, wave, workspace_root, agents[]) after each wave with task_id, spawn_id, success, touched_files, output_excerpt.
  7. Mid-run: expand_host_plan(discovered_files=[...]) when wave 1 discovers files not in the initial plan.
  8. Final: report_host_swarm_complete(outcome=...) once (batch imports + finalizes). Check finalize.swarm_outcome.
  9. Optional: fleet_plan(task) when you want ready-made fleet command strings per wave.

Read the full file on GitHub · 85 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 85 lines · 46 tokens per session scan A d709f3975cb2

Subscribe to this mod's changes

threnody-task is a skill published in the GitHub repository timjensgrossinger/threnody (2 stars, last pushed 11d ago), licensed Apache-2.0. It adds 46 tokens to every session and 1,056 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.