Suede Analytics 标志

Suede Analytics

社区
JasonColapietro
suede-analytics

Suede AI 分析技能。适用于用户要求“修复我们的分析事件”,或设置 GA4/GTM、关键事件、用户同意、UTM 及搜索/AI 渠道,并提供回读验证证据的场景。不适用于:实验决策(suede-ab-testing)、广告系列优化(suede-ads)、归因核对(suede-attribution)或营收运营(suede-revops)。

Add to TypingMind

概览

发布者JasonColapietro
代码仓库suede-creator-skills
技能名称suede-analytics
星标数
126
复刻数
12
附带文件
7
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 7 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 JasonColapietro 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Suede Analytics AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/JasonColapietro/suede-creator-skills/tree/main/skills/suede-analytics
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/JasonColapietro/suede-creator-skills.git /tmp/suede-creator-skills
mkdir -p .claude/skills
cp -r /tmp/suede-creator-skills/skills/suede-analytics .claude/skills/suede-analytics
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Suede Analytics,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Suede Analytics。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Suede Analytics 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Suede AI Analytics Skills

Read the worked delivery contract for a concrete input, expected artifact, failure response and validation example.

Compatibility

Works with event schemas, source and exports; browser/debugger and existing authorized analytics access for live firing proof. Configuration changes follow the production-change boundary in this skill.

Use this measurement playbook to build tracking that supports auditable marketing and product decisions.

Initial Assessment

Check for .agents/product-marketing.md (or .claude/product-marketing.md, or the legacy product-marketing-context.md) and read it if present: the key conversions, the decisions the data has to serve, and the tools already in place drive every recommendation here.

Then work the intake list under Task-Specific Questions below; ask only what the context file did not already answer.


Production Changes: Halt Before Mutating

Editing live tags, properties, destinations, or consent settings is the highest-consequence action in this skill, and Boundaries below forbids doing it without explicit authorization and a rollback plan. When a task requires one and you do not have both, halt in four parts:

  1. Stop. Do not publish the container, edit the property, or change the consent configuration.
  2. Name the blocker in one line ("publishing this GTM container version changes what fires for all live traffic; I have no rollback version identified").
  3. Offer 2-4 options (stage it in Preview and hand over the trace; write the change as a diff for the owner to publish; publish after the user names the rollback version; scope the change to a test environment).
  4. Wait for the answer. Do not pick one and continue.

The same halt applies to anything the Privacy and Compliance section below sends to legal or privacy review: an unresolved lawful-basis question blocks implementation, it does not get an assumption.


Tracking Plan Framework

Structure

Event Name | Category | Properties | Trigger | Notes
---------- | -------- | ---------- | ------- | -----

Event Types

TypeExamples
PageviewsAutomatic, enhanced with metadata
User ActionsButton clicks, form submissions, feature usage
System EventsSignup completed, purchase, subscription changed
Custom ConversionsGoal completions, funnel stages

For comprehensive event lists: See references/event-library.md


Event Naming Conventions

Recommended Format: Object-Action

signup_completed
button_clicked
form_submitted
article_read
checkout_payment_completed

Best Practices

  • Lowercase with underscores
  • Be specific: cta_hero_clicked vs. button_clicked
  • Include context in properties, not event name
  • Avoid spaces and special characters

Essential Events

Marketing Site

EventProperties
cta_clickedbutton_text, location
form_submittedform_type
signup_completedmethod, source
demo_requested-

Product/App

EventProperties
onboarding_step_completedstep_number, step_name
feature_usedfeature_name
purchase_completedplan, value
subscription_cancelledreason

For full event library by business type: See references/event-library.md


Event Properties

Standard Properties

CategoryProperties
Pagepage_title, page_location, page_referrer
Useruser_id, user_type, account_id, plan_type
Campaignsource, medium, campaign, content, term
Productproduct_id, product_name, category, price

