← ClaudeAtlas

analyticslisted

Analytics orchestrator — routes to show, prune. Local-only workspace event log under `~/.event4u/agent-config/workspace/analytics/`.
event4u-app/agent-config · ★ 7 · AI & Automation · score 84
Install: claude install-skill event4u-app/agent-config
# /analytics Top-level orchestrator for the `/analytics` family — the **local workspace analytics** cluster. Local-only, never POSTs, opt-out via env or `.agent-settings.yml`. Anchors: [`local-analytics`](../../docs/contracts/local-analytics.md) contract — schema, retention, opt-out, event vocabulary. ## Sub-commands | Sub-command | Routes to | Purpose | |---|---|---| | `/analytics show` | `commands/analytics/show.md` | Render top prompts, launcher → completion, session length, knowledge usage | | `/analytics prune` | `commands/analytics/prune.md` | Drop events older than the 90-day retention window | ## Non-interactive & auto-detection `/analytics` honors the [`non-interactive-contract`](../contexts/execution/non-interactive-contract.md) (surface detection, confidence tiers, `--yes`/`--json`, abort schemas, the `auto_detect` kill-switch, rollback). Detection table: | Basis (signal) | Sub-command | Confidence | |---|---|---| | Explicit sub given (`/analytics prune`) | that one | — (detection skipped) | | `--prune` flag, or explicit "drop/prune old events" intent | `analytics/prune` | HIGH (destructive — see below) | | Any read intent (show, report, top prompts), or no argument | `analytics/show` (read-only safe default) | HIGH | `show` is the read-only safe default — a bare `/analytics` always renders. `prune` **mutates** (drops events): per the contract it NEVER fires on an auto-detect/safe-default fallback — only on an explicit `prune` sub / `--prune`, and in CI onl