Kpi Tree Architect logo

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.

Overview

Publisherflorianbonnet14
RepositoryThePowerOfAnalytics_ClaudeSkills
Skill namekpi-tree-architect
Stars
29
Forks
5
Bundled files
4
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by florianbonnet14 on GitHub. Read the source before you install it.

Installation

Install the Kpi Tree Architect AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/florianbonnet14/ThePowerOfAnalytics_ClaudeSkills/tree/main/kpi-tree-architect
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Kpi Tree Architect in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Kpi Tree Architect on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Kpi Tree Architect is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Kpi Tree Architect AI skill do?

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.

Why use Kpi Tree Architect on TypingMind?

Because you install it once and use it with any model. Kpi Tree Architect is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Kpi Tree Architect in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/florianbonnet14/ThePowerOfAnalytics_ClaudeSkills/tree/main/kpi-tree-architect. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Kpi Tree Architect?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Kpi Tree Architect?

As many as you like. As long as a model supports skills, you can use Kpi Tree Architect with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Kpi Tree Architect AI skill free?

Yes. It is published on GitHub by florianbonnet14 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