google-tag-manager

google-tag-manager is a skill for Claude Code from VKirill/claude-lane-stack. It costs 134 tokens per session (2,740 once invoked), scanned A, original, MIT.

A guide for controlling Google Tag Manager through its API. Google Tag Manager is a service for managing website or app tracking tags, triggers, and variables without editing each page directly.

In plain words
What is it for?
Use it to list or change containers, workspaces, tags, triggers, and variables; publish or roll back versions; clone workspaces; and diagnose failed API requests.
Why use it?
It gives a defined process for publishing, rolling back, copying, and auditing tracking configurations, including handling concurrent edits and API errors.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is Source of truth: [STACK_VERSIONS.md](../../STACK_VERSIONS.md) — verified 2026-06-11.

Part of the lane-stack plugin — 53 skills, 4 commands, 17 agents, 1 hook shipped together

Good fit Use it to list or change containers, workspaces, tags, triggers, and variables; publish or roll back versions; clone workspaces; and diagnose failed API requests.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/VKirill/claude-lane-stack
agentmods
npx agentmods add skills/vkirill/claude-lane-stack/google-tag-manager

Made for: Claude Code.

Or install lane-stack, the plugin that ships this one along with the rest of its 53 skills, 4 commands, 17 agents, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for google-tag-manager

README.md
[![agentmods](https://agentmods.dev/badge/skills/vkirill/claude-lane-stack/google-tag-manager/github.svg)](https://agentmods.dev/skills/vkirill/claude-lane-stack/google-tag-manager)
Your own site
<a href="https://agentmods.dev/skills/vkirill/claude-lane-stack/google-tag-manager"><img src="https://agentmods.dev/badge/skills/vkirill/claude-lane-stack/google-tag-manager/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for google-tag-manager

Your own site · 80×15
<a href="https://agentmods.dev/skills/vkirill/claude-lane-stack/google-tag-manager"><img src="https://agentmods.dev/badge/skills/vkirill/claude-lane-stack/google-tag-manager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 134 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,740 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00134 $0.02740
Opus 5 $0.00067 $0.01370
Sonnet 5 $0.00027 $0.00548
Haiku 4.5 $0.00013 $0.00274

Measured 4d ago against content hash e3121a63dabc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

google-tag-manager scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| Auth (OAuth + Service Account), discover Account/Container IDs, curl + Node + Python init | [references/setup.md](references/setup.md) |
plugins/lane-stack/skills/google/google-tag-manager/SKILL.md · 169 lines

How it starts

The opening of the file, as written. The whole thing — 169 lines — stays where its author put it; the contents beside it link to each section on GitHub.

🎯 Version Requirements (June 2026)

Primary pins:

  • GTM API: v2 (stable)
  • googleapis (Node): 144.x
  • google-api-python-client: 2.x
  • Node.js: 24.x (Active LTS)
  • Python: 3.14.x

Source of truth: STACK_VERSIONS.md — verified 2026-06-11

Usage

Loaded automatically when its description matches the active task. This is the single source of truth for Google Tag Manager API v2 operations: reading container state, making writes, publishing versions, and rolling back. Read the section you need, then follow the link to the relevant reference file for full detail.

Use this skill when

  • Listing, creating, or updating GTM containers, workspaces, tags, triggers, or variables programmatically
  • Publishing a workspace to live — requires the two-step create_version + publish flow
  • Rolling back a GTM container to a previous version (two-step: create_version_from_old → publish)
  • Auditing all tags in a container: list tags referencing a specific variable, find unused triggers
  • Bulk-renaming or migrating variables via export-edit-import pattern
  • Cloning a workspace for staging / QA before publish
  • Diagnosing etag conflicts (409) on concurrent container edits
  • Managing write quota (~25 write ops/min/container) and planning batch operations
  • Setting up a service account or OAuth flow for GTM API access
  • Finding account IDs and container IDs via API (accounts.list, containers.list)

Do not use this skill when

  • You need GA4 event analytics (sessions, conversions, reports) — use google-analytics
  • You need Google OAuth / Service Account credential setup — use google-cloud-auth
  • You need to write data into GA4 via Measurement Protocol — use google-analytics
  • You need Yandex.Metrica tag management — different provider; load yandex-metrica
  • You need generic HTTP transport patterns (retries, backoff) — use httpx or nodejs
  • You need GTM server-side container code (sGTM custom templates in JavaScript) — different domain; check gtm-server-side if that skill exists

Read the full file on GitHub · 169 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 169 lines · 134 tokens per session scan A e3121a63dabc

Subscribe to this mod's changes

google-tag-manager is a skill published in the GitHub repository VKirill/claude-lane-stack (115 stars, last pushed today), licensed MIT. It adds 134 tokens to every session and 2,740 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.