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 agentmods add skills/eveld/claude/before-spawning-tasknpx skills add eveld/claude --skill before-spawning-taskgit clone --depth 1 https://github.com/eveld/claudeWhat 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 | $0.00027 | $0.00299 |
| Opus 5 | $0.00014 | $0.00150 |
| Sonnet 5 | $0.00005 | $0.00060 |
| Haiku 4.5 | $0.00003 | $0.00030 |
Grade A, and why
before-spawning-task 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 2d 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.
What it actually says
Before Spawning Task
STOP: You're about to use the Task tool.
Check for Specialized Agents First
Don't use generic subagent_type values. We have specialized agents:
| Task Type | Use This subagent_type |
|---|---|
| Finding files/components | codebase-locator |
| Understanding code | codebase-analyzer |
| Finding similar patterns | codebase-pattern-finder |
| Finding documentation | thoughts-locator |
| Analyzing documents | thoughts-analyzer |
| Web research | web-search-researcher |
Examples
❌ Wrong:
Task(subagent_type="general-purpose", prompt="Find auth files")
Task(subagent_type="Explore", prompt="How does login work?")
✅ Correct:
Task(subagent_type="codebase-locator", prompt="Find all authentication-related files")
Task(subagent_type="codebase-analyzer", prompt="Analyze how the login flow works")
When Generic Agents Are OK
Only use generic agents (general-purpose, Explore) when:
- No specialized agent matches the task
- Task requires mixed capabilities (search + analysis + web)
- User explicitly requests a specific agent type
Always prefer specialized agents when available.
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.
- 2d ago First seen · 45 lines · 27 tokens per session scan A 74717a3b95bd
before-spawning-task is a skill published in the GitHub repository eveld/claude (10 stars, last pushed 7mo ago), licensed MIT. It adds 27 tokens to every session and 299 once invoked, about $0.0001 per session on Opus 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-31.
Other skills, from other repositories
skills-creator
Create or update LiveAgent runtime skills. Use when you need to summarize a workflow into a skill, write it into the fixed user skills root, validate it, package it, or refine a skill's references for LiveAgent's SkillsManager flow.
add-new-opc-skill
Checklist and automation guide for adding a new skill to the OPC Skills project. Ensures all required files, metadata, logos, and listings are created before release. Use when adding a new skill, publishing a skill, or preparing a skill for release.
omh-agent-board
This is a Hermes-native agent-board workflow skill.
omh-cto-loop
This is a Hermes-native cto-loop workflow skill.
design-mcp-server
Design the tool surface, resources, and service layer for a new MCP server. Use when starting a new server, planning a major feature expansion, or when the user describes a domain/API they want to expose via MCP. Produces a design doc at docs/design.md that drives implementation.
promptscript
PromptScript language expert for reading, writing, modifying, and troubleshooting .prs files. Use when working with PromptScript syntax, creating or editing .prs files, adding blocks like @identity, @standards, @restrictions, @shortcuts, @skills, or @agents, configuring promptscript.yaml, resolving compilation errors…