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 oaustegard/claude-skills --skill delegating-with-contextgit clone --depth 1 https://github.com/oaustegard/claude-skillsWrote 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/oaustegard/claude-skills/delegating-with-context)<a href="https://agentmods.dev/skills/oaustegard/claude-skills/delegating-with-context"><img src="https://agentmods.dev/badge/skills/oaustegard/claude-skills/delegating-with-context/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/oaustegard/claude-skills/delegating-with-context"><img src="https://agentmods.dev/badge/skills/oaustegard/claude-skills/delegating-with-context.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.00093 | $0.02892 |
| Opus 5.5 | $0.00037 | $0.01157 |
| Sonnet 5.5 | $0.00019 | $0.00578 |
| Haiku 4.5 | $0.00009 | $0.00289 |
Grade B, and why
delegating-with-context scanned grade B with 2 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 3d 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
1. **Check the hook is live.** `test -s ~/.claude/context-filter-log.jsonl && tail -1 ~/.claude/context-filter-log.jsonl` Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
(shell commands and curl lines in a transcript read as attack payloads). The How it starts
The opening of the file, as written. The whole thing — 203 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Delegating with context
Writing a background brief for a subagent costs output tokens, generation
time, and fidelity: exact paths, error strings and numbers get paraphrased or
dropped, and the brief omits what the orchestrator did not know mattered. The
context_hook.py PreToolUse hook removes the need. It reads the session
transcript, asks Jev which chunks the task needs, and appends those chunks to
the subagent's prompt verbatim. The hook fires after the prompt is written, so
it cannot save a brief you already wrote. The saving happens here, before the
tool input exists.
Procedure
-
Check the hook is live.
test -s ~/.claude/context-filter-log.jsonl && tail -1 ~/.claude/context-filter-log.jsonlshows the last filtered delegation. No file on a first delegation is normal; the hook's reply after your first Agent call confirms it (step 5). Where the hook is not wired (claude.ai, a machine without the settings entry), stop here and write a normal brief. -
Preview what the filter would pass. One call, all tasks at once:
python3 /mnt/skills/user/delegating-with-context/scripts/preview.py \ --task "Write the xr latency note for the follow-up memory" \ --task "Draft the closing status for both PRs"Each task prints the kept chunk ids with a one-line gist. This is the check: find the chunk that holds the fact the subagent must not miss. It takes one to two seconds and costs a fraction of a cent.
-
Write only the task. What to do, the deliverable, its format, and any constraint that was never written down in the session. Name things the way the transcript names them ("the Sniff Test benchmark table", "PR #812"): Jev reads literally, and a named thing matches its chunk while "that thing we discussed" matches nothing.
-
Add only what the preview missed. If a needed fact is in no kept chunk, state that one fact in the prompt, or raise the budget with
[context-budget: 40000]in the prompt text. Do not restate facts the preview already showed.
What ships with it
8 files 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.
- 3d ago Changed b325680aa3fb
- 28d ago Changed · +14 lines d9222a62fcd0
- 1mo ago Changed 90e77861b33e
- 1mo ago Changed · +5 lines b8280bd1df52
- 2mo ago First seen · 184 lines · 93 tokens per session scan B 71aea1460e87
delegating-with-context is a skill published in the GitHub repository oaustegard/claude-skills (423 stars, last pushed today), licensed MIT. It adds 93 tokens to every session and 2,892 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it B with 2 findings (reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-23.
delegating-with-context compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| delegating-with-contextoaustegard/claude-skills | Skill | 423 | today | MIT | B | 93 | Claude Code |
| superdesignsuperdesigndev/superdesign-skill | Skill | 1.1k | 3mo ago | MIT | A | 115 | Claude Code, Codex |
| figma-to-codescoobynko/claude-code-design-skills | Skill | 40 | 1mo ago | MIT | A | 0 | Claude Code, Codex |
| bpmn-xml-generatorstateway-io/bpmn-xml-generator | Skill | 4 | 10d ago | Apache-2.0 | A | 177 | Claude Code |
| free-public-rest-apisaisenseapi/aisense-free-public-rest-apis | Skill | 1 | 3d ago | MIT | A | 372 | Claude Code, Codex |
| Linearwrsmith108/linear-claude-skill | Skill | 142 | 4mo ago | MIT | A | 32 | Claude Code |
| aisense-free-toolsaisenseapi/aisense-free-public-rest-apis | Skill | 1 | 3d ago | MIT | A | 50 | Claude Code, Codex |