analytics-cleaner
>
Works with
---
name: analytics-cleaner
description: >
license: MIT
---
# Analytics & Telemetry Cleaner
**Core:** Safely remove unwanted analytics/tracking/telemetry code with MANDATORY user approval.
**Target:** "$ARGUMENTS"
> **REQUIRED SUB-SKILL — removal mechanics:** the general "map 100% of references, then
> delete surgically" machinery lives in the `code-deletion` skill (Mode A for active
> features, the 11-level verification for dead code). This skill does NOT re-derive it —
> it applies that discipline to the analytics domain and adds the pattern catalog below.
> **REQUIRED CLOSE-OUT:** run the `verification-before-completion` discipline before
> claiming the cleanup is done (imports resolve, tests pass, system still runs).
---
## Safety first
**NEVER delete without explicit user approval. Always preserve system functionality.**
Analytics/telemetry is often tangled with code that is NOT tracking (a `metrics.py` may
hold both user-tracking AND critical system health gauges). One false positive — deleting
a metric the system depends on — is worse than leaving instrumentation in place.
---
## Target patterns (the analytics catalog)
Use these lists to seed the reference search. They are the domain asset of this skill;
map every hit to the code-deletion reference-mapping discipline before removing anything.
```python
# Analytics imports to eliminate
ANALYTICS_IMPORTS = [
"analytics", "mixpanel", "segment", "amplitude",
"google.analytics", "datadog", "newrelic"
]
# Tracking functions to remove
TRACKING_FUNCTIONS = [
"track_event", "log_user_action", "send_telemetry",
"record_interaction", "analytics.track"
]
# Monitoring patterns (non-critical)
MONITORING_PATTERNS = [
"@track_performance", "@monitor", "@measure",
"performance.measure", "log_metric"
]
```
---
## Cleanup protocol
### Step 1: DISCOVERY
```markdown
**Analytics Code Found:**
- [ ] `file.py:line` - [Function/import] - [Purpose]
- [ ] `file.py:line` - [Function/import] - [Purpose]
**Dependencies:**
- [What else uses this code]
**Impact Assessment:**
- Functionality affected: [None/Minor/Major]
```
### Step 2: PRESENT TO USER (MANDATORY)
```markdown
## Proposed Removals
**Will Remove:**
- [ ] `file.py:50-80` - Analytics tracking function
- [ ] `file.py:10` - Import statement
**Will Preserve:**
- `metrics.py` - Critical system metrics (NOT user tracking)
**Impact:** Zero functionality loss
WAITING FOR USER APPROVAL
```
### Step 3: EXECUTE (only after approval)
1. Remove approved items
2. Verify no broken imports
3. Run tests
4. Confirm system still works
---
## Success criteria
1. User approved all removals
2. Zero functionality impact
3. System tests pass
4. No orphaned references
---
Now analyzing analytics code in: **$ARGUMENTS**More SEO & Marketing skills
ai-video-generation
skills-101/superpowers
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0, HappyHorse 1.0, Wan 2.5, Grok Imagine Video, OmniHuman, Fabric, HunyuanVideo. Capabilities: text-to-video, image-to-video, reference-to-video, video editing, lipsync, avatar animation, video upscaling, foley sound. Use for: social media videos, marketing content, explainer videos, product demos, AI avatars. Triggers: video generation, ai video, text to video, image to video, veo, animate image, video from image, ai animation, video generator, generate video, t2v, i2v, ai video maker, create video with ai, runway alternative, pika alternative, sora alternative, kling alternative, seedance, happyhorse
ai-image-generation
skills-101/superpowers
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FLUX.2 Klein LoRA, Gemini 3 Pro Image, Grok Imagine, Seedream 4.5, Reve, ImagineArt. Capabilities: text-to-image, image-to-image, inpainting, LoRA, image editing, upscaling, text rendering. Use for: AI art, product mockups, concept art, social media graphics, marketing visuals, illustrations. Triggers: flux, image generation, ai image, text to image, stable diffusion, generate image, ai art, midjourney alternative, dall-e alternative, text2img, t2i, image generator, ai picture, create image with ai, generative ai, ai illustration, grok image, gemini image, gpt image, openai image, chatgpt image
ai-avatar-video
skills-101/superpowers
Create AI avatar and talking head videos via inference.sh CLI. Recommended: P-Video-Avatar (fastest, cheapest, built-in TTS). Also: OmniHuman, Fabric, PixVerse. Audio: Inworld TTS-2 (100+ languages, emotion steering for characters), ElevenLabs, Kokoro. Capabilities: audio-driven avatars, text-to-avatar, lipsync videos, talking head generation, virtual presenters, UGC content. Use for: AI presenters, explainer videos, virtual influencers, dubbing, marketing videos, UGC ads, gaming avatars, NPC dialogue. Triggers: ai avatar, talking head, lipsync, avatar video, virtual presenter, ai spokesperson, audio driven video, heygen alternative, synthesia alternative, talking avatar, lip sync, video avatar, ai presenter, digital human, ugc, ugc video, ugc ad, avatar ugc

