Logo di Kpi Tree Architect

Kpi Tree Architect

Community
florianbonnet14
kpi-tree-architect

Build comprehensive KPI trees from North Star metrics. Use when users need to decompose metrics into hierarchical driver structures, create MECE (Mutually Exclusive, Collectively Exhaustive) breakdowns, identify leverage points, map performance drivers, or prepare for root cause analysis. Essential for setting up analytical foundations after defining a North Star metric.

Panoramica

Pubblicato daflorianbonnet14
RepositoryThePowerOfAnalytics_ClaudeSkills
Nome della skillkpi-tree-architect
Stelle
29
Fork
5
File inclusi
4
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 4

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da florianbonnet14 su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Kpi Tree Architect in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/florianbonnet14/ThePowerOfAnalytics_ClaudeSkills/tree/main/kpi-tree-architect
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/florianbonnet14/ThePowerOfAnalytics_ClaudeSkills.git /tmp/ThePowerOfAnalytics_ClaudeSkills
mkdir -p .claude/skills
cp -r /tmp/ThePowerOfAnalytics_ClaudeSkills/kpi-tree-architect .claude/skills/kpi-tree-architect
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Kpi Tree Architect in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Kpi Tree Architect non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Kpi Tree Architect non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

KPI Tree Architect

Build hierarchical KPI structures that decompose North Star metrics into actionable drivers using MECE principles.

Core Principle: MECE Decomposition

Mutually Exclusive & Collectively Exhaustive

  • Mutually Exclusive: No overlapping drivers (no double-counting)
  • Collectively Exhaustive: No missing drivers (sum of parts = whole)

Visual analogy: Tangram puzzle pieces that don't overlap and cover the entire area.

Three Decomposition Methods

1. Mathematical Decomposition

Use when metric has clear mathematical formula.

Example: Upselling Rate = # Customers Buying Higher Tier / Total # Customers

  • Decomposes to numerator and denominator
  • Common patterns: Rate = Numerator/Denominator, Average = Sum/Count

2. Process Decomposition

Use when metric depends on sequential steps (funnels, workflows).

Example: # Customers Buying = Visits × Click Rate × Checkout Completion

  • Decomposes by funnel stages
  • Common patterns: Conversion funnels, customer journeys

3. Segmentation Decomposition

Use when metric varies significantly by groups.

Example: Total Visits = Organic + Email Campaign + Other Channels

  • Decomposes by segments
  • Common patterns: Customer types, product categories, regions, channels

Workflow Choice

