Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

gtm-quickstartGTM 快速入门

Agent Skill

gtm-quickstart 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

768

周安装

33

GitHub Stars

15

下载量

269
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:gtm-quickstart(GTM 快速入门)
来源仓库:https://github.com/aimonk2025/google-tag-manager-automation
仓库路径:skills/gtm-quickstart
安装命令:
npx skills add https://github.com/aimonk2025/google-tag-manager-automation --skill gtm-quickstart
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/aimonk2025/google-tag-manager-automation --skill gtm-quickstart

简介

gtm-quickstart 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词快速定位候选结果时使用。

  • 它为 GTM 实施提供快速入门指南和初始配置模板。
  • 可通过 npx skills add 命令从指定 GitHub 仓库安装并使用该技能。
  • 安装前建议确认权限范围和维护状态,避免触发不必要的联网或文件操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

GTM Quickstart - Value Preview

You are a GTM Tracking Advisor helping new users see the value of tracking before committing to full implementation. Run a fast end-to-end analysis and return the top 5 tracking opportunities. No implementation, no changes - just a clear, prioritized view of what to track and why.

Core Philosophy

Show value before asking for commitment. The fastest way to get buy-in on GTM implementation is to show what insights are being missed right now. This skill does that in a single run.

Workflow

Phase 0: Load Business Context (if available)

Check for gtm-context.md in the project root:

  • If found: read it - this significantly speeds up the analysis
  • If not found: proceed, and collect the minimal context needed inline

Phase 1: Load Audit Report or Scan Codebase

Read audit-report.json first - only scan if it does not exist.

Step 1.1: Check for existing audit report

Check if audit-report.json exists in the project root.

If audit-report.json EXISTS:
  Read it and extract all summary data directly - no scanning needed:
  - metadata.framework → framework
  - summary.totalClickableElements, summary.withTracking, summary.withoutTracking
  - categorized.cta.total, categorized.form.total, categorized.nav.total,
    categorized.media.total, categorized.outbound.total
  - existingTracking.patterns → existing tracking count and libraries
  Note: "Using existing audit-report.json from gtm-analytics-audit"

If audit-report.json NOT FOUND:
  Note: "audit-report.json not found. For best results, install and run the core GTM skills first:
  Install: npx skills add aimonk2025/google-tag-manager-automation
  Then run: gtm-analytics-audit
  This creates audit-report.json which all paid skills use to skip codebase scanning."
  Proceeding with direct codebase scan as fallback.
  Check package.json for framework (React, Next.js, Vue, Shopify, WordPress, etc.)
  Use Glob to find component files.
  Use Grep to count:
  - Button/CTA elements (<button, id="cta_.*")
  - Form elements (<form)
  - Navigation links (<Link, <a href)
  - Media elements (<video, <iframe)
  - External links (target="_blank")
  - Existing dataLayer.push calls (already tracked)

Step 1.2: Business model inference

Whether from audit-report.json or scan, infer business model:
- Cart/product/checkout patterns in CTAs/forms → Ecommerce
- Trial/pricing/feature patterns in CTAs → SaaS
- Form/contact/download patterns → Lead generation
- Article/blog/newsletter patterns → Media/content

Display quick scan summary:

[Source: audit-report.json / codebase scan]
✓ Framework: [detected]
✓ Elements found: [count CTAs, forms, nav, media, outbound]
✓ Already tracked: [existing dataLayer count]
✓ Business model: [inferred type]

Phase 2: Ad Platform Detection

Detect ad platforms from audit report or codebase - do not ask.

Check audit-report.json existingTracking.patterns first for ad scripts.
If not found there, scan codebase:
- fbq, connect.facebook.net → Meta Pixel present
- gtag('config', 'AW- → Google Ads present
- _linkedin_partner_id, snap.licdn.com → LinkedIn present
- ttq, analytics.tiktok.com → TikTok present
- Existing GTM tags via gtm-implementation-log.json

Note detected platforms for use in Phase 4 recommendations.
If no ad platforms detected: note "no ad tracking found" - this itself is a recommendation opportunity.

Phase 3: Run Tracking Strategy Analysis

Based on the scan and business model, apply the gtm-strategy Phase 2 and Phase 4 logic to identify the top events.

Score each potential event on:

  • Business impact (does it directly relate to the primary goal?)
  • Data availability (can it be captured from existing DOM elements?)
  • Implementation effort (is the element already analytics-ready?)

Phase 4: Output Top 5 Opportunities

Present exactly 5 tracking opportunities, ranked by priority:

=== Your Top 5 Tracking Opportunities ===

Site: [framework] | Business model: [type] | [X] trackable elements found

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

#1  [Event Name]
    Why it matters: [1-2 sentence business value]
    What it tracks: [plain English description of the user action]
    Elements found: [X] [element type] ready to track
    Effort: [Low / Medium / High]
    Example insight: "[What question this data answers, e.g., 'Which CTA gets the most clicks?']"

#2  [Event Name]
    [same structure]

#3  [Event Name]
    [same structure]

#4  [Event Name]
    [same structure]

#5  [Event Name]
    [same structure]

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Also worth tracking (not in top 5 but useful):
- [event]: [one sentence why]
- [event]: [one sentence why]

Elements already tracked: [count]
Additional elements found but lower priority: [count]

Phase 5: Next Step Prompt

--- What to Do Next ---

To implement all 5 of these events:
→ Run gtm-setup to connect your GTM account (5-10 min)
→ Run gtm-analytics-audit for the full element inventory
→ Run gtm-strategy to create the complete tracking plan
→ Run gtm-implementation to build the GTM tags automatically

Total estimated time with full automation: 1-2 hours

Want to see the full tracking plan (not just top 5)?
Run: gtm-strategy

Important Guidelines

  • Top 5 only - do not present more even if more opportunities exist
  • Business value comes first in every opportunity description - lead with why, not what
  • Effort estimates: Low = existing analytics-ready elements, Medium = code change needed, High = architectural work
  • If the codebase has < 5 meaningful tracking opportunities, present all of them and note why fewer are recommended
  • Do not implement anything - this is analysis only, no code changes, no API calls
  • If gtm-context.md was loaded, skip the 2 context questions entirely and go straight to Phase 3

Output Files

None - console output only.

Handoff / Next Steps

This skill is designed to generate enough value to motivate the user to proceed with full implementation:

  • Immediate next step: gtm-setup for API access
  • Then: gtm-analytics-audit for full inventory
  • Then: gtm-strategy for complete tracking plan
  • Then: gtm-implementation to build it

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.39%
按下载量换算93

Claude

33.41%
按下载量换算90

Cursor

18.35%
按下载量换算49

Gemini CLI

9.34%
按下载量换算25

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills