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 melodic-software/claude-code-plugins/plugin install disciplineWrote 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/melodic-software/claude-code-plugins/script-the-deterministic-work)<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/script-the-deterministic-work"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/script-the-deterministic-work/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/melodic-software/claude-code-plugins/script-the-deterministic-work"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/script-the-deterministic-work.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.00141 | $0.02697 |
| Opus 5.5 | $0.00056 | $0.01079 |
| Sonnet 5.5 | $0.00028 | $0.00539 |
| Haiku 4.5 | $0.00014 | $0.00270 |
Grade A, and why
script-the-deterministic-work 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 5d 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 — 205 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Script the deterministic work
A drift corrector for the discipline of offloading deterministic sub-work to
a script instead of performing it in your head. The shared method (re-anchor,
audit the work in flight, correct forward, report) lives in
${CLAUDE_PLUGIN_ROOT}/context/re-anchor-audit-correct.md.
Read it; this file adds only what is specific to scripting deterministic work.
The discipline this re-anchors
When a sub-task is purely deterministic (its answer follows mechanically from its input with no judgment in the middle), write a script (or invoke a tool) that produces the answer, run it, read the output, and reason only after, over that output. Counting, diffing, sorting, transforming, matching, sweeping across files, and arithmetic are the recurring shapes. A hand-tallied count or an eyeballed diff carries a silent error the script would not.
The boundary of what to script is not "anything tedious". It is set by which enforcement tier the sub-work belongs to.
The tier vocabulary, a standards convention owns this
The source of truth for the tier distinction is the consuming organization's enforceability-tiers convention, which classifies work by who can decide it. Resolve it per the method doc's ladder, the consumer's own instruction layer first, then that standards convention, then the portable baseline below, and re-anchor the distinction rather than restating the doc's criteria:
- Deterministic, the answer is pass/fail, exact, or countable with no judgment. Script it, run it, reason over the output.
- Detect-then-judge, a mechanical pass narrows the candidates, but the verdict needs meaning or context. Script only the detect half; the judgment stays with the model. A script's flag is a candidate, never the ruling.
- Reasoning-only. Meaning, intent, fit, abstraction quality. Never script it. A script here dresses a judgment call as a computed fact.
When the consuming project declares no such convention, re-anchor that same three-tier shape as the portable baseline.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 5d ago Changed · -24 lines f1b4621c9953
- 8d ago Changed · +74 lines · +24 tokens per session 5cd9fff42664
- 17d ago Changed 0ccb1561c2c3
- 22d ago Changed · -73 tokens per session b5afb4bb2c0b
- 27d ago Changed e9266e614ea5
- 1mo ago First seen · 155 lines · 190 tokens per session scan A b909d3cb1a51
script-the-deterministic-work is a skill published in the GitHub repository melodic-software/claude-code-plugins (26 stars, last pushed today), licensed MIT. It adds 141 tokens to every session and 2,697 once invoked, about $0.0006 per session on Opus 5.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-09-03.
Other skills, from other repositories
linkedin-engine
Daily interactive LinkedIn session: feed posts, DM outreach, prospect research, engagement tracking, and performance review. Human-in-the-loop. Designed for daily /loop.
reddit-reply
Daily follow-up on Reddit engagement. Reads recent reddit-monitor reports, checks each URL for replies to our comments, and drafts follow-up responses. Designed for daily /loop. Load identity and brand-voice first.
social-media-guide
Entry point for social-media — routes to LinkedIn, Reddit, X/Twitter, and the daily social brief.
generate-tree-structure
For tree/maze generation: spanning trees, random mazes, graph coverage. Uses frontier-based exploration with configurable traversal order.
catch-expected-errors
For iteration with errors: catch exceptions during exploration, skip invalid cases, continue to next attempt.
verify-with-inline-tests
For test co-location: tests in same file as code, run with main, tests as documentation and examples.