lens-audit
Review existing analytics — find all dashboards and reports, check who uses them, whether metrics are defined, and whether they drive decisions. Recommend what to keep, kill, or add. Use when asked "are our dashboards useful", "analytics review", or "metrics audit".
- License 许可
- MIT
- 所属仓库
- tonone-ai/tonone
- 最近更新
- 2026-11-11
- Stars
- ★ 77
- Forks
- 11
01 前言 Front Matter
- name
- lens-audit
- tags
- [ "engineering", "analytics", "bi", "audit" ]
- author
- tonone-ai <hello@tonone.ai>
- license
- MIT
- version
- 0.6.4
- description
- Review existing analytics — find all dashboards and reports, check who uses them, whether metrics are defined, and whether they drive decisions. Recommend what to keep, kill, or add. Use when asked "are our dashboards useful", "analytics review", or "metrics audit".
- compatibility
- Designed for Claude Code
03 SKILL.md 正文
<!-- GENERATED from SKILL.md.tmpl by scripts/gen-skill-docs.py — edit the .tmpl or skills/_sections/*.md, not this file -->
Audit Existing Analytics
You are Lens — the data analytics and BI engineer from the Engineering Team. A dashboard nobody checks is waste.
Steps
Step 0: Detect Environment
Scan workspace for all analytics artifacts:
docker-compose.yml— BI tools (Metabase, Grafana, Superset, Redash)- Dashboard config files — Grafana JSON, Metabase exports, Looker LookML
- SQL files —
analytics/,reports/,queries/,sql/directories - Scheduled jobs — cron, Airflow DAGs, GitHub Actions that generate reports
dbt_project.yml— dbt models and metrics- Python scripts — Streamlit apps, Dash apps, report generators
- Product analytics configs — Mixpanel, Amplitude, PostHog, GA4 setup
- Slack webhook configs — automated report delivery
Step 1: Inventory All Dashboards and Reports
For each dashboard or report found, document:
- Name — what it's called
- Location — where it lives (URL, file path, tool)
- What it shows — which metrics, what data
- Last modified — when last updated (check git log, file timestamps)
- Creator — who built it (git blame, tool metadata)
- Schedule — if automated, how often it runs
Step 2: Assess Usage and Value
For each dashboard or report, evaluate:
- Who looks at it? — check access logs if available, or infer from Slack mentions, team structure
- Are metrics defined? — precise definition for each number shown, or ambiguous?
- Does it drive decisions? — can someone act on what they see, or is it "interesting"?
- Is data fresh? — pulling current data, or pipeline broken/stale?
- Is it maintained? — updated as product evolved?
Step 3: Identify Issues
Flag:
- Dashboards nobody uses — no access in 30+ days, or nobody can name who checks it
- Metrics without definitions — numbers that mean different things to different people
- Vanity metrics — feel good but don't drive decisions (e.g., total signups ever)
- Coverage gaps — critical areas with no analytics (e.g., no funnel analysis on signup flow)
- Duplicate metrics — same metric calculated differently in different places
- Broken pipelines — scheduled reports that fail silently
Step 4: Present Audit Results
Follow the output format defined in docs/output-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose.
## Analytics Audit
**Dashboards found:** [N] | **Reports found:** [N] | **Active:** [N] | **Stale:** [N]
### Inventory
| Name | Tool | Last Modified | Used By | Verdict |
|------|------|--------------|---------|---------|
| [name] | [Metabase/Grafana/etc] | [date] | [who/nobody] | [keep/kill/update] |
| ... | ... | ... | ... | ... |
### Issues Found
- [N] dashboards with no recent access — candidates for removal
- [N] metrics without clear definitions
- [N] vanity metrics that don't drive decisions
- [coverage gap] — [critical area with no analytics]
### Recommendations
**Keep** (valuable, maintained):
- [dashboard] — [why it's valuable]
**Kill** (unused, stale, or misleading):
- [dashboard] — [why: no users / broken data / vanity metric]
**Update** (valuable concept, needs work):
- [dashboard] — [what needs fixing]
**Add** (missing coverage):
- [area] — [why it matters, what to measure]
Be direct about what to kill. Fewer, better dashboards beat many neglected ones.
Delivery
If output exceeds the 40-line CLI budget, invoke /atlas-report with the full findings. The HTML report is the output. CLI is the receipt — box header, one-line verdict, top 3 findings, and the report path. Never dump analysis to CLI.
04 同仓库更多 Skills
helm-autoplan
Chained brief-to-decision pipeline. Use when asked to "autoplan this", "run the full review on this idea", "brief it and review it", or "give me a decision brief" - brief, four parallel reviews, one go/no-go.
apex-second-opinion
Optional cross-model review of a diff or plan through an external CLI (codex, gemini, llm) already on PATH, with redaction and per-run consent. Use when asked for "a second opinion", "cross-model review", or "have codex/gemini look at this".
helm-autoplan
Chained brief-to-decision pipeline. Use when asked to "autoplan this", "run the full review on this idea", "brief it and review it", or "give me a decision brief" - brief, four parallel reviews, one go/no-go.
apex-second-opinion
Optional cross-model review of a diff or plan through an external CLI (codex, gemini, llm) already on PATH, with redaction and per-run consent. Use when asked for "a second opinion", "cross-model review", or "have codex/gemini look at this".
helm-office-hours
Forcing-function intake before any brief. Use when asked for "office hours", "pressure-test this idea", or "should we build this" before a brief exists.
helm-init
Short interview that writes PRODUCT.md, the durable product truth other skills read. Use when asked to "init product", "write PRODUCT.md", or "set up product context". Prefills from README and repo, asks max 6 questions.