leopu00/job-hunter-team/check-usage-tui
Claude Code and agent skill by leopu00/job-hunter-team
- community
Checking that the SKILL.md file is still in the repository.
Check provider usage via TUI worker (~30s, costs CLI tokens). FALLBACK when `check-usage-http` returns RATE_LIMIT or fails. Spawns an ephemeral tmux session, runs `/usage` (or `/status` for Codex), parses the modal, kills the session.
Install
npx vskill@latest install leopu00/job-hunter-team/check-usage-tuiSKILL.md
The same SKILL.md was published earlier as leopu00/job-hunter-team/check-usage-tui.
Skill — Check usage via TUI worker (robusto, ~30s, costoso in token)
QUANDO USARLA
Solo come L2 dopo che L1 (HTTP) ha fallito. È robusta perché bypassa il rate-limit Anthropic (legge dal CLI locale), ma costa:
- ~30s di tempo (spawn worker + boot CLI + render modal)
- alcuni token Claude (apertura sessione + /usage)
- rischio di TUI in stato anomalo (Loading, scaduto, etc.)
Ordine di fallback: HTTP → TUI → FATAL.
Workflow
Step 1 — Provider attivo
Step 2 — Spawn sessione tmux EFFIMERA
Nome unico col timestamp (no collisione):
Step 3 — Lancia il CLI provider
| Provider | Comando | |
|---|---|---|
claude / anthropic | claude --dangerously-skip-permissions | |
kimi / moonshot | kimi --yolo | |
codex / openai | codex --yolo |
Step 4 — Slash command
| Provider | Slash command | |
|---|---|---|
claude / anthropic | /usage | |
kimi / moonshot | /usage | |
codex / openai | /status (NON /usage!) |
⚠️ NIENTE Esc preventivo prima del slash command: rompe Kimi (interpreta /usage come testo) e per gli altri è inutile in sessione fresh.
Step 5 — Capture pane
Leggi il pane coi tuoi occhi LLM, estrai usage, reset, weekly.
Format Claude
→ usage=45, reset=20:10 UTC, weekly=25
Format Kimi
→ usage=100-100=0, weekly=100-60=40 → reset_at: ora_UTC + 3h 27m → calcola HH:MM UTC
Format Codex
→ usage=100-35=65, weekly=100-88=12, reset=18:10
⚠️ Codex riporta "% left", non % used: sottrai da 100.
Step 6 — KILL sessione SUBITO
⚠️ Killa SEMPRE anche se il parse fallisce. Niente sessioni persistenti.
Step 7 — Scrivi sample nel JSONL
Step 8 — Procedi con la decisione
Hai ora il sample fresco con proj/status calcolati da compute_metrics. Aggiorna memoria (vedi skill memory-state) e decidi ordine al Capitano (vedi skill order-formats).
Troubleshooting
Pane vuoto / nessuna modal
- CLI non ancora ready → attendi altri 8s e ricaptura.
- Trust dialog ancora aperto → invia
Enter(NONEscape: cancella e ti butta in bash).
Loading usage data… infinito (Claude)
TUI bloccato. Kill+respawn la sessione e riprova; se persiste cadi su L3 (FATAL).
Unrecognized command (codex)
Hai mandato /usage su codex. Manda /status e basta.
CLI morto / pane in bash
Kill la sessione e respawna.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingagents/sentinella/_skills/check-usage-tui/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/leopu00/job-hunter-team/check-usage-tui)