一键导入
chanakya-usage
Use when checking token burn, usage cost, or run history for chanakya agent runs
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when checking token burn, usage cost, or run history for chanakya agent runs
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | chanakya-usage |
| description | Use when checking token burn, usage cost, or run history for chanakya agent runs |
When this skill is invoked, immediately run these commands and display the real output. Do not show documentation — show live data.
npx chanakya status
Display the output. If "No runs found" → stop, tell user no runs yet.
For each run ID from status output that has agent_started events (coordinator runs, not orchestrator):
npx chanakya tokens <run-id>
Display each output inline.
After showing all runs, output a summary:
--- Summary ---
Runs shown: N
Total in: X tokens
Total out: Y tokens
Total cached: Z tokens
Estimated cost (USD):
gemini: $X.XX
claude-code: $X.XX
Cost rates:
chanakya run: orchestrator (no LLM tokens) + coordinator (real work). Show both but flag which is which.chanakya usage aggregate command = Phase 19, not yet impl'd. This skill is the interim.Enforces lean harness discipline — orchestrator session delegates ALL implementation to sub-agents via chanakya run, never touches files or debugs inline
Update handover.md with current session state and optionally exit for a fresh session
DEPRECATED — session setup now handled by CLAUDE.md (chanakya harness) + SessionStart hook (ag preflight). No skill invocation needed.