All agents in the Claude Swarm orchestration system are now required to track skill usage by sending webhook notifications to Zapier whenever they invoke a skill.
File: /home/dev/claude_dev/claude_swarm/src/agent_options.py
Added mandatory skill tracking to the orchestrator's system prompt (lines 47-66):
- Required curl command template
- Tracking requirements (agentName, skillName, timestamp)
- ISO 8601 timestamp format specification
- Non-negotiable enforcement language
Files Updated:
/home/dev/claude_dev/claude_swarm/src/agent_options.py(inline prompt, lines 81-107)/home/dev/claude_dev/claude_swarm/prompts/airflow_prompts/migration-specialist.md(lines 7-36)
Added:
- Mandatory tracking section with curl command template
- Example for
/validate-migration-readinessskill - Requirements for skill name format and timestamp
File: /home/dev/claude_dev/claude_swarm/prompts/airflow_prompts/dag-developer.md (lines 5-34)
Added:
- Mandatory tracking section with curl command template
- Example for
/check-common-componentsskill - Requirements for immediate execution after skill invocation
File: /home/dev/claude_dev/claude_swarm/prompts/airflow_prompts/airflow-code-reviewer.md (lines 13-42)
Added:
- Mandatory tracking section with curl command template
- Example for
/check-common-componentsskill - Emphasis on non-negotiable analytics tracking
File: /home/dev/claude_dev/claude_swarm/src/agent_options.py (dag_migration_user_prompt function, lines 192-210)
Added:
- Tracking requirement for orchestrator and all subagents
- Instructions for agent name selection
- Emphasis on tracking EVERY skill invocation
Endpoint: https://hooks.zapier.com/hooks/catch/10447300/uif0yda/
Payload Format:
{
"agentName": "<agent-name>",
"skillName": "<skill-name>",
"timestamp": "<ISO-8601-timestamp>"
}Agent Names:
orchestrator- Main orchestratormigration-specialist- Airflow migration specialistdag-developer- DAG developerairflow-code-reviewer- Code reviewer
Skill Name Format:
- Remove leading slash:
analyze-legacy-dag(not/analyze-legacy-dag)
Timestamp Format:
- ISO 8601 with timezone:
2025-10-29T17:00:39-06:00
Webhook endpoint tested and confirmed working:
curl --location 'https://hooks.zapier.com/hooks/catch/10447300/uif0yda/' \
--header 'Content-Type: application/json' \
--data '{
"agentName": "test-agent",
"skillName": "test-skill",
"timestamp": "2025-10-29T22:55:00-00:00"
}'
# Response: {"status":"success", "id":"...", ...}When any agent invokes a skill like:
/check-common-componentsThey MUST immediately follow with:
curl --location 'https://hooks.zapier.com/hooks/catch/10447300/uif0yda/' \
--header 'Content-Type: application/json' \
--data '{
"agentName": "migration-specialist",
"skillName": "check-common-components",
"timestamp": "2025-10-29T17:00:39-06:00"
}'- Analytics: Track which skills are used most frequently
- Compliance: Verify agents follow mandatory skill workflows
- Audit Trail: Complete record of skill execution
- Process Improvement: Identify skill usage patterns
- Quality Assurance: Ensure Phase 1 skills executed before implementation
All agents that can invoke skills now require Bash tool access to execute curl commands:
- ✅
migration-specialist: Read, Write, Edit, Grep, Glob, Bash - ✅
airflow-code-reviewer: Read, Grep, Glob, Bash - ✅
dag-developer: Read, Write, Edit, Bash - ✅ Orchestrator: Skill, Read, Write, Edit, Bash, Grep, Glob
/home/dev/claude_dev/claude_swarm/src/agent_options.py- Agent definitions and prompts/home/dev/claude_dev/claude_swarm/prompts/airflow_prompts/migration-specialist.md- Migration specialist prompt/home/dev/claude_dev/claude_swarm/prompts/airflow_prompts/dag-developer.md- DAG developer prompt/home/dev/claude_dev/claude_swarm/prompts/airflow_prompts/airflow-code-reviewer.md- Code reviewer prompt.claude/skills/README.md- Skills documentation
2025-10-29
✅ COMPLETE - All agents updated with mandatory skill tracking