toil-offloading-pi

toil-offloading-pi is a skill for Claude Code, Codex from magic3007/dotfiles. It costs 112 tokens per session (1,813 once invoked), scanned A, original, MIT.

A guide for splitting suitable work between a main coding agent and smaller helper agents. A helper agent is given a self-contained task with a clear result, while the main agent keeps the design decisions and final review.

In plain words
What is it for?
Use it to divide searches, implementations, refactoring, data extraction, artifact creation, and tests into contract-based subtasks, then review and combine the results.
Why use it?
It lets the main agent spend effort on requirements, architecture, and acceptance while helpers handle work that can be described and checked in advance.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions Codex.

Good fit Use it to divide searches, implementations, refactoring, data extraction, artifact creation, and tests into contract-based subtasks, then review and combine the results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/magic3007/dotfiles/toil-offloading-pi
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 magic3007/dotfiles --skill toil-offloading-pi
Clone the repo
git clone --depth 1 https://github.com/magic3007/dotfiles

Made for: Claude Code, Codex.

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 toil-offloading-pi

README.md
[![agentmods](https://agentmods.dev/badge/skills/magic3007/dotfiles/toil-offloading-pi/github.svg)](https://agentmods.dev/skills/magic3007/dotfiles/toil-offloading-pi)
Your own site
<a href="https://agentmods.dev/skills/magic3007/dotfiles/toil-offloading-pi"><img src="https://agentmods.dev/badge/skills/magic3007/dotfiles/toil-offloading-pi/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.

agentmods 80×15 button for toil-offloading-pi

Your own site · 80×15
<a href="https://agentmods.dev/skills/magic3007/dotfiles/toil-offloading-pi"><img src="https://agentmods.dev/badge/skills/magic3007/dotfiles/toil-offloading-pi.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,813 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.00112 $0.01813
Opus 5.5 $0.00045 $0.00725
Sonnet 5.5 $0.00022 $0.00363
Haiku 4.5 $0.00011 $0.00181

Measured 4d ago against content hash 329b02e5a53d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

toil-offloading-pi 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 4d 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.

pi/skills/toil-offloading-pi/SKILL.md · 130 lines

How it starts

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

Toil Offloading (pi)

The orchestration contract — what stays in the root, how to partition, the 8-field assignment brief, risk-based validation, and integration — is harness-neutral and lives in ~/.agents/skills/toil-offloading/SKILL.md and ~/.agents/skills/toil-offloading/references/assignment-brief.md. Read both before the first delegation. This skill adds only what pi decides.

The root agent is the strong, slow model. Subagents are cheap and fast. Design the work so the expensive model spends its budget on judgment, and the cheap models absorb volume.

Use the subagent tool exposed by the pi-herdr-agents extension. Do not launch agent CLIs (claude, codex, gemini, ...) as shell subprocesses.

Runtime mechanics — launch parameters, supervision, worktrees, config keys — are owned by the package's operating guide: /skill:pi-herdr-agents plus the package docs under ~/.pi/agent/npm/node_modules/pi-herdr-agents/docs/.

The two-tier model

Tier Model Owns
Root the session's strong/slow model Goal clarification, decomposition, architecture and design calls, contract authorship, integration, risk grading, acceptance
Subagents cheap/fast (models.default, a role's pinned model, or the per-call model) Executing contracts: recon, implementation, refactoring, data extraction, artifact generation, test writing, verification runs, review

Delegation is the default for decomposable work because the marginal subtask costs a cheap model's time, not the root's. The root should spend its context on the plan and the acceptance decision, not on typing out the changes.

Where the tier is declared

~/.pi/agent/herdr-agents/config.json holds the durable defaults, and the checked-in source of that file is pi/herdr-agents/config.json in the dotfiles repository (the seed hook copies it only when the target is missing). The relevant key is models.default; per-role pins live in role frontmatter and per-task overrides in the tool call.

Read the full file on GitHub · 130 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. 4d ago Changed · -156 lines 329b02e5a53d
  2. 1mo ago Changed · +25 lines · +1 tokens per session 7d98c5967d3f
  3. 2mo ago First seen · 261 lines · 111 tokens per session scan A 7e640556489e

Subscribe to this mod's changes

toil-offloading-pi is a skill published in the GitHub repository magic3007/dotfiles (11 stars, last pushed 5d ago), licensed MIT. It adds 112 tokens to every session and 1,813 once invoked, about $0.0004 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-18.

Related

toil-offloading-pi compared with skills from other repositories

toil-offloading-pi next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
toil-offloading-pimagic3007/dotfilesSkill115d agoMITA112Claude Code, Codex
dotfilesurmzd/dotfilesSkill64d agoApache-2.0A67Claude Code
use-thingsooloth/dotfilesSkill24todaynoneA65Claude Code
achieve-goalooloth/dotfilesSkill24todaynoneA103Claude Code
use-slackooloth/dotfilesSkill24todaynoneA61Claude Code, Codex
wrap-up-sessionooloth/dotfilesSkill24todaynoneA50Claude Code, Codex
rexooloth/dotfilesSkill24todaynoneA30Claude Code, Codex