Render live Dual-Pool Quota & Resets, Gemini API Budget, Run Advisor Launch Card, Daily Activity Heatmaps, Model & Connection Errors, and Clean-Seam guidance for Gemini Mobile and Gemini Web. Activate whenever the user asks for "latest stats", "quota status", "activity heatmap", or "telemetry".
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Agy Nexus Stats?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/frankxlt-agy-nexus-stats)
---
name: agy-nexus-stats
description: Render live Dual-Pool Quota & Resets, Gemini API Budget, Run Advisor Launch Card, Daily Activity Heatmaps, Model & Connection Errors, and Clean-Seam guidance for Gemini Mobile and Gemini Web. Activate whenever the user asks for "latest stats", "quota status", "activity heatmap", or "telemetry".
---
# `agy-nexus-stats` — Telemetry, Run Advisor & Clean-Seam Guidance Skill
Whenever the user asks for their **latest stats**, **Quota & Resets**, **Gemini API Budget**, **daily activity heatmap**, **error telemetry**, or **Run Advisor**:
## 1. Policy-Safe Single-Call Execution (`get_session_tree` / `telemetry:stats`), Default Period & `style`
1. **Default Timeframe (`period="last_90d"`)**: Never pause to ask the user which timeframe they want unless they explicitly specify one (`"current_month"`, `"last_month"`, `"last_90d"`, `"last_year"`). Default immediately to `period="last_90d"`.
2. **Three-Tier `style` Selection**:
- `style="default"` (**72-column boxed dashboard**): Standard report showing Executive Summary, 28-Day Activity Calendar (`░▒▓█`), Pool & Model Actual vs Target Quota, Gemini API Budget, and Top Projects.
- `style="quick"` (**`<= 40`-column borderless mobile summary**): Compact narrow phone screen summary with zero side borders.
- `style="rich"` (**76-column dual-column widescreen cockpit**): Calendar + 14-Day Velocity Sparkline, Dual-Pool Quota & Resets, Project Velocity, and Agent Matrix.
3. **Zero Redundant Calls, Per-Chat Lease Workflow & `custom_mcp_sybill_policy` Safety**:
- If `unlock_sessions` or `get_session_tree(include_stats=True)` already ran in this turn for `style="default"`, render its `ascii_mobile_report`, `quota_and_pools`, `gemini_api_budget`, and `run_advisor` immediately without a second tool call.
- Otherwise pass this conversation's active `lease_token="nxl_..."` directly to **`get_session_tree`** once (`include_stats=True`, `period="last_90d"`, `style=...`, `lease_token=...`) — fallback sequentially once to `ask_workspace_readonly(question="Latest telemetry stats", file_subpath="telemetry:stats:last_90d:default", lease_token=...)` if denied.
- If this chat has no active `nxl_` lease (or receives `LEASE_REQUIRED`), request 4-char Studio approval via `unlock_sessions(request_lease_session=..., caller_project=..., chat_label=...)`. **NEVER save or reuse `nxl_` tokens across different chats** (strict 1-chat-to-1-lease isolation; passwords are never accepted on MCP).
## 2. Output Format & Three-Pool Metrics
1. Place `ascii_mobile_report` verbatim inside a fenced ```` ```text ```` block at the top of your reply.
2. Summarize in 3 concise bullets:
- **Gemini IDE Pool** (`5h` & `7d` `% left` + resets) vs **Partner IDE Pool** (`5h` & `7d` `% left` + resets) and **Gemini API Budget** (`$5` / `$20` / `$70` windows or `Not Configured`),
- Active Days, Token Volume, and **Clean-Seam Rollover** status (`220` steps before a Big Build / `300` before any new Wave on clean repos),
- Top Projects & point users to `/web` for live **Caliper share bars**, `prev_5h`/`prev_7d` comparison markers, and **Model & Connection Errors**.
## 3. Verbatim Four-Step Emoji Launch Card & Three-Button Action Bar (`send_handoff_and_resume`)
1. **Default Repo-Prefixed Staging (`resume_headless=False`)**: Stage handoffs with explicit `workflow_ids`, `workflow_delta`, and optional `wave_label` (e.g., `"Wave 1 of 2"`). Keep your confirmation sentence short and render the returned **`launch_card` verbatim** — preserving `🧭\u2003` + `1️⃣\u2003`..`4️⃣\u2003` Unicode em-spaces, indented sub-bullets, separate **Partner IDE Pool** / **Gemini IDE Pool** bullets, **Environment `Local`** default on `develop` (`New Worktree` → switch branch from `main` to `develop`), and the fenced ```` ```text ```` `Run handoff <handoff_id>` Copy block.
2. **Zero Scare Prompts & Three-Button Action Bar**: Never emit legacy headless override confirmation hurdles. Finish with `suggested_actions.followup_xml` providing all three `<= 36`-char chips: **`Check In After IDE Run`**, **`Remote Launch (Uses Gemini Pool)`** or **`Remote Launch (Uses Gemini API)`** (remote launch via `Agy Launcher` or `Start Background API Run`; the label names the pool it spends), and **`Revoke Chat Lease`** (per-chat `nxl_` lease revocation via `lock_bridge(lease_token=...)`, replacing legacy Deadbolt).
3. **Clean-Seam Session Retirement**: When starting a fresh chat for a finished clean session, pass `create_new_session=True`, `retire_session=True`, and the prior `session_identifier` so Nexus Server writes `RETIRED.json` automatically.