원클릭으로
gtm-copilot
A comprehensive skill for developing, managing, importing, and exporting Google Tag Manager configurations - GTM Copilot
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
A comprehensive skill for developing, managing, importing, and exporting Google Tag Manager configurations - GTM Copilot
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | gtm-copilot |
| description | A comprehensive skill for developing, managing, importing, and exporting Google Tag Manager configurations - GTM Copilot |
| license | MIT |
| compatibility | python >= 3.x |
| metadata | {"version":"0.2.0","author":"SEM Technology","homepage":"https://github.com/sem-technology/gtm-copilot"} |
| disable-model-invocation | false |
| allowed-tools | ["run_command","list_dir","view_file","grep_search","codebase_search"] |
This skill supports the entire Google Tag Manager (GTM) development workflow. All necessary tools and documentation are bundled within this skill directory.
This skill is configured as a self-contained package. Agents must always use relative paths within this skill directory.
SKILL.md: Skill definition (this file).env.example: Template for environment variable settingsLICENSE.txt: License informationscripts/: Folder containing all program code
bin/: Executable scripts (auth.py, export.py, import.py)gtm_client.py: Core implementation of the GTM API clientauthentication.py: Authentication modulehelpers/: Utilities and client logicresources/: Folder for supplemental documents and sample data
documents/: Documents for GTM Copilot
audit_checkpoints.md: Detailed audit criteria for GTM configurationsserver_container/: Configuration for Server-side GTM
tags.jsontriggers.jsonvariables.jsonbuilt_in_variables.jsonweb_container/: Configuration for Web GTM
tags.jsontriggers.jsonvariables.jsonbuilt_in_variables.jsonEnvironment variables are loaded from the .env file located in the project root.
GTM_CLIENT_ID: OAuth 2.0 Client ID for GTM API access.GTM_CLIENT_SECRET: OAuth 2.0 Client Secret for GTM API access.GTM_REFRESH_TOKEN: OAuth 2.0 Refresh Token for automatic token renewal.GTM_EXPORT_ROOT_PATH: Environment variable to specify the root directory for GTM files.
[[GTM_ID]] for dynamic path resolution based on the container ID.tmp/[[GTM_ID]]).Performs OAuth2 authentication to access the GTM API.
python ./scripts/bin/auth.pyExports existing GTM configurations as local JSON files.
python ./scripts/bin/export.py --url <GTM_WORKSPACE_URL>--output or GTM_EXPORT_ROOT_PATH (defaults to ./tmp/GTM-XXXXXX/).Updates the GTM container based on local JSON files.
python ./scripts/bin/import.py --url <GTM_WORKSPACE_URL>--directory or GTM_EXPORT_ROOT_PATH (defaults to ./tmp/GTM-XXXXXX/).scripts/bin/export.py to get the latest GTM state.tmp/.
scripts/bin/import.py to synchronize changes.
fingerprint values are written back to local JSONs.scripts/bin/export.py to get the latest GTM state.view_file tool to read resources/documents/audit_checkpoints.md to understand the audit criteria.tmp/ based on those criteria.Crucial: The agent must not modify any tags, triggers, or variables, nor perform any import operations, unless specifically instructed to do so by the user.
{{Variable Name}} format to reference variables.resources/server_container/ or resources/web_container/ directories as references for correct schemas and parameter structures.