skills-telemetry
Use when the user asks about recent activity, failures, build history, or wants to query telemetry events. Calls MCP telemetry tools directly — no Task subagent needed. $ARGUMENTS can be: summary, failures, or an event type filter string.
- License 许可
- AGPL-3.0
- 最近更新
- 2026-11-13
- Stars
- ★ 1
- Forks
- 1
01 前言 Front Matter
- name
- skills-telemetry
- verbosity
- silent
- description
- Use when the user asks about recent activity, failures, build history, or wants to query telemetry events. Calls MCP telemetry tools directly — no Task subagent needed. $ARGUMENTS can be: summary, failures, or an event type filter string.
- user-invocable
- true
- disable-model-invocation
- false
03 SKILL.md 正文
Telemetry Skill
This skill queries rks telemetry directly via MCP tools. No Governor or Task subagent is launched.
Purpose
Provides fast access to:
- Recent build and ship activity across projects
- Failure diagnostics and error summaries
- Filtered event queries by type
Instructions
Call MCP tools directly based on $ARGUMENTS:
-
No arguments or "summary": mcp__rks__rks_telemetry_report({ projectId: 'routekit-shell', reportType: 'summary' })
-
"failures": mcp__rks__rks_telemetry_report({ projectId: 'routekit-shell', reportType: 'failures' })
-
Any other string (treated as event type filter): mcp__rks__rks_telemetry_query({ projectId: 'routekit-shell', type: '$ARGUMENTS' })
Works for any registered project — replace the projectId above with the target projectId if the user specifies a different project (e.g. uat-agents-1).
If the projectId above is still an unsubstituted template token, resolve it from the projectId declared at the top of CLAUDE.md.
Cost Summary
After running the main telemetry query, call rks_token_cost_report and append a Cost Summary section:
mcp__rks__rks_token_cost_report({ projectId: '<projectId>', scope: 'story', format: 'json' })
Format the result as:
Token Cost & Efficiency
- Total tokens:
rawCost(formatted with toLocaleString) - Waste ratio:
wasteRatioas percentage, with health band (🟢 green / 🟡 yellow / 🔴 red) - Cache ratio:
cacheRatioas percentage - Phase summary:
phaseSummary(e.g. "plan x2 ok | exec x3 (1 failed)")
If noData: true, show: "No token data available for this scope."
If apiNoData: true (the scope has only subscription-billed token events, so healthBand is n/a), show the waste ratio and the cache ratio as "n/a (no API-billed token events)" instead of percentages, with no green/yellow/red band.
If a subscription block is present, add: "Subscription (claude -p): subscription.calls calls, ~$subscription.estimatedApiEquivalentCost API-equivalent (not API spend)".
04 同仓库更多 Skills
doctor
Run `routekit doctor` against the invoking shell's child-project ecosystem and surface per-child outcomes. Default mode is detect + auto-fix across all registered children. Pass `--dry-run` to inspect the fix plan without mutating anything. Non-recoverable findings (pinned-but-drifted children) are reported but not repaired.
skills-telemetry-export
Use when the user wants to EXPORT/SHARE a project's telemetry — e.g. for a UAT report or to attach to a GitHub issue. Produces a redacted .json + .md bundle via an MCP tool; no Task subagent or Governor is launched. $ARGUMENTS may be a storyId to scope the export.
skills-ship
Use when the user wants to commit and ship uncommitted changes. Accepts an optional commit message as $ARGUMENTS. Launches the Ship Governor via Task subagent. Handles both 2-branch (push → PR → merge) and 3-branch (local merge, no PR) workflows automatically based on project config.
skills-rks-welcome
Alias for /rks-onboard — same guided first-run tour through rks stories, permissions, cost, and first PR.
skills-rks-onboard
Run the rks onboarder — guided first-run tour through stories, permissions, cost, and first PR. Resumes from last completed stage if a session exists. Use when the user types /rks-onboard or asks to start onboarding.
skills-research
Use when the user wants to design, research, or document something — OR asks a question about the codebase, backlog, or how anything in this project works. This is the ONLY way to answer questions about rks internals. Do NOT answer from memory or call MCP tools directly — always use this skill. Questions get a direct answer. Everything else produces a report in notes/.