← 返回 Skills 市场
Remove Analytics
作者
jeftekhari
· GitHub ↗
· v0.1.0
1731
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install remove-analytics
功能描述
Safely remove Google Analytics from a project. Cleans up all tracking code, dependencies, and environment variables.
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install remove-analytics - 安装完成后,直接呼叫该 Skill 的名称或使用
/remove-analytics触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
常见问题
Remove Analytics 是什么?
Safely remove Google Analytics from a project. Cleans up all tracking code, dependencies, and environment variables. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1731 次。
如何安装 Remove Analytics?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install remove-analytics」即可一键安装,无需额外配置。
Remove Analytics 是免费的吗?
是的,Remove Analytics 完全免费(开源免费),可自由下载、安装和使用。
Remove Analytics 支持哪些平台?
Remove Analytics 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Remove Analytics?
由 jeftekhari(@jeftekhari)开发并维护,当前版本 v0.1.0。
推荐 Skills