Logo Kai Analytics

Kai Analytics

Cộng đồng
cgallic
kai-analytics

Thiết lập phân tích và phân bổ chuyển đổi — lập kế hoạch theo dõi, quy ước UTM, thiết kế bảng điều khiển và chọn mô hình phân bổ. Dùng khi có yêu cầu về "thiết lập analytics", "phân bổ chuyển đổi", "kế hoạch theo dõi", "UTM", "analytics marketing", "thiết lập bảng điều khiển", "chiến lược đo lường", "làm sao để theo dõi", "nên theo dõi chỉ số nào" hoặc bất kỳ yêu cầu nào nhằm thiết lập hay cải thiện việc đo lường và phân bổ chuyển đổi trong marketing.

Tổng quan

Nhà phát hànhcgallic
Kho mãkai-cmo-harness
Tên kỹ năngkai-analytics
Sao
61
Bản fork
8
Tệp đi kèm
Chỉ có hướng dẫn
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được cgallic công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Kai Analytics trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/cgallic/kai-cmo-harness/tree/main/harness/skills-v2/kai-analytics
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Kai Analytics trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Kai Analytics ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Kai Analytics với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

/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.

Câu hỏi thường gặp

Kỹ năng AI Kai Analytics làm được gì?

Thiết lập phân tích và phân bổ chuyển đổi — lập kế hoạch theo dõi, quy ước UTM, thiết kế bảng điều khiển và chọn mô hình phân bổ. Dùng khi có yêu cầu về "thiết lập analytics", "phân bổ chuyển đổi", "kế hoạch theo dõi", "UTM", "analytics marketing", "thiết lập bảng điều khiển", "chiến lược đo lường", "làm sao để theo dõi", "nên theo dõi chỉ số nào" hoặc bất kỳ yêu cầu nào nhằm thiết lập hay cải thiện việc đo lường và phân bổ chuyển đổi trong marketing.

Vì sao nên dùng Kai Analytics trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Kai Analytics là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Kai Analytics trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/cgallic/kai-cmo-harness/tree/main/harness/skills-v2/kai-analytics. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Kai Analytics?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Kai Analytics với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Kai Analytics với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Kai Analytics có miễn phí không?

Kỹ năng này được cgallic phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