Kai Analytics logo

Kai Analytics

Community
cgallic
kai-analytics

Analytics and attribution setup — tracking plan, UTM conventions, dashboard design, and attribution model selection. Use when "analytics setup", "attribution", "tracking plan", "UTM", "marketing analytics", "dashboard setup", "measurement strategy", "how do I track", "which metrics", or any request to set up or improve marketing measurement and attribution.

Overview

Publishercgallic
Repositorykai-cmo-harness
Skill namekai-analytics
Stars
61
Forks
8
Bundled files
Instructions only
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.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

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

Installation

Install the Kai Analytics 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/cgallic/kai-cmo-harness/tree/main/harness/skills-v2/kai-analytics
  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/cgallic/kai-cmo-harness.git /tmp/kai-cmo-harness
mkdir -p .claude/skills
cp -r /tmp/kai-cmo-harness/harness/skills-v2/kai-analytics .claude/skills/kai-analytics
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Kai Analytics 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 Kai Analytics 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 Kai Analytics 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.

/kai-analytics — A Measurement System Whose Numbers Can Be Trusted

Objective

A marketing measurement system the team can operate: an event taxonomy with defined triggers and properties, a UTM convention nobody has to guess at, an attribution model matched to the actual data volume, dashboard specs for three audiences, and a pixel/tag plan that survives a consent check. The result is that "where do customers come from" and "which ads work" have answers someone can reproduce.

Matching the model to the data is the load-bearing judgment. A data-driven attribution model on 50 conversions a month produces confident nonsense.

Done when

Work type strategy-plan — floor E3/C3/O1 (harness/eco-floors.yaml).

  • E3 — a named human approved the exact tracking plan, UTM guide, and dashboard specs.
  • C3 — the deliverables clear banned_word_check, and someone other than the author read them end to end. Every metric in every dashboard spec carries a written definition ("conversion rate = signups / unique visitors"); an undefined metric is a craft failure.
  • O1 — each P0 implementation item names the blind spot it closes, its owner, and how anyone will know the event is firing correctly. The plan's own outcome is instrumentation proven, not documents delivered.

A tracking plan nobody implements is not CLOSED. Its first work item is named in the implementation checklist.

Constraints

  • Read MARKETING.md from the project root first. It carries product, ICP, value prop, monetization, voice, current channels, and competitive landscape. If it does not exist, build it from the codebase — CLAUDE.md, README.md, PROJECT.md, package.json, landing pages, email/ad/analytics config — using the template from /kai-email-system, and confirm the draft. Do not ask the user what the product is.
  • Seven things must be known before recommending a model or a stack: the business model and primary conversion event; current analytics tools (GA4, Mixpanel, PostHog, Amplitude); ad platforms in use; the CRM or email tool; current tracking status (nothing, partial, broken, outdated); the questions they actually need answered; and the sales cycle type (self-serve, sales-assisted, enterprise).
  • Never recommend tracking that violates GDPR or CCPA without a consent mechanism. Every plan touching EU or California audiences carries a consent-management note.
  • UTM values are consistent or they are useless — lowercase, no spaces, no special characters, no mixed case.
  • Event names follow one convention (snake_case preferred), and each event declares its trigger, its properties, and the tools it lands in.
  • Attribution model must match data volume. Data-driven needs 600+ conversions/month. Recommending above the data is a craft failure, not a stretch goal.
  • Every attribution recommendation ships with its caveats (below). Attribution language that implies proof of causation without a counterfactual does not ship.
  • Dashboard metrics carry definitions, not just names.

Revenue lens

Load the Revenue Lens section of harness/references/audit-data-provenance.md with the provenance rule.

  • Open with the funnel, not activity. Traffic source → intent → lead → follow-up → booked/paid, one row per stage, before any channel or technical finding. Sessions and lead counts are inputs, never the headline.
  • Rank gaps by the dollars each stage leaks. High-intent traffic with no lead path, leads with no follow-up, and follow-up with no booking outrank traffic volume.
  • Technical setup is one line. Schema, llms.txt, AI crawler access and sitemap get a sourced pass/fail; they become findings only when a measured check fails.
  • Unverified means check. Any claim or funnel stage not verified in this run is labeled check with what would verify it, is not scored, and is mirrored in _data-gaps.md.

