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 shinpr/sub-agents-skills --skill sub-agentsgit clone --depth 1 https://github.com/shinpr/sub-agents-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/shinpr/sub-agents-skills/sub-agents)<a href="https://agentmods.dev/skills/shinpr/sub-agents-skills/sub-agents"><img src="https://agentmods.dev/badge/skills/shinpr/sub-agents-skills/sub-agents/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/shinpr/sub-agents-skills/sub-agents"><img src="https://agentmods.dev/badge/skills/shinpr/sub-agents-skills/sub-agents.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Excessive Agency · line 158 Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00038 | $0.01473 |
| Opus 5.5 | $0.00015 | $0.00589 |
| Sonnet 5.5 | $0.00008 | $0.00295 |
| Haiku 4.5 | $0.00004 | $0.00147 |
Grade A, and why
sub-agents 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 18d 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 — 164 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Sub-Agents - External CLI AI Task Delegation
Spawns external CLI AIs (codex, claude, cursor-agent, glm, kimi, grok, antigravity, gemini, opencode, command-code, mcode, pi) as isolated sub-agents with dedicated context.
Workflow: discover available definitions, select one from the user request, execute it, and handle the JSON response.
Resources
- run_subagent.py - Main execution script
- codex.md - Read before first execution from Codex; covers permissions and timeout
Script Path: Use absolute path {SKILL_DIR}/scripts/run_subagent.py where {SKILL_DIR} is the directory containing this SKILL.md file.
Interpreting User Requests
Extract parameters from user's natural language request:
| Parameter | Source |
|---|---|
--agent |
Agent name from the user request or workflow selection |
--prompt |
Task instruction part (excluding agent specification) |
--cwd |
Current working directory (absolute path) |
--cli |
Backend override explicitly requested by the user; otherwise omit |
--timeout |
Timeout explicitly requested by the user, converted to milliseconds; otherwise omit (default: 600000) |
Example:
"Run code-reviewer on src/"
→ --agent code-reviewer --prompt "Review src/" --cwd $(pwd)
Important: Permission and Timeout
This script executes external CLIs that require elevated permissions.
Before first execution:
- Request elevated permissions via your CLI's tool parameters
- Set tool timeout to match
--timeoutargument (default: 600000ms)
For Codex CLI (most common permission issues): See references/codex.md for exact JSON parameter format.
Workflow
Step 1: List Available Agents
Always list agents first to discover available definitions:
{SKILL_DIR}/scripts/run_subagent.py --list
Output:
{"agents": [{"name": "code-reviewer", "description": "Reviews code..."}], "agents_dir": "/path/.agents"}
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.
- 18d ago Changed · +5 lines a2b2de3a5494
- 2mo ago First seen · 159 lines · 38 tokens per session scan A 0c638aed15c5
sub-agents is a skill published in the GitHub repository shinpr/sub-agents-skills (100 stars, last pushed 16d ago), licensed MIT. It adds 38 tokens to every session and 1,473 once invoked, about $0.0002 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-08-30.
sub-agents compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sub-agentsshinpr/sub-agents-skills | Skill | 100 | 16d ago | MIT | A | 38 | Claude Code, Codex |
| x-tweet-by-conversationbrowser-act/skills | Skill | 6.3k | 4d ago | MIT | A | 218 | Claude Code, Codex |
| oma-scholarfirst-fluke/oh-my-agent | Skill | 1.4k | yesterday | MIT | A | 30 | Claude Code |
| pkf-writingPrismer-AI/PrismerCloud | Skill | 1.4k | 17d ago | MIT | A | 78 | Claude Code, Codex |
| monorepo-managementwshobson/agents | Skill | 42k | 2d ago | MIT | C | 54 | Claude Code |
| render-3d-product-showcasegooseworks-ai/goose-skills | Skill | 1.3k | yesterday | MIT | A | 159 | Claude Code, Codex |
| render-airdrop-carouselgooseworks-ai/goose-skills | Skill | 1.3k | yesterday | MIT | A | 207 | Claude Code, Codex |