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.
npx skills add timjensgrossinger/threnody --skill threnody-workflowgit clone --depth 1 https://github.com/timjensgrossinger/threnodyWrote 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.
[](https://agentmods.dev/skills/timjensgrossinger/threnody/threnody-workflow)<a href="https://agentmods.dev/skills/timjensgrossinger/threnody/threnody-workflow"><img src="https://agentmods.dev/badge/skills/timjensgrossinger/threnody/threnody-workflow/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/timjensgrossinger/threnody/threnody-workflow"><img src="https://agentmods.dev/badge/skills/timjensgrossinger/threnody/threnody-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00076 | $0.01325 |
| Opus 5 | $0.00038 | $0.00662 |
| Sonnet 5 | $0.00015 | $0.00265 |
| Haiku 4.5 | $0.00008 | $0.00133 |
Grade A, and why
threnody-workflow 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 9d 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.
How it starts
The opening of the file, as written. The whole thing — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Threnody workflow orchestration
Runs fan-out work as a tier-aware Dynamic Workflow (each agent() on its
Threnody tier model, not one session model), with multi-queen consensus and
learning — then lets you save a permanent, documented, zero-config /<slug>
command teammates run with no setup.
This is Claude Code-only. Other hosts use host_spawn_waves through
threnody-swarm; all shared behavior must work there first.
Fast-start contract
Workflow-emitting skills must produce a runnable workflow_script quickly:
target under 5 seconds to handoff and under 30 seconds to first worker
spawn. The emitted script must start same-wave workers in a batch, for example
with parallel([...]), before waiting on the wave barrier.
Do not block initial workflow emission on optional refinement, consensus, learning aggregation, or permanent-workflow export. Run those after the first worker wave has started or after the workflow returns.
For review workflows, use the nested cheap shape: the Workflow script performs medium-tier orchestration, launches file reviewers in parallel, and returns a compact synthesis to the main session. Keep high-tier judgment for explicit deep/security-critical review or validated high/critical findings.
Prerequisite (claude-code only)
This path needs routing_policy.shells.claude-code.workflow_emit: true in
~/.local/lib/threnody/config.yaml. If it is off (or the host is not Claude Code),
the response will not include workflow_script — fall back to /threnody-swarm.
Requires Claude Code v2.1.154+ (Workflow tool).
Workflow
execute_swarm(task, topology="star"|"auto").- Inspect the response:
workflow_emit: true+workflow_script— the tier-aware script. Launch it via the Workflow tool (paste/runworkflow_script). It runs in the background, keeps intermediate results out of your context, and routes each agent to its model. Same-wave agents must be represented as a batch in the script, not as a sequential loop.- No
workflow_script— emission is off; use/threnody-swarminstead.
- When the workflow returns, call
report_workflow_result(workflow_name, agents)with theagentsarray the workflow returned (report_workflow_resultrecords per-agent learning telemetry). - Consensus:
- Hybrid (default): the response also has a
consensus_wave. After the workflow finishes, spawn each read-only queen in it as a hostAgent(one parallel message), thenreport_host_wave(swarm_id, wave, workspace_root, agents=[...])with each queen's JSON verdict asoutput_excerpt. If the response returnsconsensus_followup, spawn the single judge Agent it provides and report again. - Opt-in (
consensus_in_workflow): queens run inside the workflow; pass the workflow's returnedconsensusarray toreport_workflow_result(..., consensus=[...]). If it returnsconsensus_followup, spawn one judge Agent and re-call withconsensusset to just the selected queen's proposal. - For ordinary reviews, prefer a targeted verifier pass for synthesized
HIGH/CRITICALfindings instead of running consensus over every file.
- Hybrid (default): the response also has a
- Save a permanent workflow (the payoff): once a shape recurs across successful runs,
report_workflow_resultreturnsworkflow_draft.enqueued: true. Then:approval_queue_approve(<queue_id>, operator=<you>)to approve the learned workflow.- Export it with tuning + documentation:
This re-tunes per-tier models from recorded outcomes ("what model did task X well"), writes a documented header (tier→model map, persona roster + roles, related learned agents), and savespython3 -c "import shared.workflow_export as wx, shared.db as d; \ wx.export_workflow(<approved_draft_dict>, project_path='.', db=d.Database(), tune=True)".claude/workflows/<slug>.js. - Commit
.claude/workflows/<slug>.jsto the repo → teammates run/<slug>with zero config.
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.
- 9d ago First seen · 106 lines · 76 tokens per session scan A bb263178a683
threnody-workflow is a skill published in the GitHub repository timjensgrossinger/threnody (2 stars, last pushed 12d ago), licensed Apache-2.0. It adds 76 tokens to every session and 1,325 once invoked, about $0.0004 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.
Other skills, from other repositories
personetta-set-active
Switches the active Personetta persona via set-active. The target tool is auto-detected from the host agent (Claude Code here), so no --format is needed. Use when the user asks to change recipe, switch persona, or set active role.
personetta-current
Reports the active Personetta recipe id using the installed CLI. The host agent (Claude Code here) is auto-detected. Use when the user asks for their current persona, active recipe, or which Personetta role is on.
personetta-list
Lists Personetta recipes (and optionally roles) using the installed Personetta CLI. Use when the user asks what recipes or personas exist before switching.
rework-rate
Measure and interpret PR rework rate — the emerging 5th DORA metric.
curate-a-team-library
Use when building a managed team skills library for a real stack. Map work to shelves, browse before curating, write meaningful whyHere notes, and create a starter pack once the first pass is solid.
migrate-skills-between-libraries
Use when moving skills between library workspaces or upgrading from a personal library to a team library. Export from one workspace, import into another.