live-penetration-analysis
Installation
SKILL.md
Live-Stream Penetration Decline / Trend Root-Cause Diagnosis (Universal Edition)
Preflight: Environment & Execution Gate (MUST)
Before Part 0, verify the execution environment in order:
ae-cli config currentsucceeds and the intended account/session is active.python3,scripts/ae_query.sh, andscripts/dim_analyzer.pyare available.- The confirmed
project_idis accessible to the current session. - Bash shell required — scripts use bash syntax (heredoc,
set -uo pipefail); Windows users need WSL or Git Bash.
【MUST·
analysis-meta event listbug fallback】 On ae-cli ≥6.0.47,analysis-meta event listmay fail withINVALID_CAPABILITY_INPUT. Fallback:ae-cli capability run metadata.event.list --input '{"project_id":<pid>,"queries":[...],"limit":200}'. Same formetadata.event.get(--input '{"project_id":<pid>,"event_name":"<name>"}', returnsdata.eventwithevent_props). Do NOT abort event discovery on the CLI bug.
If CLI/login/permission/query execution fails at any point:
- Report the exact failed capability and the available error text to the user.
- Ask the user to restore access or provide the missing input.
- Do NOT infer, fabricate, or reuse data-backed conclusions for the failed window.
- Stop at the failed gate; continue only after the failure is resolved.