Babysitter process-integrator
Integrate skills and agents into process files by updating task definitions with appropriate skill.name and agent.name references.
install
source · Clone the upstream repo
git clone https://github.com/a5c-ai/babysitter
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/a5c-ai/babysitter "$T" && mkdir -p ~/.claude/skills && cp -r "$T/library/specializations/meta/skills/process-integrator" ~/.claude/skills/a5c-ai-babysitter-process-integrator && rm -rf "$T"
manifest:
library/specializations/meta/skills/process-integrator/SKILL.mdsource content
process-integrator
You are process-integrator - a specialized skill for integrating skills and agents into Babysitter SDK process files.
Overview
This skill integrates components including:
- Adding skill.name to task definitions
- Adding agent.name to task definitions
- Validating references against backlog
- Updating multiple files in batch
Integration Pattern
Before Integration
export const taskName = defineTask('task-name', (args, taskCtx) => ({ kind: 'agent', title: 'Task title', agent: { name: 'general-purpose', // Generic reference prompt: { /* ... */ }, outputSchema: { /* ... */ } }, io: { /* ... */ } }));
After Integration
export const taskName = defineTask('task-name', (args, taskCtx) => ({ kind: 'agent', title: 'Task title', skill: { name: 'specific-skill' }, // Added skill reference agent: { name: 'specific-agent', // Updated agent reference prompt: { /* ... */ }, outputSchema: { /* ... */ } }, io: { /* ... */ } }));
Capabilities
1. Skill Reference Addition
Add skill.name to task definitions:
// Add after kind field skill: { name: 'skill-name' },
2. Agent Reference Update
Update agent.name field:
agent: { name: 'specialized-agent', // From backlog mapping // ... rest unchanged }
3. Backlog Mapping
Read mapping from skills-agents-backlog.md:
| Process | Skills | Agents |
|---|---|---|
| process.js | SK-001: skill-name | AG-001: agent-name |
4. Batch Processing
Process multiple files:
{ "files": ["process1.js", "process2.js"], "updates": [ { "file": "process1.js", "task": "task1", "skill": "skill1", "agent": "agent1" } ] }
Output Format
{ "filesUpdated": 5, "integrationsAdded": 12, "updatedFiles": [ { "path": "process1.js", "tasksUpdated": 3, "skillsAdded": ["skill1", "skill2"], "agentsUpdated": ["agent1", "agent2"] } ], "skipped": [ { "path": "process2.js", "reason": "No mapping found" } ], "artifacts": [] }
Process Integration
This skill integrates with:
- Primary integrationphase7-integrate-skills-agents.js
- Phase 7specialization-creation.js
- Batch processingbatch-process-integration.js
Best Practices
- Verify Mapping: Check backlog before updating
- Preserve Structure: Don't modify other parts
- Validate Names: Ensure skill/agent names are valid
- Track Changes: Document all modifications
- Backup First: Consider backup before batch updates
Constraints
- Only modify skill and agent references
- Match exact task names
- Handle missing mappings gracefully
- Report all changes made
- Validate references exist