← Back to Skills Marketplace
Remove Analytics
by
jeftekhari
· GitHub ↗
· v0.1.0
1731
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install remove-analytics
Description
Safely remove Google Analytics from a project. Cleans up all tracking code, dependencies, and environment variables.
Usage Guidance
This skill appears to do what it says — find and remove Google Analytics traces — but it performs destructive, pattern-based edits to your repository. Before installing or running it: 1) ensure you have a current VCS commit or backup; run the skill in a feature branch or a clone; 2) require and verify the explicit confirmation prompt before applying changes; 3) review every proposed removal (files, import deletions, package uninstall commands) to avoid removing unrelated code that matches broad patterns like 'GA_' or 'gtag'; 4) remember .env.example is edited but .env (with real values) may need manual review — the skill notes this as a manual step; 5) after changes, run tests and inspect package-lock or yarn.lock for unintended dependency changes; 6) check for server-side analytics endpoints, consent handling, or other telemetry sources that pattern searches might miss. If you want extra safety, ask the skill to produce a dry-run report (list of matches and proposed edits) and create a PR rather than applying changes directly.
Capability Analysis
Type: OpenClaw Skill
Name: remove-analytics
Version: 0.1.0
The skill is designed to remove Google Analytics from a project, which inherently requires file system modification (read, write, delete) and command execution (e.g., `npm uninstall`). While these are high-risk capabilities, the `SKILL.md` instructions are transparent, explicitly require user confirmation before proceeding, and consistently align with the stated purpose. The `disable-model-invocation: true` flag further mitigates prompt injection risks by preventing the agent from invoking its own model for arbitrary actions. There is no evidence of intentional malicious behavior such as data exfiltration, unauthorized access, or obfuscation.
Capability Assessment
Purpose & Capability
Name/description match the instructions: the SKILL.md focuses on finding and removing Google Analytics traces (gtag, dataLayer, googletagmanager scripts, related npm packages and env vars). The skill asks for nothing extraneous (no credentials, no system-wide paths).
Instruction Scope
Instructions are appropriately scoped to the stated goal but are destructive and pattern-based. Risks: naive pattern searches (e.g., any symbol containing 'GA_' or 'gtag') may remove unrelated code or variables; the skill tells the agent to run package uninstall commands and edit files including .env.example. The SKILL.md requires explicit user confirmation before acting, which mitigates accidental runs.
Install Mechanism
Instruction-only skill with no install spec and no code files — nothing is written to disk or downloaded by the skill itself, which minimizes supply-chain risk.
Credentials
The skill requests no environment variables or credentials. It only searches for environment-variable-looking names in project files and .env.example; this is proportional to removing analytics.
Persistence & Privilege
always is false and model invocation is disabled (disable-model-invocation: true), so the skill cannot run autonomously. It does instruct destructive file edits, but it does not request persistent presence or system-wide configuration changes.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install remove-analytics - After installation, invoke the skill by name or use
/remove-analytics - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
Initial release: safely removes Google Analytics from a project, including tracking code, dependencies, and environment variables.
- Confirms user intent before proceeding with removal.
- Detects and removes gtag scripts, components, and analytics utilities.
- Cleans up related environment variables and npm packages.
- Provides a summary of all removed files, packages, and variables.
- Lists any manual cleanup steps required.
Metadata
Frequently Asked Questions
What is Remove Analytics?
Safely remove Google Analytics from a project. Cleans up all tracking code, dependencies, and environment variables. It is an AI Agent Skill for Claude Code / OpenClaw, with 1731 downloads so far.
How do I install Remove Analytics?
Run "/install remove-analytics" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Remove Analytics free?
Yes, Remove Analytics is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Remove Analytics support?
Remove Analytics is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Remove Analytics?
It is built and maintained by jeftekhari (@jeftekhari); the current version is v0.1.0.
More Skills