work-stats
Show token usage statistics across sessions. Use when you want to understand resource consumption or usage patterns.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Show token usage statistics across sessions. Use when you want to understand resource consumption or usage patterns.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Scan for new project repos and add them to the Manager's project index. Use when you want to discover repos that aren't yet tracked.
Send a message/command to a specific session by ID. This skill is for the Manager session inside Workstation app. If you are in a standalone agent session, suggest the user open the Workstation app and use this skill from the Manager terminal.
Auto-route a message to the best matching session based on repo name, task ID, or context. This skill is for the Manager session inside Workstation app. If you are in a standalone agent session, suggest the user open the Workstation app and use this skill from the Manager terminal.
Save current work state to persistent checkpoint. Use frequently to track progress, especially after completing steps or before taking breaks.
Resume a task using fuzzy matching across all repos. Use when user wants to continue previous work, says "resume", "continue", or references a past task.
List all active sessions in the Workstation. This skill is for the Manager session inside Workstation app. If you are in a standalone agent session, suggest the user open the Workstation app and use this skill from the Manager terminal.
| name | work-stats |
| description | Show token usage statistics across sessions. Use when you want to understand resource consumption or usage patterns. |
| arguments |
Show token usage statistics across sessions.
--project <name> - Filter to specific project--today - Only sessions from today--week - Only sessions from past 7 days# List all session usage files
ls ~/.varie/sessions/*/usage.json 2>/dev/null
For each usage.json file:
cat ~/.varie/sessions/<session_id>/usage.json
Extract and sum:
tokens.total_inputtokens.total_outputtokens.cache_readtokens.cache_creation## Token Usage Statistics
> **Note:** Token counts are estimates based on status line data and may not match actual billing.
### Overall
| Metric | Value |
|--------|-------|
| Total Sessions | 12 |
| Input Tokens | 2.5M |
| Output Tokens | 450K |
| Cache Read | 1.8M |
| Cache Creation | 120K |
### By Initial Directory (Top 5)
| Directory | Sessions | Input | Output |
|-----------|----------|-------|--------|
| react | 5 | 1.2M | 200K |
| next.js | 3 | 800K | 150K |
| express | 2 | 300K | 80K |
### Recent Sessions
| Session | Started | Context % | Input | Output |
|---------|---------|-----------|-------|--------|
| abc123 | 2h ago | 42% | 150K | 45K |
| def456 | 5h ago | 78% | 280K | 92K |
/work-stats --project react
Shows only sessions where initial_cwd contains "react".
/work-stats --today
Filters to sessions where started_at is today.
/work-stats --week
Filters to sessions from the past 7 days.
## Token Usage Statistics
No usage data found.
Usage tracking requires the status line to be configured.
See: https://github.com/varie-ai/varie-workstation#status-line-setup
statusline-context script~/.varie/sessions/<id>/usage.json