Best Practices

  • Avoid PII in properties
  • Reuse the Standard Properties names above rather than inventing per-event variants

GA4 Implementation

Quick Setup

  1. Create GA4 property and data stream
  2. Install the Google tag (gtag.js) or GTM, with consent mode v2 defaults set before any tag fires
  3. Enable enhanced measurement
  4. Configure custom events
  5. Mark key events in Admin (GA4 renamed "conversions" to key events in March 2024), then create Google Ads conversions from the key events that bidding should use

Event Example

javascript
// GA4's recommended sign_up event, not a custom name, so it feeds built-in reports.
// The tracking plan can still call it signup_completed; map the name explicitly.
gtag('event', 'sign_up', {
  'method': 'email',
  'plan': 'free'
});

For detailed GA4 implementation: See references/ga4-implementation.md


Google Tag Manager

Container Structure

ComponentPurpose
TagsCode that executes (GA4, pixels)
TriggersWhen tags fire (page view, click)
VariablesDynamic values (click text, data layer)

Data Layer Pattern

javascript
dataLayer.push({
  'event': 'form_submitted',
  'form_name': 'contact',
  'form_location': 'footer'
});

For detailed GTM implementation: See references/gtm-implementation.md


UTM Parameter Strategy

Standard Parameters

ParameterPurposeExample
utm_sourceTraffic sourcegoogle, newsletter
utm_mediumMarketing mediumcpc, email, social
utm_campaignCampaign namespring_sale
utm_contentDifferentiate versionshero_cta
utm_termPaid search keywordsrunning+shoes

Naming Conventions

  • Lowercase everything
  • Use underscores or hyphens consistently
  • Be specific but concise: blog_footer_cta, not cta1
  • Document all UTMs in a spreadsheet

Search and AI Assistant Traffic

Organic search and AI answer engines now send traffic that default channel groups misfile. Add a custom channel group in GA4 (Admin > Data display > Channel groups) with an AI assistants channel placed above Referral:

text
Session source matches regex:
chatgpt\.com|chat\.openai\.com|perplexity\.ai|gemini\.google\.com|copilot\.microsoft\.com|claude\.ai|you\.com

Many AI-assisted visits arrive with no referrer and land in Direct, so pair the channel with a "How did you hear about us?" field (see suede-attribution) and with Search Console data for organic queries. Review the regex quarterly as assistants change domains. For the visibility work itself, route to suede-ai-seo and suede-seo-audit.


Debugging and Validation

Testing Tools

ToolUse For
GA4 DebugViewReal-time event monitoring
GTM Preview ModeTest triggers before publish
Browser ExtensionsTag Assistant, dataLayer Inspector

Validation Checklist

Each box closes on an artifact from the tools above, matched to the tool category's "Required current proof" in Tool Integrations below. An unchecked box does not mean "probably fine": it means the tracking is reported as unverified, never as done. Inspecting the tag config is not proof; a readback is.

  • Events firing on correct triggers: a DebugView/live-events capture showing each event on the intended action
  • Property values populating correctly: a property readback per event, values matched against the tracking plan
  • No duplicate events: the same capture inspected for repeat fires (multiple containers, trigger firing twice)
  • Works across browsers and mobile: the readback repeated on at least one non-primary browser and one mobile session
  • Conversions recorded correctly: a source receipt plus a destination receipt for the conversion, not the source alone
  • No PII leaking: the payload of a real captured event read field by field, plus masking/sampling settings for session replay

Report what was proven and what was not. "Instrumented" and "verified" are different claims; only the second one may cite this checklist.

Common Issues

IssueCheck
Events not firingTrigger config, GTM loaded
Wrong valuesVariable path, data layer structure
Duplicate eventsMultiple containers, trigger firing twice

Privacy and Compliance

Privacy, consent, retention, deletion, and identifier rules vary by jurisdiction, audience, data type, contract, and platform configuration. Do not treat this skill as legal advice or declare a universal consent rule.

