distill
Installation
SKILL.md
distill
Post-mission audit and distillation for crew operations. Two modes:
- capture — fetches mission metadata and CloudWatch logs via the hooks.fellowship.dev API, classifies incidents using the 8-code taxonomy, and POSTs a structured audit JSON to the API
- analyze — fetches audit records from hooks.fellowship.dev, aggregates recurring failure patterns, manages GitHub issues per pattern, promotes exemplars, and reports trend direction
When to Use
- capture: after every mission (pass or fail) — triggered by the poller as a follow-up mission
- analyze: weekly via cron, or manually to survey trends across missions
- Idempotent — the API rejects duplicate audits for the same job_id (409 response)
Prerequisites
python3 --version # needed for log parsing
echo "${PYLOT_DISPATCH_TOKEN:?PYLOT_DISPATCH_TOKEN not set}" # auth token required