Kai data dashboard

From cgallic/kai-cmo-harness · View interactive version

Kai data dashboard is an AI agent skill from the GitHub repository cgallic/kai-cmo-harness. Convert Kai workflow data, CSV exports, audit folders, SDR package outputs, and marketing reports into dashboard-ready specs or lightweight static dashboards. Use when "data dashboard", "operator dashboard", "operator room", "HTML operators room", "sales dashboard", "SDR dashboard", "turn this data

How to use this skill

Skill file

kai-data-dashboard - Data To Dashboard Handoff

Kai root note: knowledge/, harness/, and scripts/ paths in this skill live in the Kai install, not the user's project. Resolve them against the first ancestor directory of this SKILL.md that contains a knowledge/ folder (the Kai plugin root, ~/.claude/kai, or the kai-cmo-harness repo). MARKETING.md, memory/, and any output files live in the current project. If a referenced scripts/ command is not available in this install, say so, skip it, and continue with the file-based guidance — never fabricate its output.

Turn existing Kai artifacts into a dashboard spec, data contract, or lightweight static dashboard. This skill is a companion surface. It should not replace analytics setup, audit analysis, or outbound strategy.

Use /kai-analytics when the user needs a tracking plan or attribution model. Use /kai-html-presentation when the user needs a client-ready audit deck. Use /kai-client-dashboard when the ask is a durable, white-labeled, client-facing product with its own onboarding wizard and page set — that skill calls this one for the data-contract layer underneath it. Use this skill when the data already exists and needs to become a dashboard-ready operator surface.

Phase 0: Identify The Source

Accept these inputs:

If there is no source folder or file, ask for it. Do not fabricate sample data unless the output is explicitly labeled internal_demo.

Phase 1: Load Provenance

Before designing the dashboard:

  1. Read _data-sources.md, _data-gaps.md, and available JSON/CSV files.
  2. Declare data mode: sales_external, onboarding_connected, user_provided, or internal_demo.
  3. List unsupported fields as gaps.
  4. Do not add numbers that are not present in the source.

For audit folders, run:

python scripts/quality_gates/audit_provenance_lint.py <source-folder> --audit-dir

Phase 2: Choose Dashboard Type

Pick the dashboard type from the source and request:

| Type | Best Fit | Primary View |

|---|---|---|

| sdr_operator_room | SDR package, lead ledger, reply data | Pipeline state, source quality, next actions |

| marketing_ops | Campaign, content, SEO, ad, lifecycle data | Channel performance and bottlenecks |

| executive_scorecard | Monthly/weekly report | KPIs, decisions, risks, next steps |

| audit_delivery | Audit folder | Findings, scorecards, fixes, data gaps |

| connector_health | API sync or integration data | Source freshness, failures, missing credentials |

Default to sdr_operator_room when the source is from /kai-sdr-operator.

Phase 3: Produce Dashboard Artifacts

Write output to:

<source-folder>/dashboard/

Required files:

dashboard-spec.md
metrics-dictionary.md
data-contract.json
source-map.md
data-gaps.md

Optional file when the user asks for a usable static artifact:

index.html

Do not build a full frontend app unless the user asks for implementation. For app builds, hand the spec to the relevant frontend skill or repository code.

Dashboard Spec Requirements

Each dashboard spec must include:

For SDR dashboards, include:

Static HTML Rules

If writing index.html:

Quality Gates

Before handoff:

  1. Confirm every number has a source, retrieval date, or internal_demo label.
  2. Confirm every metric has a formula or definition.
  3. Confirm _data-gaps.md or data-gaps.md is represented.
  4. Confirm no placeholder text remains.
  5. Confirm sensitive fields are either excluded, masked, or explicitly approved.
  6. If HTML is produced, check desktop and mobile readability.

Output Summary

Final response should include:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.