Logo van Analysis Design

Analysis Design

Organisatie
ai-analyst-lab
analysis-design

Turn a vague hunch or stakeholder request into a rigorous analysis plan via a staged pipeline (hypothesis sharpening, confound scan, V1, feedback, V2 redesign). Trigger on "I think X caused Y", "design an analysis for", "what's driving", "V2 after feedback", "stakeholder comments", "redesign the analysis". Vs question-framing (the lightweight framing gate before every analysis): use THIS only for a real hunch, confound scan, or V1 to V2 redesign.

Overzicht

Uitgeverai-analyst-lab
Repositoryai-analyst-plugin
Skillnaamanalysis-design
Sterren
34
Forks
13
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Een SKILL.md-bestand dat het model laadt wanneer nodig, zodat het alleen tokens kost als een verzoek er daadwerkelijk bij past.

  • Werkt met elk LLM

    AI-skills zijn gewone Markdown, geen aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door ai-analyst-lab op GitHub. Lees de broninhoud voordat je de skill installeert.

Installatie

Installeer de AI-skill Analysis Design in TypingMind om deze met elke LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map — het leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/ai-analyst-lab/ai-analyst-plugin/tree/main/ai-analyst-plus/skills/analysis-design
  4. Schakel de skill in elke chat in waarin je deze beschikbaar wilt hebben.
Plug-ins → Skills → Nieuwe skill → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ai-analyst-lab/ai-analyst-plugin.git /tmp/ai-analyst-plugin
mkdir -p .claude/skills
cp -r /tmp/ai-analyst-plugin/ai-analyst-plus/skills/analysis-design .claude/skills/analysis-design
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Analysis Design in een willekeurige chat in TypingMind in en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek erbij past, laadt het model zelf de volledige instructies — je hoeft de skill nooit handmatig aan te roepen en deze kost pas tokens wanneer je de skill daadwerkelijk gebruikt.

Het model laadt Analysis Design automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Analysis Design niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Skill: Analysis Design

Trigger: /analysis-design, "design an analysis for...", "I think X caused Y", "help me investigate..." Type: Orchestrator — runs a multi-agent pipeline


Purpose

Takes a vague analytical hunch, stakeholder request, or business question and produces a rigorous, stakeholder-ready analysis plan through a multi-stage pipeline. Chains three specialized agents: Hypothesis Sharpener → Confound Scanner → (optional) Feedback Synthesizer.

This skill orchestrates the full lifecycle: hunch → testable hypothesis → threat assessment → investigation plan → V1 execution → feedback synthesis → V2 redesign.


When to Use

  • A PM has a hunch but no plan: "I think removing the widget caused repeat purchases to drop"
  • A vague request lands: "Can you look into why conversion dropped?"
  • An analysis needs redesign after stakeholder feedback: "Here's V1 and the comments — help me build V2"
  • Before starting any major investigation (prevents wasted work)

Inputs

InputRequiredSourceDescription
{{HUNCH}}YesUserThe vague hypothesis, business question, or analytical request
{{DATA_PATH}}NoUser or auto-detectPath to relevant dataset(s). If not provided, uses active dataset from .knowledge/active.yaml
{{AUDIENCE}}NoUserWho will consume the analysis (e.g., "VP of Product", "exec team", "cross-functional leads")
{{V1_FINDINGS}}NoUser or working/Path to V1 analysis output — triggers V2 redesign flow
{{FEEDBACK}}NoUserStakeholder feedback (comments, meeting transcript, Slack thread) — triggers Feedback Synthesizer
{{URGENCY}}NoUserTimeline constraint (e.g., "need by EOD", "board meeting Friday"). Affects investigation depth.

CRITICAL: First Action - Show Architecture Preview

BEFORE doing ANYTHING else, output the architecture preview. This is the very first thing you do when this skill is invoked. Do not read agent files, do not start Stage 1, do not process inputs — show the preview first.

Preview Format

If {{V1_FINDINGS}} or {{FEEDBACK}} is provided (V2 redesign scenario):

ANALYSIS DESIGN PIPELINE — V2 REDESIGN
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
V1 analysis + feedback detected.

Skipping Stages 1-3 (Hypothesis Sharpener, Confound Scanner, Investigation Plan).
Jumping directly to Stage 4: Feedback Synthesizer.

This stage will:
- Extract and categorize each piece of feedback
- Assess what V1 got right, wrong, and missed
- Design V2 investigation plan addressing all stakeholder concerns
- Map each feedback item to specific V2 analysis steps

Starting Stage 4...

Otherwise (fresh analysis scenario):

ANALYSIS DESIGN PIPELINE
━━━━━━━━━━━━━━━━━━━━━━━━
I'll investigate this in 3 stages:
  1. Hypothesis Sharpener — turn your hunch into a testable claim
  2. Confound Scanner — find everything that could make this wrong
  3. Investigation Plan — prioritize what to check first

Starting Stage 1...

If {{URGENCY}} is detected, add:

