一键导入
alive-analysis
Data analysis workflow kit using the ALIVE loop (Ask, Look, Investigate, Voice, Evolve)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Data analysis workflow kit using the ALIVE loop (Ask, Look, Investigate, Voice, Evolve)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | alive-analysis |
| description | Data analysis workflow kit using the ALIVE loop (Ask, Look, Investigate, Voice, Evolve) |
Data analysis workflow kit based on the ALIVE loop. Optimized for Cursor's batch-oriented agent model.
State management: Read .analysis/status.md and .analysis/config.md at the start of EVERY command. Write updates back to .analysis/status.md after EVERY action.
Question style: Present ALL questions at once in a structured form. Do NOT ask questions one by one — Cursor agents work best with batch input.
File-based context: There is no session memory. Always read state from files before acting.
alive-analysis structures data analysis using the ALIVE loop: Ask → Look → Investigate → Voice → Evolve
Two personas:
What do we want to know — and WHY?
[Period] + [Subject] + [Condition] + [Metric] + [Output Format]What does the data ACTUALLY show — and what's missing?
Why is it REALLY happening — can we prove it?
So what — and now what?
What would change our conclusion — and what should we ask next?
For detailed methodology, see
core/references/analytical-methods.mdFor conversation examples, seecore/references/conversation-examples.md
"Why did X happen?" — Root cause analysis, anomaly detection, ad-hoc deep dives.
"Can we predict/classify/segment?" — Statistical modeling, ML, forecasting. Focus on prediction targets, feature exploration, model comparison, drift monitoring.
"What would happen if we do X?" — Policy evaluation, pricing strategy. Uses 4-step framework: identify variable accounts → define relationships → scenario experiments → continuous refinement.
ASK: Real goal identified? Causal/correlational framing? Hypothesis tree built? Actionable question? Data spec confirmed?
LOOK: Segmented before conclusions? Confounders checked? External factors? Cross-service impacts? Variability checked?
INVESTIGATE: Multiple hypotheses tested? Multi-lens applied? Causation verified (if claimed)? Sensitivity analysis? Confidence levels assigned?
VOICE: "So What → Now What" applied? Confidence tagged with reasoning? Trade-offs explicit? Guardrails checked? Execution path included?
EVOLVE: Conclusion stress-tested? Monitoring set up? North Star connected? Follow-ups defined? Knowledge captured?
- [ ] Is the purpose clear and framed (causation/correlation/comparison/evaluation)?
- [ ] Was the data broken down by groups (not just totals)?
- [ ] Were alternative explanations considered?
- [ ] Does the conclusion answer the question with a confidence level?
- [ ] Is there enough data (rows, time period) to support this conclusion?
ALIVE loop adapted for experiments:
| ALIVE | Experiment | Key Question |
|---|---|---|
| ASK → DESIGN | What exactly are we testing? | Is the hypothesis falsifiable? |
| LOOK → VALIDATE | Is the setup correct? | Is randomization clean? |
| INVESTIGATE → ANALYZE | What do the numbers say? | Is the effect real? |
| VOICE → DECIDE | What should we do? | Launch, kill, extend, iterate? |
| EVOLVE → LEARN | What did we learn? | What's next? |
Key principles: One question per experiment. Pre-register analysis plan. Respect sample size. Check for interference (SUTVA). Guardrails are non-negotiable.
For statistical methods, see
core/references/experiment-statistics.md
Analysis → Monitor Setup → Regular Checks → Alerts → Investigation
4 tiers: 🌟 North Star (1) → 📊 Leading (3-5) → 🛡️ Guardrail (2-4) → 🔬 Diagnostic (unlimited)
STEDII validation: Sensitive, Trustworthy, Efficient, Debuggable, Interpretable, Inclusive
Alert escalation: 🟢 Healthy → 🟡 Warning → 🔴 Critical → Investigation
F-{YYYY}-{MMDD}-{seq}S-{YYYY}-{MMDD}-{seq}Q-{YYYY}-{MMDD}-{seq}E-{YYYY}-{MMDD}-{seq} / Quick: QE-{YYYY}-{MMDD}-{seq}M-{YYYY}-{MMDD}-{seq}A-{YYYY}-{MMDD}-{seq}Analysis: ❓ ASK → 👀 LOOK → 🔍 INVESTIGATE → 📢 VOICE → 🌱 EVOLVE
Experiment: 📐 DESIGN → ✅ VALIDATE → 🔬 ANALYZE → 🏁 DECIDE → 📚 LEARN
Status: ✅ Archived | ⏳ Pending | 🟡 In Progress
{ID}_{title-slug}/quick_{ID}_{title-slug}.md01_ask.md through 05_evolve.md.analysis/models/{model-slug}_v{version}.md.analysis/status.md for state tracking.When scope expands mid-analysis: park the new question for EVOLVE follow-ups, swap the current scope, or expand with timeline re-estimation.
If spending 3+ rounds on a sub-question without actionable progress, check: "Does knowing this change what we'd recommend?" If no → move to VOICE.
If bad data is discovered: assess impact on core question, then patch & continue, scope down, pause & fix, report with caveat, or reframe.
Never comply with requests to reach predetermined conclusions. Present data honestly with trade-off framing.
All AI responses and generated files follow the language set in .analysis/config.md. Default: English. Technical terms (ALIVE, STEDII, SHAP) remain in English.
| Question | Method |
|---|---|
| Which groups are different? | t-test (2), ANOVA (3+) |
| Which users are similar? | K-Means clustering |
| What appears together? | Association rules (Lift) |
| Can we predict an outcome? | LTV models, time series |
| Is this A/B test real? | Experiment analysis |
| How spread out / risky? | CV, Sharpe ratio adaptation |
| Quasi-Experimental | When |
|---|---|
| DiD | Before/after + comparison group |
| RDD | Clear threshold determines treatment |
| PSM | Groups inherently different |
| IV | External factor affects treatment only |
For full details on all methods, see
core/references/analytical-methods.md
Track whether recommendations led to real outcomes. Built into EVOLVE stage.
Recommendation → Decision (Accept/Reject/Modify) → Execution → Result
When creating analyses, remind the user to update pending Impact Tracking items. /analysis-retro aggregates impact data across all analyses.
Connect related analyses with tags (e.g., retention, pricing). Defined in config.md (team-level) or ad-hoc per analysis. AI suggests relevant tags on creation and checks for related work. Tags are preserved during Quick→Full promotion.
Track deployed ML models in .analysis/models/{model-slug}_v{version}.md. Each model card includes: performance metrics, feature importance, training details, deployment info, and drift monitoring triggers. Versions auto-increment on retraining. Links to originating Modeling analysis and metric monitors.
Specialist agents auto-run or surface recommendations at each ALIVE stage.
Commands:
/analysis-agent — Show specialist recommendations for current stage/analysis-agent {number} — Run a recommended agent directly (e.g., /analysis-agent 1)/analysis-agent "{alias}" — Run by alias (e.g., /analysis-agent "통계", /analysis-agent "sql")Behavior:
scope-guard, data-quality-sentinel, ethics-guard, reproducibility-keeper.analysis/agents.yml (copy from core/config/agents.yml)See
core/agents/registry.ymlfor full agent catalog (31 agents). Seeplatforms/cursor/rules/alive-agents.mdcfor dispatch protocol.
Structured learning for the ALIVE methodology through guided scenarios.
Commands:
/analysis-learn — Start a learning session/analysis-learn-next — Get feedback and advance to next stage/analysis-learn-hint — Request progressive hints (3 levels per stage)/analysis-learn-review — Complete with scored reviewDifficulty levels:
Scenarios:
Feedback protocol: Score each stage using rubric → highlight strengths → identify gaps with explanations → check ## Most Common Mistakes in rubric.md and present matched patterns as > **Common Mistake Detected**: {name} — {explanation} → reveal next-stage data. Adjust tone by learner's role.
Hints: 3 progressive levels per stage (Direction → Specific → Near-answer). Tracked in progress.md.
Progress: .analysis/education/progress.md — scores, Skill Radar, recommended next.
Graduation: Beginner → Intermediate (2+ scenarios, 70%+). Education → Production (Intermediate 75%+).
ID format: L-{YYYY}-{MMDD}-{seq}
Integration: Learning sessions show as 📚 in status, excluded from search/retro by default.
/analysis-searchDeep full-text search across all analyses (active + archived). Shows matching context with surrounding lines, cross-references similar conclusions, and surfaces unresolved follow-ups.
Filters: --keyword, --tag, --date, --type, --confidence, --active/--archived/--both
/analysis-retroGenerates a retrospective report from archived analyses for a given period. Outputs to analyses/.retro/retro_{period}.md.
Sections: Summary, Analysis Activity, Impact Tracking, Patterns, Unresolved Follow-ups, Recommendations, Appendix.
Options: --last-month (default), --last-quarter, --range {from to}, --all
/analysis-dashboardExports analyses to JSON and opens the ALIVE Dashboard (node graph visualization).
bash dashboard/export.sh > dashboard-export.jsondashboard/alive-dashboard.html in browserAdd meta.yml to each analysis folder for analyst, tags, followups, keyFinding fields.
/analysis-drAppend-only log of methodology decisions. Prevents AI from re-proposing alternatives already evaluated.
| Command | What it does |
|---|---|
/analysis-dr new | Write new DR — batch input or AI-proposed draft |
/analysis-dr scan | Find DR candidates from existing analyses |
/analysis-dr list | Show all decisions (reads analyses/decisions/INDEX.md) |
/analysis-dr show 003 | Show DR-003 in detail |
DR types: Metric, Methodology, Scope, Model, Principle.
Files: analyses/decisions/DR-NNN.md | Guide: core/decisions/GUIDE.md
/analysis-wikiAI-maintained knowledge base compiled from archived analyses (LLM Wiki concept).
| Command | What it does |
|---|---|
/analysis-wiki update | Scan archives → build/update wiki pages |
/analysis-wiki check | Find contradictions, stale pages, orphan claims |
/analysis-wiki show dau | Display the DAU wiki page |
Wiki pages: analyses/wiki/metrics/, patterns/, hypotheses/
Guide: core/wiki/GUIDE.md