lucianfialho/gmp-cli/gmp-gtm
Claude Code and agent skill by lucianfialho/gmp-cli
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Google Tag Manager: Accounts, containers, tags, triggers, variables, and versions.
Install
npx vskill@latest install lucianfialho/gmp-cli/gmp-gtmSKILL.md
gtm (Google Tag Manager API v2)
PREREQUISITE: Read../gmp-shared/SKILL.mdfor auth, global flags, and output formats.
Commands
| Command | Description | |
|---|---|---|
accounts | List GTM accounts | |
containers | List containers for an account | |
tags | List tags in a container workspace | |
triggers | List triggers in a container workspace | |
variables | List variables in a container workspace | |
versions | List published container versions |
Quick Reference
List accounts and containers
List tags, triggers, and variables
List published versions
Container Path Format
All tag/trigger/variable/version commands require a container path:
Get the account ID from gmp gtm accounts and container ID from gmp gtm containers -a ACCOUNT_ID.
Workspace Behavior
- Default:
-w 0uses the "Default Workspace" automatically. - Specify
-w <ID>for a specific workspace. - The CLI resolves the default workspace by listing workspaces and picking "Default Workspace" or the first available.
Output Columns
Table and CSV output is simplified. JSON output includes full API fields — use -f json for audits and automation.
Tags (-f table)
| Column | Description | |
|---|---|---|
tagId | Tag ID | |
name | Tag name | |
type | Tag type (e.g. ua, awct, html, gaawe) | |
firingTriggerId | Comma-separated trigger IDs | |
paused | Whether the tag is paused |
Tags (-f json — additional fields)
| Field | Description | |
|---|---|---|
parameter | Full parameter array (measurementId, eventName, eventParameters, etc.) | |
blockingTriggerId | Array of blocking trigger IDs | |
fingerprint | Tag fingerprint | |
path | Full resource path |
Triggers (-f table)
| Column | Description | |
|---|---|---|
triggerId | Trigger ID | |
name | Trigger name | |
type | Trigger type (e.g. pageview, click, customEvent) |
Triggers (-f json — additional fields)
| Field | Description | |
|---|---|---|
filter | Trigger condition filters | |
autoEventFilter | Auto-event filters | |
parameter | Trigger parameter array | |
fingerprint | Trigger fingerprint | |
path | Full resource path |
Variables (-f table)
| Column | Description | |
|---|---|---|
variableId | Variable ID | |
name | Variable name | |
type | Variable type (e.g. v, jsm, gas) |
Variables (-f json — additional fields)
| Field | Description | |
|---|---|---|
parameter | Variable parameter array | |
fingerprint | Variable fingerprint | |
path | Full resource path |
Tips
- Get the container path from
gmp gtm containers -a ACCOUNT_ID-- use thepathcolumn. - Tags, triggers, and variables are workspace-scoped. Use
-w 0for the default workspace. - Use
gmp gtm versionsto see publish history and compare tag/trigger/variable counts across versions. - Pipe to
jqfor analysis:gmp gtm tags ... -f json | jq '[.[] | select(.type == "html")]' - Unused variable audit: extract all
{{VarName}}references fromparameter[].valueacross tags, triggers, and variables, then diff against the variables list.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/gmp-gtm/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/lucianfialho/gmp-cli/gmp-gtm)