prun

prun is a skill for Codex from yzhao062/anywhere-agents. It costs 145 tokens per session (5,254 once invoked), scanned C, original, Apache-2.0.

A task-runner that splits a larger job into independent units and sends them to separate workers in parallel. A coordinator assigns the work, reviews the results, and combines the changes.

In plain words
What is it for?
Use it for parallel code changes, analysis, research, or other independent task units, with Codex workers preferred and Sonnet workers used for specific needs.
Why use it?
It reduces waiting time for work that can be done independently. It also keeps coordination separate from the workers doing the tasks.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: reads .claude/ paths; mentions subagents; runs codex exec.

Good fit Use it for parallel code changes, analysis, research, or other independent task units, with Codex workers preferred and Sonnet workers used for specific needs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yzhao062/anywhere-agents/prun
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 yzhao062/anywhere-agents --skill prun
Clone the repo
git clone --depth 1 https://github.com/yzhao062/anywhere-agents

Made for: 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 prun

README.md
[![agentmods](https://agentmods.dev/badge/skills/yzhao062/anywhere-agents/prun/github.svg)](https://agentmods.dev/skills/yzhao062/anywhere-agents/prun)
Your own site
<a href="https://agentmods.dev/skills/yzhao062/anywhere-agents/prun"><img src="https://agentmods.dev/badge/skills/yzhao062/anywhere-agents/prun/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 prun

Your own site · 80×15
<a href="https://agentmods.dev/skills/yzhao062/anywhere-agents/prun"><img src="https://agentmods.dev/badge/skills/yzhao062/anywhere-agents/prun.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 145 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,254 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00145 $0.05254
Opus 5.5 $0.00058 $0.02102
Sonnet 5.5 $0.00029 $0.01051
Haiku 4.5 $0.00015 $0.00525

Measured yesterday against content hash ba762bdc860c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

prun scanned grade C with 1 finding 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 yesterday.

The scan reads SKILL.md. This mod also ships 14 executable files (scripts/dispatch-task-agy.py, scripts/dispatch-task-grok.py, scripts/dispatch-task.ps1, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Harvests environment variableshighData exfiltration

Enumerating or grepping the environment for keys collects credentials unrelated to what the mod says it does.

The dispatcher once passed `os.environ.copy()` straight through, and a worker need only list its
packages/pypi/anywhere_agents/composer/skills/prun/SKILL.md · 294 lines

How it starts

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

prun (parallel run)

Overview

prun fans a task out into independent units that run in parallel while the current session only coordinates. Every unit runs on Agy by default: an Agy process running Gemini through the Antigravity CLI, on the Google AI plan authenticated in agy. A unit runs on Codex only when the user names Codex for it, or on Grok only when the user names Grok for it (see Executors). The coordinator decomposes the task, dispatches the units, gathers their results, reviews their diffs, and integrates. It never runs a unit itself.

No Claude-side workers. A Sonnet subagent, a Workflow agent, or any other Agent-tool worker draws on the same Claude account as the coordinating session, so a fan-out of them spends the pool the session itself needs. Inspect current Agy quota before a large batch.

prun never starts a Workflow or a Claude subagent, not as a unit, a fallback, or a second panel. A Claude panel the user explicitly asks for is a Workflow run outside prun. A cross-vendor read on staged work is what /vet is for.

When to use

Use prun when the task splits into independent units that can run at once (different modules, separate research questions, parallel analyses). Units may be heterogeneous, and there can be many of them: a dozen or twenty in parallel is normal when the task warrants it.

Do not use prun when the task is one sequential unit, or units depend on each other's output, or a unit's result cannot be checked without redoing it.

Reference Index

Read a reference only when its condition holds; reading one never authorizes an action this file withholds.

File Read when
references/grok-executor.md the user names Grok for a unit or a batch
references/agy-quota-and-models.md before overriding ANTIGRAVITY_DISPATCH_MODEL, ANTIGRAVITY_DISPATCH_EFFORT, or ANTIGRAVITY_PREFLIGHT; when a MODEL-* line appears or a dispatch exits 75; when the sandbox needs changing; or when auto mode refuses a dispatch
references/codex-executor.md the user names Codex for a unit or a batch
references/state-recovery.md a run was interrupted, or gather replaces monitor
references/web-units.md a unit needs the web

Read the full file on GitHub · 294 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. yesterday Changed ba762bdc860c
  2. 2d ago Changed · -1 lines 950a4a85cf9c
  3. 6d ago Changed 202ba206deab
  4. 14d ago Changed · -297 lines d2266df58be3
  5. 17d ago Changed d6ddff9692a3
  6. 18d ago Changed · +5 lines · +20 tokens per session 77e8e42dbc07
  7. 1mo ago Changed · -1 lines e3d1f73f8808
  8. 1mo ago Changed · +4 lines a4f0ed9872b9
  9. 1mo ago Changed · +12 lines 9476860d5aa1
  10. 2mo ago First seen · 572 lines · 125 tokens per session scan C 10e3ca1af704

Subscribe to this mod's changes

prun is a skill published in the GitHub repository yzhao062/anywhere-agents (264 stars, last pushed today), licensed Apache-2.0. It adds 145 tokens to every session and 5,254 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it C with 1 finding (harvests environment variables). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

prun compared with skills from other repositories

prun next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
prunyzhao062/anywhere-agentsSkill264todayApache-2.0C145Codex
detecting-typosquatting-packages-in-npm-pypiadriannoes/awesome-agentic-aiSkill1082d agoMITA132Claude Code, Codex
detecting-typosquatting-packagesadriannoes/awesome-agentic-aiSkill1082d agoMITA66Claude Code, Codex
detecting-dependency-confusionadriannoes/awesome-agentic-aiSkill1082d agoMITA24Claude Code, Codex
bumblebeeaboalrejal-ai/skillsSkill13mo agoMITB29Claude Code, Codex
performing-supply-chain-attack-simulationxalgorix/xalgorixSkill1.5kyesterdayApache-2.0A54Claude Code, Codex
npm-securitybodadotsh/npm-security-best-practicesSkill85915d agoMITA43Claude Code, Codex