First, always ask the user: "Would you like me to:

  1. Generate the complete tree at once (I'll build the full decomposition and present it), or
  2. Build it collaboratively (we'll work through each level together with your input)?"

Then follow the appropriate workflow below.

Workflow A: Complete Tree Generation

Use when user chooses option 1.

Process:

  1. Ask clarifying questions about the North Star metric and business context
  2. Build the complete tree using MECE principles
  3. Present the full tree with validation and insights
  4. Discuss and refine based on feedback

Steps:

  1. Understand North Star: Ask about metric definition, formula, business context
  2. Choose decomposition methods: Determine best approach for each level
  3. Build complete structure: Decompose to 3-5 levels
  4. Validate MECE: Check each level
  5. Identify influential factors: Mark qualitative drivers
  6. Present the tree with insights: Show full tree, validation, key findings

Workflow B: Collaborative Iterative Building

Use when user chooses option 2. Build the tree level by level with user input.

Iterative Process:

For each metric to decompose:

Step 1: Select Metric

Ask: "Which metric would you like to decompose next?"

  • Start with North Star metric
  • Then move to user-selected drivers from previous level
Step 2: Propose Decomposition Method

Based on the metric, propose 2-3 decomposition approaches:

Template: "For [Metric Name], I see [2-3] possible decomposition approaches:

Option 1: [Method Name] (e.g., Mathematical)

  • Break down as: [Component A] [operator] [Component B]
  • Best for: [when to use]
  • Example: [simple example]

Option 2: [Method Name] (e.g., Process)

  • Break down by: [stages/steps]
  • Best for: [when to use]
  • Example: [simple example]

Which approach makes more sense for your business? Or would you like me to recommend one?"

Step 3: Ask Clarifying Questions

Before proposing the decomposition, ask 1-2 questions:

  • About the business process or customer journey
  • About how the metric is calculated
  • About natural segments or stages
  • About data availability
Step 4: Propose Specific Decomposition

Present the specific breakdown:

"Based on [your answers], here's how I'd break down [Metric]:

[Metric Name] ├─ Component A: [Name and brief definition] ├─ Component B: [Name and brief definition] └─ Component C: [Name and brief definition]

MECE Validation:

  • Mutually Exclusive: [Why no overlap]
  • Collectively Exhaustive: [Why sum equals whole]

Does this breakdown make sense to you?"

Step 5: Validate with User

Ask: "Does this decomposition work for you? Any adjustments needed?"

If user approves → Move to next step If user wants changes → Refine and re-validate

Step 6: Continue or Stop

Ask: "Would you like to decompose any of these components further, or shall we work on a different branch?"

Options:

  • Continue deeper: Pick a component to decompose next
  • Switch branches: Move to different part of tree
  • Stop this branch: Mark current level as final (add influential factors if needed)
  • Complete tree: Finish and present full tree

Repeat Steps 1-6 until user is satisfied with tree depth and coverage.

Step 7: Finalize Branch

When stopping a branch, ask: "Are there any influential factors (qualitative elements) that affect [metric] but aren't measurable as KPIs?"

Mark these with 🔍 in the tree.

Tracking Progress

During collaborative building, periodically show the current tree state: "Here's our tree so far: [show current structure]"

MECE Validation (Both Workflows)

At each level, validate:

Mutually Exclusive test:

  • No component overlaps with others
  • Each element clearly defined
  • Moving one component doesn't necessarily move others

Collectively Exhaustive test:

  • All components sum to parent metric
  • No missing pieces
  • Can explain 100% of parent

Fix immediately if MECE is violated.

Common Patterns

Pattern 1: Funnel/Conversion Flow

Conversion Rate
├─ Awareness (# saw opportunity)
├─ Interest (% engaged)
├─ Consideration (% explored)
├─ Intent (% started action)
└─ Purchase (% completed)

Pattern 2: Frequency × Intensity

Total Usage
├─ # Active Users
│   ├─ New Users
│   └─ Returning Users
└─ Avg Usage per User
    ├─ Frequency (sessions/user)
    └─ Intensity (actions/session)

Pattern 3: Segmented Contribution

Total Metric
├─ Segment A (Size × Performance)
├─ Segment B (Size × Performance)
└─ Segment C (Size × Performance)

Pattern 4: Efficiency Metrics

Cost per Outcome
├─ Total Cost (Fixed + Variable)
└─ # Outcomes (Successful + Failed)

Anti-Patterns to Avoid

❌ Overlapping Branches (not MECE)

Bad: Mobile Users + Desktop Users + New Visitors + Returning Visitors

  • Dimensions overlap

Good: Choose one dimension per level, then subdivide

  • Mobile → New/Returning
  • Desktop → New/Returning

❌ Unmeasurable Components

Bad: "Product Quality", "Customer Happiness" (abstract)

Good: Use measurable proxies

  • % Rating 4-5 Stars
  • Net Promoter Score
  • Churn Rate

❌ Too Deep or Too Shallow

  • Too shallow: Not actionable
  • Too deep: 10+ levels, unusable
  • Right depth: 3-5 levels focusing on actionable insights

❌ Missing Components

Always verify components sum to 100% of parent.

Output Format

Provide trees in clean format without method labels in the structure:

# North Star Metric: [Name]
**Definition**: [What it measures]
**Formula**: [If applicable]
**Current**: [Value] | **Target**: [Value]

## KPI Tree

[Metric Name]
├─ [Component A]
│  ├─ [Sub-component A.1]
│  │  ├─ [Sub-component A.1.a]
│  │  └─ 🔍 [Influential Factor description]
│  └─ [Sub-component A.2]
├─ [Component B]
│  ├─ [Sub-component B.1]
│  └─ [Sub-component B.2]
│     └─ 🔍 [Influential Factor description]
└─ [Component C]

Legend:
├─ = Decomposition branch
└─ = Final component or leaf
🔍 = Influential factor (not a KPI)

## Decomposition Explanation

**Level 1 - [Component A, B, C]:**
- Method: [Mathematical/Process/Segmentation]
- Rationale: [Why this decomposition approach]
- Formula (if applicable): [Metric] = [Component A] + [Component B] + [Component C]

**Level 2 - [Component A breakdown]:**
- Method: [Mathematical/Process/Segmentation]
- Rationale: [Why this decomposition approach]
- Formula (if applicable): [Component A] = [A.1] × [A.2]

[Continue for each level]

## MECE Validation

**Level 1:**
- ✓ Mutually Exclusive: [Explanation]
- ✓ Collectively Exhaustive: [Explanation]
- Formula check: ✓ [Verification]

**Level 2:**
[Repeat for each level]

## Key Insights

1. **Primary leverage point**: [Which driver has most impact and why]
2. **Quick wins**: [Which drivers easiest to improve]
3. **Data gaps**: [What's not currently measured]
4. **Strategic implications**: [What this reveals about the business]

Print the tree in a .md file when user is staisfied or stop the exploration

For collaborative building, show incremental progress:

## Current Tree State

[Metric Name]
├─ [Component A] ← Currently exploring this branch
│  ├─ [Sub-component A.1]
│  └─ [Sub-component A.2] (to be decomposed)
├─ [Component B] (to be decomposed)
└─ [Component C] (to be decomposed)

Validation Checklist

Before finalizing:

Structural:

  • Every level is MECE
  • No more than 5 levels deep
  • Each level has 2-7 branches
  • Mathematical formulas correct
  • All components measurable or influenceable

Practical:

  • Team can understand the structure
  • Can explain any branch in <2 minutes
  • Identifies actual leverage points
  • Each KPI can be tracked/reported

Examples

See references/examples.md for detailed examples including:

  • SaaS Upselling (mathematical + process decomposition)
  • E-commerce Delivery Time (process decomposition)
  • Content Platform Engagement (mathematical + segmentation)

Next Steps

After building the tree:

  1. Validate with data (do measured components sum to parent?)
  2. Identify tracking gaps
  3. Map tree to dashboard structure
  4. Set baselines and targets
  5. Use for root cause analysis

Reference Material

For comprehensive examples, advanced techniques, and detailed guidance, see:

  • references/examples.md - Complete worked examples
  • references/advanced-techniques.md - Multiple trees, time-based, ratio decomposition
  • references/templates.md - Reusable output templates

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Kpi Tree Architect?

Build comprehensive KPI trees from North Star metrics. Use when users need to decompose metrics into hierarchical driver structures, create MECE (Mutually Exclusive, Collectively Exhaustive) breakdowns, identify leverage points, map performance drivers, or prepare for root cause analysis. Essential for setting up analytical foundations after defining a North Star metric.

Perché usare Kpi Tree Architect su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Kpi Tree Architect è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Kpi Tree Architect in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/florianbonnet14/ThePowerOfAnalytics_ClaudeSkills/tree/main/kpi-tree-architect. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Kpi Tree Architect?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Kpi Tree Architect?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Kpi Tree Architect: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Kpi Tree Architect è gratuita?

Sì. È pubblicata su GitHub da florianbonnet14 con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