What problem does it solve?
Web analytics and Paths breakdowns get fragmented across thousands of near-identical URLs like /users/123 and /users/456, making reports unreadable. This Skill collapses dynamic URL segments (numeric IDs, UUIDs, slugs, dates) into readable aliases so pages sharing a template appear as one row.
Core Features & Use Cases
- Path inspection: Queries real $pathname values via the execute-sql MCP tool to identify numeric IDs, UUIDs, slugs, dates, locales, and pagination segments that need cleaning.
- Rule authoring and testing: Writes re2 regex + alias rules with angle-bracket placeholders, validates them with the settings page tester or HogQL replaceRegexpAll before saving.
- Ordered application via MCP: Applies rules with the path-cleaning-rules-update tool using granular append/insert/replace/remove/reorder operations, with preview-before-confirm and sample path rewriting.
- Use Case: A Paths insight shows 5,000 distinct URLs like /posts/some-slug. Use this Skill to add a rule mapping /posts/[a-z0-9-]+$ to /posts/<slug>, collapsing them into one row.
Quick Start
Clean up my web analytics paths by grouping URLs like /users/123 and /users/456 into a single /users/<id> entry.