What problem does it solve?
The main agent never executes tasks directly. For every task, it "hires" a specialist agent. Agents are .md files in .claude/agents/ -- PERMANENT contracts that persist across projects. This skill defines the contract-based hiring system.
Core Features & Use Cases
- Detect need: Analyze tasks to determine required expertise and map to capabilities.
- Check existing agents: Search both project-local and global agent libraries, read frontmatter, verify skills are current.
- Propose hire: Require explicit user approval before creating a new contract file under .claude/agents/.
- Create agent file: Write a dedicated .md contract with name, description, tools, model, skills, maxTurns, and file-ownership guidelines.
- Invoke: Spawn the hired agent with a defined file ownership scope for task execution.
Quick Start
When a task arises, trigger the agent-hiring workflow to select or create a specialized contract and assign explicit file ownership.