ops-fireslisted
Install: claude install-skill Lifecycle-Innovations-Limited/claude-ops
# OPS ► FIRES
## Runtime Context
Before executing, load available context:
1. **Daemon health**: Read `${CLAUDE_PLUGIN_DATA_DIR:-$HOME/.claude/plugins/data/ops-ops-marketplace}/daemon-health.json`
- Check `infra-monitor` service status — if not running, pre-gathered infra data may be stale
- If `action_needed` is not null → surface it immediately as a potential fire
2. **Secrets**: AWS credentials are required for ECS/CloudWatch queries.
### Secret Resolution
- First: check `$AWS_ACCESS_KEY_ID` / `$AWS_PROFILE` env vars
- Then: `doppler secrets get AWS_ACCESS_KEY_ID --plain` (if `doppler` configured in prefs)
- Then: use `password_manager_config.query_cmd` from preferences
- Sentry token: `$SENTRY_AUTH_TOKEN` → Doppler `SENTRY_AUTH_TOKEN` → vault
3. **Preferences**: Read `${CLAUDE_PLUGIN_DATA_DIR}/preferences.json` for `secrets_manager` config to know which vault to query.
## CLI/API Reference
### aws CLI
| Command | Usage | Output |
|---------|-------|--------|
| `aws ecs list-services --cluster <name> --query 'serviceArns'` | ECS services | ARN list |
| `aws ecs describe-services --cluster <name> --services <arn> --query 'services[0].{status:status,running:runningCount,desired:desiredCount}'` | Service health | JSON |
| `aws logs tail /ecs/<service> --since 1h --format short` | ECS logs | Log lines (use with Monitor for live) |
### gh CLI (GitHub)
| Command | Usage | Output |
|---------|-------|--------|
| `gh run list --limit 20 --json status