el-agent-deploylisted
Install: claude install-skill iansteitz1-eng/aria-skills
# el-agent-deploy
YAML-as-source-of-truth for EL ConvAI agents. Reconciles tool_ids + system-prompt blocks via the EL REST API. Optionally binds Twilio phone numbers.
## When to use
- Wire a new tool to an agent (replaces dashboard drag-drop)
- Append a system-prompt block (idempotent — won't double-append)
- Bind an existing Twilio phone number to an agent
- Audit agent state (`--dry-run` reports drift between YAML and live)
## How it works
1. Reads `el_agents.yaml`
2. Lists EL tool catalog (`GET /v1/convai/tools`) to resolve tool names → tool_ids
3. For each agent:
- GETs current agent config
- Builds new `tool_ids` = dedupe(existing + required)
- Builds new `system_prompt` = existing + any marker-gated blocks not already present
- PATCHes via `PATCH /v1/convai/agents/{agent_id}` (only if changes detected)
4. Idempotent: re-running with no YAML change = no API writes
## CLI
```sh
python3 el_agent_deploy.py # dry-run all agents
python3 el_agent_deploy.py --apply # apply all
python3 el_agent_deploy.py --apply --agent <slug> # one agent
python3 el_agent_deploy.py --apply --agent <slug> --override-gate <value>
# force-apply through deploy_gate
python3 el_agent_deploy.py --apply \ # bind phone
--provision-phone <slug> \
--phone-number +14155551234 \
--twilio-sid ACxxxxxxxx \
--to-number-name "Outbound Line"
```
## Safety