skills$openclaw/remove-analytics
jeftekhari4.1k

by jeftekhari

remove-analytics – OpenClaw Skill

remove-analytics is an OpenClaw Skills integration for coding workflows. Safely remove Google Analytics from a project. Cleans up all tracking code, dependencies, and environment variables.

4.1k stars8.6k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

nameremove-analytics
descriptionSafely remove Google Analytics from a project. Cleans up all tracking code, dependencies, and environment variables. OpenClaw Skills integration.
ownerjeftekhari
repositoryjeftekhari/remove-analytics
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @jeftekhari/remove-analytics
last updatedFeb 7, 2026

Maintainer

jeftekhari

jeftekhari

Maintains remove-analytics in the OpenClaw Skills directory.

View GitHub profile
File Explorer
2 files
.
_meta.json
288 B
SKILL.md
1.5 KB
SKILL.md

name: remove-analytics description: Safely remove Google Analytics from a project. Cleans up all tracking code, dependencies, and environment variables. disable-model-invocation: true

Remove Analytics Skill

You are removing Google Analytics from this project. This is a destructive action - confirm with the user before proceeding.

Step 1: Confirm Intent

Ask the user to confirm they want to remove analytics:

"This will remove all Google Analytics tracking from your project. This action will:

  • Remove gtag scripts and components
  • Remove analytics utility files
  • Remove related environment variables from .env.example
  • Remove npm packages if any

Type 'yes' to confirm."

Step 2: Find All Analytics Code

Search for:

  • Files containing gtag, dataLayer, GoogleAnalytics
  • Import statements for analytics utilities
  • Script tags with googletagmanager.com
  • Environment variables: GA_, GTAG_, MEASUREMENT_ID
  • Package.json dependencies: @types/gtag.js, react-ga4, vue-gtag, etc.

Step 3: Remove Code

For each finding:

  1. Show the file and code to be removed
  2. Remove the code or file
  3. Clean up any orphaned imports

Step 4: Clean Up

  • Remove analytics-related packages: npm uninstall @types/gtag.js (or equivalent)
  • Remove environment variables from .env.example
  • Update any documentation that references analytics

Step 5: Summary

Provide a summary of:

  • Files deleted
  • Files modified
  • Packages removed
  • Environment variables removed
  • Any manual steps needed (like removing actual env values)
README.md

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

FAQ

How do I install remove-analytics?

Run openclaw add @jeftekhari/remove-analytics in your terminal. This installs remove-analytics into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/jeftekhari/remove-analytics. Review commits and README documentation before installing.