Before implementation:

  1. Identify the actual markets, audience age, data categories, vendors, purposes, and data flows in scope.
  2. Review current official regulator and platform requirements for those jurisdictions and configurations; obtain qualified privacy or legal review when the requirement is unclear or material.
  3. Document the approved lawful basis or consent state, retention and deletion behavior, access controls, and prohibited properties.
  4. Collect only approved data, avoid direct personal identifiers unless the reviewed design expressly allows them, and test both allowed and denied consent paths.
  5. For Google tags, set all four consent mode v2 signals (ad_storage, analytics_storage, ad_user_data, ad_personalization) before any tag fires. Google requires them for advertising features used with EEA traffic. Pattern and basic-versus-advanced trade-off: references/gtm-implementation.md.

Output Format

Tracking Plan Document

markdown
# [Site/Product] Tracking Plan

## Overview
- Tools: GA4, GTM
- Last updated: [Date]

## Events

| Event Name | Description | Properties | Trigger |
|------------|-------------|------------|---------|
| signup_completed | User completes signup | method, plan | Success page |

## Custom Dimensions

| Name | Scope | Parameter |
|------|-------|-----------|
| user_type | User | user_type |

## Conversions

| Key event | Event | Counting | Google Ads conversion |
|-----------|-------|----------|-----------------------|
| Signup | signup_completed | Once per session | Primary / secondary / none |

Task-Specific Questions

  1. What tools are you using (GA4, Mixpanel, etc.)?
  2. What key actions do you want to track?
  3. What decisions will this data inform?
  4. Who implements - dev team or marketing?
  5. Are there privacy/consent requirements?
  6. What's already tracked?

Tool Integrations

This pack does not ship analytics connectors. Use the user's authorized property UI, debugger, export, API, or installed connector and verify current official documentation before constructing a call.

Tool categoryTypical useRequired current proof
Web analyticsSessions, acquisition, web conversionsDebug event plus property readback
Product analyticsEvent funnels, cohorts, retentionSchema check plus sampled event readback
Tag managerControlled client-side deploymentPreview trace plus published-version ID
Customer data routerSend approved events to destinationsSource receipt plus destination receipt
Session replayDiagnose interaction frictionConsent, masking, sampling, and replay verification

Boundaries

  • Do not claim an event, conversion, consent state, or attribution path works until a current debug or readback proves it.
  • Do not mutate production tags, properties, destinations, or consent settings without explicit authorization and a rollback plan.
  • Do not collect secrets, direct personal identifiers, or sensitive traits merely because a tool permits them.
  • Do not decide business success from a single dashboard number; state the metric definition, window, denominator, and exclusions.

Routing

  • Need experiment design or result interpretation -> use suede-ab-testing.
  • Need paid-campaign decisions -> use suede-ads.
  • Need attribution modeling, model comparison, or cross-tool reconciliation -> use suede-attribution.
  • Need pipeline and CRM attribution -> use suede-revops.
  • Need organic visibility diagnosis -> use suede-seo-audit.
  • From those skills, route instrumentation plans and firing verification back to suede-analytics.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Suede Analytics AI 技能有什么作用?

Suede AI 分析技能。适用于用户要求“修复我们的分析事件”,或设置 GA4/GTM、关键事件、用户同意、UTM 及搜索/AI 渠道,并提供回读验证证据的场景。不适用于:实验决策(suede-ab-testing)、广告系列优化(suede-ads)、归因核对(suede-attribution)或营收运营(suede-revops)。

为什么在 TypingMind 中使用 Suede Analytics?

因为您只需安装一次,就能搭配任何模型使用。Suede Analytics 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Suede Analytics?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/JasonColapietro/suede-creator-skills/tree/main/skills/suede-analytics。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Suede Analytics?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Suede Analytics 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Suede Analytics 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Suede Analytics AI 技能免费吗?

是的。JasonColapietro 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