Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add mnthe/hardworker-marketplace/plugin install ultraworkWrote 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/commands/mnthe/hardworker-marketplace/ultrawork-clean)<a href="https://agentmods.dev/commands/mnthe/hardworker-marketplace/ultrawork-clean"><img src="https://agentmods.dev/badge/commands/mnthe/hardworker-marketplace/ultrawork-clean/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/commands/mnthe/hardworker-marketplace/ultrawork-clean"><img src="https://agentmods.dev/badge/commands/mnthe/hardworker-marketplace/ultrawork-clean.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.00017 | $0.01005 |
| Opus 5 | $0.00009 | $0.00502 |
| Sonnet 5 | $0.00003 | $0.00201 |
| Haiku 4.5 | $0.00002 | $0.00101 |
Grade A, and why
ultrawork-clean 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 10d 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 — 159 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Ultrawork Clean Command
Overview
Clean ultrawork sessions. Two modes:
- Single session clean (default): Delete current session for fresh
/ultraworkstart - Batch cleanup: Delete multiple sessions based on criteria (requires explicit flags)
Step 1: Parse Arguments
Parse command arguments to determine cleanup mode:
| Argument | Mode | Behavior |
|---|---|---|
| (no args) | Single session | Delete ONLY current session (CLAUDE_SESSION_ID) |
--older-than N |
Batch | Delete terminal-state sessions older than N days |
--completed |
Batch | Delete all terminal-state sessions |
--all |
Batch | Delete ALL sessions (dangerous!) |
IMPORTANT: Without batch flags (--all, --completed, --older-than), ONLY the current session is deleted.
Step 2: Execute Cleanup
Default Mode (No Arguments) - Single Session Clean
This is the DEFAULT behavior when /ultrawork-clean is run without arguments.
Deletes ONLY the current session (identified by CLAUDE_SESSION_ID) to allow a fresh /ultrawork start.
SCRIPTS="${CLAUDE_PLUGIN_ROOT}/src/scripts"
bun "${SCRIPTS}/ultrawork-clean.js" --session "${CLAUDE_SESSION_ID}"
Output:
{
"success": true,
"session_id": "abc-123",
"goal": "Add user auth",
"phase": "PLANNING",
"message": "Session deleted. Run /ultrawork to start fresh."
}
Batch Mode: --older-than N
Delete sessions older than N days in terminal states only (COMPLETE, CANCELLED, FAILED).
SCRIPTS="${CLAUDE_PLUGIN_ROOT}/src/scripts"
bun "${SCRIPTS}/ultrawork-clean.js" --older-than ${N}
Batch Mode: --completed
Delete all sessions in terminal states, regardless of age.
SCRIPTS="${CLAUDE_PLUGIN_ROOT}/src/scripts"
bun "${SCRIPTS}/ultrawork-clean.js" --completed
Batch Mode: --all
Delete ALL sessions, including active ones. Use with extreme caution.
SCRIPTS="${CLAUDE_PLUGIN_ROOT}/src/scripts"
bun "${SCRIPTS}/ultrawork-clean.js" --all
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.
- 10d ago First seen · 159 lines · 17 tokens per session scan A 2f44490db103
ultrawork-clean is a command published in the GitHub repository mnthe/hardworker-marketplace (4 stars, last pushed 4mo ago), licensed MIT. It adds 17 tokens to every session and 1,005 once invoked, about $0.0001 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 commands, from other repositories
cancel-ralph
Cancel active Ralph Loop.
obsidian-recap
Summarize a time period from the vault - today, week, or month.
setup-pm-skills
Onboard a new user — find out what they do, recommend the right bundles & top skills, and set up a project CONTEXT.md so every skill is tailored to them.
statusbar-style
Switch the status-bar style (classic / capsule / hairline).
engage.actions
Execute Phase 7 - Actions on Objectives and Goal Achievement.
superpowers-execute
Execute the current GSD phase plan with Superpowers instead of gsd-execute-phase.