Context

NeedLoad
Attribution mechanics and model tradeoffsknowledge/playbooks/analytics-attribution.md
Pixels, tags, server-side, event plumbingknowledge/playbooks/technical-marketing-tracking.md
Which metrics matter and their benchmarksknowledge/playbooks/saas-metrics-guide.md
Business model, channels, tools in useMARKETING.md (project root)

Measurement maturity — diagnose this before prescribing anything:

LevelState
0No tracking beyond platform defaults
1Basic GA4 + ad platform pixels
2UTMs + event tracking + basic attribution
3Multi-touch attribution + cohort analysis + LTV tracking

Attribution model selection:

ModelBest forLimitation
Last-clickShort sales cycles, ecommerceIgnores awareness channels
First-clickBrand-heavy businessesIgnores nurture channels
LinearMulti-channel, even contributionOversimplifies
Time-decayLong sales cycles, B2BComplex to implement
Position-based (U-shaped)Most B2B SaaSRequires multi-touch data
Data-driven (GA4)High-volume businessesNeeds 600+ conversions/month

Attribution caveats — state these beside every recommendation:

  • Platform dashboards optimize for their own pixel, identity graph, attribution window, and modeled conversions.
  • GA4, CRM, payment, and ad-platform revenue will disagree when UTMs, consent mode, offline conversions, refunds, or sales-cycle delays differ.
  • Last-click is useful for capture channels; it is not proof that awareness or nurture did nothing.
  • Multi-touch models describe observed journeys. They do not prove incrementality without holdouts, geo tests, lift studies, or matched-market tests.
  • Attribution stays directional in budget conversations until event QA, UTM hygiene, consent coverage, and CRM joins are verified.

UTM convention: utm_source = platform name, lowercase (google, meta, linkedin) · utm_medium = traffic type (cpc, email, social, organic, referral) · utm_campaign = campaign name with date prefix (2026-03_spring-launch) · utm_content = ad variant or content identifier (cta-v1, hero-image-b) · utm_term = keyword or targeting, paid search only. Ship a builder template alongside the rules.

Dashboards, three audiences. Executive (weekly glance): revenue attributed by channel, blended CAC trend, conversion rate by stage, top 5 campaigns. Marketing ops (daily): traffic by source/medium, funnel with drop-off rates, UTM campaign table, ad spend vs revenue by platform. Channel-specific (per platform): platform metrics, audience segment performance, creative variant performance, budget pacing.

Deliverables: tracking plan, UTM convention guide, dashboard specs with metric definitions and data sources, pixel/tag setup guide (which tags, GTM vs direct vs server-side, consent requirements, validation steps), a priority-ordered implementation checklist, and a monthly data-quality audit checklist.

Escalate when

  • Data sources disagree materially and the user wants one number to report upward.
  • Consent infrastructure does not exist and the requested tracking requires it.
  • Conversion volume cannot support the model the user has already decided on.
  • Implementation requires engineering time nobody has committed.
  • The user asks for an incrementality claim the current setup cannot support.

Frequently asked questions

What does the Kai Analytics AI skill do?

Analytics and attribution setup — tracking plan, UTM conventions, dashboard design, and attribution model selection. Use when "analytics setup", "attribution", "tracking plan", "UTM", "marketing analytics", "dashboard setup", "measurement strategy", "how do I track", "which metrics", or any request to set up or improve marketing measurement and attribution.

Why use Kai Analytics on TypingMind?

Because you install it once and use it with any model. Kai Analytics 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 Kai Analytics in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/cgallic/kai-cmo-harness/tree/main/harness/skills-v2/kai-analytics. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Kai Analytics?

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 Kai Analytics?

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

Is the Kai Analytics AI skill free?

It is published on GitHub by cgallic. Check the repository for licensing terms. 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 👇