⏰ URGENCY DETECTED: {{URGENCY}}
Applying timeline compression:
- Prioritizing core investigation steps
- Flagging optional deep-dives that may be skipped
- Setting explicit scope boundaries

Pipeline Flow

/analysis-design "{{HUNCH}}"
       │
       ├─ FIRST: Output Architecture Preview (see above)
       │
       ├─ Does the user have V1 + feedback?
       │   YES → Skip to Stage 4 (Feedback Synthesizer)
       │   NO  → Start from Stage 1
       │
       ▼
  ┌─────────────────────────────────────┐
  │  STAGE 1: Hypothesis Sharpener      │
  │  Agent: hypothesis-sharpener        │
  │                                     │
  │  Input:  {{HUNCH}}                  │
  │  Output: Testable hypothesis,       │
  │          Analysis Design Brief,     │
  │          natural experiments found, │
  │          key segments identified    │
  └──────────────┬──────────────────────┘
                 │
                 ├─ ⏸ CHECKPOINT: Present Stage 1 summary.
                 │   Output: "⏸ STAGE 1 COMPLETE
                 │   Review the hypothesis above.
                 │   Reply 'continue' to proceed to Stage 2,
                 │   or provide corrections."
                 │   STOP HERE. WAIT for user response.
                 │   Do NOT proceed to Stage 2 automatically.
                 │
                 ▼
  ┌─────────────────────────────────────┐
  │  STAGE 2: Confound Scanner          │
  │  Agent: confound-scanner            │
  │                                     │
  │  Input:  Sharpened hypothesis +     │
  │          data context               │
  │  Output: Threats to validity,       │
  │          concurrent changes,        │
  │          data quality flags,        │
  │          selection biases           │
  └──────────────┬──────────────────────┘
                 │
                 ├─ ⏸ CHECKPOINT: Present Stage 2 summary.
                 │   Output: "⏸ STAGE 2 COMPLETE
                 │   Review the confounds above.
                 │   Reply 'continue' to proceed to Stage 3,
                 │   or provide corrections."
                 │   STOP HERE. WAIT for user response.
                 │   Do NOT proceed to Stage 3 automatically.
                 │
                 ▼
  ┌─────────────────────────────────────┐
  │  STAGE 3: Investigation Plan        │
  │  (Skill generates directly)         │
  │                                     │
  │  Combines Stage 1 + Stage 2 into   │
  │  a prioritized investigation plan   │
  │  with criteria (no time estimates)  │
  └──────────────┬──────────────────────┘
                 │
                 ├─ USER CHECKPOINT: "Review the plan?"
                 │   APPROVE → Execute V1
                 │   MODIFY → Re-run with adjustments
                 │
                 ▼
  ┌─────────────────────────────────────┐
  │  STAGE 3b: V1 Execution             │
  │  (Skill runs the analysis per the   │
  │   analyst-core method, with direct  │
  │   Python/SQL as appropriate)        │
  │                                     │
  │  Output: V1 findings summary        │
  │          saved to working/          │
  └──────────────┬──────────────────────┘
                 │
                 ├─ Present V1 to user
                 │   "Share with stakeholders and
                 │    come back with feedback"
                 │
                 │  ... stakeholder feedback arrives ...
                 │
                 ▼
  ┌─────────────────────────────────────┐
  │  STAGE 4: Feedback Synthesizer      │
  │  Agent: feedback-synthesizer        │
  │                                     │
  │  Input:  V1 findings + {{FEEDBACK}} │
  │  Output: Categorized feedback,      │
  │          V1 right/wrong assessment, │
  │          V2 investigation plan,     │
  │          stakeholder answer map     │
  └──────────────┬──────────────────────┘
                 │
                 ▼
          V2 Analysis Plan
          (stakeholder-ready)

Stage 3: Investigation Plan Generation

After the Hypothesis Sharpener and Confound Scanner run, the skill synthesizes their outputs into a prioritized investigation plan. The plan MUST include:

