Audits a Google Tag Manager container against best practices, scoring naming, duplicates, unused entities, GA4, consent, security, and server-side setup.
Ships in gtm-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Read-only. Report findings and fixes; change nothing unless asked. Then use gtm-safe-edit; without it, work in a new workspace, show the changes and get approval before publishing.
gtm-cli command-line tool
(see the gtm-cli skill).| Operation | MCP tool | gtm-cli |
|---|---|---|
| Find the workspace | list_accounts, list_containers, list_workspaces | gtm-cli accounts list, gtm-cli containers list, gtm-cli workspaces list |
| Read entities | list_tags, list_triggers, list_variables, list_folders | gtm-cli tags list, gtm-cli triggers list, gtm-cli variables list; no folders |
| Read server entities | list_clients, list_transformations | not available: ask for an export |
| Read one entity in full | get_tag, get_trigger, get_variable, get_template | gtm-cli tags get, gtm-cli triggers get, gtm-cli variables get; no templates |
Run every check in audit-checks.md against these rules:
A convention the container already follows consistently counts as passing; note how it differs. Mixed or absent conventions do not.
Use these parts in this order, even if the user did not ask for scores:
pass, warn, fail or not applicable.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
7 skills in this plugin
/gtm-cliOperates Google Tag Manager through the gtm-cli command-line tool, including authentication checks, ID discovery, JSON input files and safety rules. Use when a shell is available and GTM must be read or changed without an MCP server, or when a gtm-cli command fails./gtm-ga4-consentSets up and debugs GA4 and consent mode v2 in Google Tag Manager. Use when working on Google tags, GA4 events, cookie banners, consent checks, or duplicate or missing GA4 data./gtm-mcpExplains how to operate the GTM MCP Server, including ID discovery, tool input formats and safety guards. Use when its GTM tools are available or a tool rejects JSON input./gtm-safe-editPlans and applies Google Tag Manager changes without breaking production. Use when adding, editing, deleting, publishing or rolling back GTM tags, triggers, variables or templates./gtm-server-sideReviews and configures server-side Google Tag Manager containers. Use when working on sGTM clients, server tags, transformations, PII redaction or first-party tagging domains./gtm-tracking-planWrites tracking plans and dataLayer specs for Google Tag Manager. Use when asked to document what a container tracks, plan events for measurement goals, or brief developers./gtm-skills:gtm-container-auditfrom gtm-skills
npx claudepluginhub paolobietolini/gtm-mcp-server --plugin gtm-skillsOther plugins' skills for the same job