Required Elements

  1. Analysis Design Brief (populated from Stage 1 + Stage 2):

    QUESTION:    [from Hypothesis Sharpener Step 1 — the specific investigation question]
    DECISION:    [from user context — what action depends on the answer]
    HYPOTHESIS:  [from Hypothesis Sharpener]
    COMPARISON:  [from Hypothesis Sharpener — natural experiments, baselines]
    SEGMENTS:    [from Hypothesis Sharpener — key cuts identified]
    CONFOUNDS:   [from Confound Scanner — all threats listed]
    CRITERIA:    [from Hypothesis Sharpener — accept/reject thresholds]
  2. Prioritized Steps — ordered by information value (what eliminates the most uncertainty fastest). Use a 3-column table (no time estimates; the ONE place a time estimate is allowed in this flow is the feedback-synthesizer agent's V2 plan, which has an ESTIMATED EFFORT block):

    #StepWhy First
    1[what to check — concise][what it eliminates]
  3. Confound Control Strategy — how each confound from Stage 2 will be addressed:

    ConfoundControl MethodData Needed
    .........
  4. Kill Criteria — what would make you STOP the investigation early:

    • "If [condition], the hypothesis is rejected — stop here"
    • "If [condition], data quality is insufficient — escalate to Data Eng"

Urgency Handling

If {{URGENCY}} is set:

  • EOD: Compress to top-3 steps only. Skip confound controls that require new data pulls. Flag what's being skipped.
  • This week: Full plan, but prioritize ruthlessly. Parallelize where possible.
  • No rush: Full plan with optional deep-dives.

Output Files

Intermediate Files (working/)

StageOutput PathContent
Stage 1working/hypothesis_{{DATE}}.mdSharpened hypothesis + Analysis Design Brief
Stage 2working/confound_scan_{{DATE}}.mdThreats to validity
Stage 3working/investigation_plan_{{DATE}}.mdPrioritized plan
Stage 3bworking/v1_findings_{{DATE}}.mdV1 analysis results
Stage 4working/v2_plan_{{DATE}}.mdV2 redesign with stakeholder answer map

Final Deliverable: Analysis Plan Document

The final output of each pipeline run is a stakeholder-friendly analysis plan document — a structured Google Doc (or markdown) that you'd share with your pod (PM, tech lead, data scientist). The document should be written in natural prose, not framework skeleton format.

Document structure:

  1. Context — what happened, why we're investigating, what decision depends on the answer
  2. Questions — primary question + supporting questions, each specific and answerable with rationale
  3. Approach — population, metric definition, key comparisons, segments to check
  4. Known risks and concurrent changes — confounds called out before analysis runs
  5. Investigation priority — ordered steps, with reasoning for the order
  6. What would change our conclusion — explicit accept/reject criteria in plain language
  7. Deliverables — what the output of the analysis will be

For V2 plans, also include:

  • What V1 established / could not resolve
  • Stakeholder feedback incorporated — table mapping each concern to how V2 addresses it
  • Revised questions — what's new or changed from V1

Generate the document via the Google Doc Export skill (requires the Google Drive connector), with its formatting conventions (navy blue headings, bold callout labels, proper table spacing). If the connector is not available, output as clean markdown.


Checkpoints

CheckpointTypeWhenSkippable?
Plan ReviewB (draft review)After Stage 3 generates planYes — "just do it" skips
V1 PresentationC (branch decision)After Stage 3bNo — user must decide to gather feedback or proceed

Integration with Other Skills

  • Question Framing skill: for simple questions its Question Brief (the Ladder plus the 7-field Analysis Design Spec) is sufficient; this skill supersedes it for complex investigations.
  • /stress-test — can be invoked independently on ANY analysis plan (not just ones produced by this skill)
  • analyst-core skill — governs Stage 3b V1 execution (profile, compare, trace, checks)
  • Question Framing skill — fires automatically at Stage 1 if the hunch is too vague to sharpen

Examples

Simple: Hunch to Plan

/analysis-design "I think our repeat purchase rate dropped because we removed the post-purchase recommendations widget last month"

→ Runs Stages 1-3, outputs investigation plan

With Data

/analysis-design "Why did conversion drop last week?" data=data/cartloop_transactions.csv audience="VP Product"

→ Runs Stages 1-3b, executes V1 analysis on the data

V2 Redesign (skip to Stage 4)

/analysis-design v1=working/v1_findings_2026-03-28.md feedback="VP says loyalty program is a confound. Marketing says the promo inflated baselines. Data Eng says mobile tracking pixel changed mid-month."

→ Runs Stage 4 only, outputs V2 plan

Full Lifecycle

/analysis-design "I think the new onboarding flow is causing enterprise churn" data=data/enterprise_accounts.csv audience="VP Customer Success" urgency="board meeting Friday"

→ Runs all stages with urgency compression

Veelgestelde vragen

Wat doet de AI-skill Analysis Design?

Turn a vague hunch or stakeholder request into a rigorous analysis plan via a staged pipeline (hypothesis sharpening, confound scan, V1, feedback, V2 redesign). Trigger on "I think X caused Y", "design an analysis for", "what's driving", "V2 after feedback", "stakeholder comments", "redesign the analysis". Vs question-framing (the lightweight framing gate before every analysis): use THIS only for a real hunch, confound scan, or V1 to V2 redesign.

Waarom Analysis Design gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Analysis Design bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model, en je kunt midden in een chat van model wisselen zonder dat de skill niet meer werkt. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Analysis Design in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/ai-analyst-lab/ai-analyst-plugin/tree/main/ai-analyst-plus/skills/analysis-design. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Analysis Design gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Analysis Design gebruiken?

Zoveel als je wilt. Zolang een model skills ondersteunt, kun je Analysis Design ermee gebruiken: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama en meer. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Analysis Design gratis?

Ja. Deze skill is door ai-analyst-lab op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. Deze volgt het open Agent Skills-formaat: een bestand met de naam SKILL.md met een naam en beschrijving, plus eventuele scripts, sjablonen of referentiebestanden die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