Analyze Io Traces
moeru-ai/airi
Read and analyze AIRI IO traces that Tamagotchi saved to local files.
Analyzes Claude Code session traces (JSONL) and draft task files to report token usage per task.
$ npx skills add platonai/Browser4 --skill task-token-usage -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install platonai/Browser4 task-token-usage --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/platonai/Browser4.git skills-src && mkdir -p .claude/skills && cp -r skills-src/coworker/skills/task-token-usage .claude/skills/task-token-usage && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "task-token-usage" agent skill from https://github.com/platonai/Browser4/tree/main/coworker/skills/task-token-usage into .claude/skills/task-token-usage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "task-token-usage", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/platonai/Browser4/tree/main/coworker/skills/task-token-usageType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add platonai/Browser4 --skill task-token-usage -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install platonai/Browser4 task-token-usage --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/platonai/Browser4.git skills-src && mkdir -p .agents/skills && cp -r skills-src/coworker/skills/task-token-usage .agents/skills/task-token-usage && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "task-token-usage" agent skill from https://github.com/platonai/Browser4/tree/main/coworker/skills/task-token-usage into .agents/skills/task-token-usage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "task-token-usage", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add platonai/Browser4 --skill task-token-usage -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install platonai/Browser4 task-token-usage --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/platonai/Browser4.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/coworker/skills/task-token-usage .cursor/skills/task-token-usage && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "task-token-usage" agent skill from https://github.com/platonai/Browser4/tree/main/coworker/skills/task-token-usage into .cursor/skills/task-token-usage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "task-token-usage", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/platonai/Browser4.git --path coworker/skills/task-token-usage--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add platonai/Browser4 --skill task-token-usage -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install platonai/Browser4 task-token-usage --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/platonai/Browser4.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/coworker/skills/task-token-usage .gemini/skills/task-token-usage && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "task-token-usage" agent skill from https://github.com/platonai/Browser4/tree/main/coworker/skills/task-token-usage into .gemini/skills/task-token-usage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "task-token-usage", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install platonai/Browser4 task-token-usageInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add platonai/Browser4 --skill task-token-usage -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/platonai/Browser4.git skills-src && mkdir -p .github/skills && cp -r skills-src/coworker/skills/task-token-usage .github/skills/task-token-usage && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "task-token-usage" agent skill from https://github.com/platonai/Browser4/tree/main/coworker/skills/task-token-usage into .github/skills/task-token-usage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "task-token-usage", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add platonai/Browser4 --skill task-token-usage -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install platonai/Browser4 task-token-usage --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/platonai/Browser4.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/coworker/skills/task-token-usage .opencode/skills/task-token-usage && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "task-token-usage" agent skill from https://github.com/platonai/Browser4/tree/main/coworker/skills/task-token-usage into .opencode/skills/task-token-usage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "task-token-usage", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
task-token-usageAnalyzes Claude Code session traces (JSONL) and draft task files to report token usage per task.
Task Token Usage is an agent skill from platonai/Browser4. Analyzes Claude Code session traces (JSONL) and draft task files to report token usage per task. Use when asked about token usage, session costs, or task efficiency metrics.
Its SKILL.md is about 700 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/list-tasks.py`).
The repository describes itself as: Browser4 — an AI-native browser engine for autonomous agents, intelligent extraction, and large-scale web automation. The licence is Apache-2.0.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 0fdba82. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
Bash(python3:*)From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
python3From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Task Token Usage loads about 701 tokens when it runs. Until then it costs about 48 tokens; SKILL.md has 257 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from platonai/Browser4 at commit 0fdba82, republished under its Apache-2.0 licence (© platonai). 257 words, ~701 tokens.
.claude/skills/task-token-usage/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Analyzes Claude Code conversation traces to report token consumption per task.
~/.claude/projects/<project>/ for JSONL session tracesinput_tokens, output_tokens, cache_read_input_tokens from each assistant messagecoworker/tasks/issues/draft/Run the bundled script:
python3 coworker/skills/task-token-usage/scripts/list-tasks.py [OPTIONS]| Flag | Description |
|---|---|
--recent N | Only show sessions from last N hours (default: 24) |
-d, --detail | Per-session breakdown instead of grouped summary |
-a, --all | Show all sessions (no time filter) |
# Summary of last 12 hours
python3 coworker/skills/task-token-usage/scripts/list-tasks.py --recent 12
# Detailed per-session view for all time
python3 coworker/skills/task-token-usage/scripts/list-tasks.py --all --detail
# Default: last 24 hours, grouped summary
python3 coworker/skills/task-token-usage/scripts/list-tasks.py| Column | Description |
|---|---|
| Task | Task name (matched from draft files or first step description) |
| Runs | Number of evaluation sessions for this task |
| In Tok | Total input tokens across all runs |
| Out Tok | Total output tokens across all runs |
| Cache | Total cache-read + cache-creation tokens |
| TOTAL | Sum of all tokens |
| Avg/run | Average total tokens per run |
| Column | Description |
|---|---|
| Time | When the session ended |
| Task | Matched task name |
| In | Input tokens |
| Out | Output tokens |
| CacheR | Cache-read tokens |
| TOTAL | Total tokens |
| Model | AI model used |
The script does not compute cost, but you can estimate:
| Model | Input (per 1M) | Output (per 1M) | Cached (per 1M) |
|---|---|---|---|
| claude-sonnet-4.6 | $3.00 | $15.00 | $0.30 |
| claude-opus-4 | $15.00 | $75.00 | $1.50 |
| claude-haiku-4.5 | $1.00 | $5.00 | $0.10 |
Cache tokens account for ~96% of total usage in typical evaluation sessions.
© platonai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (scripts) in coworker/skills/task-token-usage of platonai/Browser4.
Open the folder on GitHubat commit 0fdba82
Task Token Usage next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Task Token Usage this skillplatonai/Browser4 | 1.2k | — | ~701 | Automated safety check: Pass | Apache-2.0 | |
| Analyze Io Tracesmoeru-ai/airi | 50k | — | ~542 | Automated safety check: Pass | MIT | |
| Analyze Performance Tracestutti-os/tutti | 3.8k | — | ~3.3k | Automated safety check: Pass | Apache-2.0 | |
| Cache Trace Analyzerben-manes/caffeine | 18k | — | ~702 | Automated safety check: Notes | Apache-2.0 | |
| Analyze Perfetto TraceZacSweers/metro | 1.4k | — | ~2.7k | Automated safety check: Pass | Apache-2.0 | |
| Observe Traceruvnet/ruflo | 74k | — | ~522 | Automated safety check: Notes | MIT |
moeru-ai/airi
Read and analyze AIRI IO traces that Tamagotchi saved to local files.
tutti-os/tutti
Analyze Chrome, Chromium, Electron, React DevTools, or Perfetto-compatible JSON traces and audit user-reported profiling findings without loading large artifacts into context; prove…
ben-manes/caffeine
Analyzes a cache trace file for the Caffeine simulator, characterizes its access pattern and recommends which eviction policies to compare.
ZacSweers/metro
Query and analyze Metro's perfetto compiler traces to find real hot spots and untraced time.
ruvnet/ruflo
Trace agent execution by collecting spans and building a trace tree for a task
ruvnet/ruflo
Agent skill for code-analyzer - invoke with $agent-code-analyzer
platonai/Browser4
Validates data against common and custom rules (required fields, formats, ranges).
platonai/Browser4
Automatically fills web forms using provided field data and can optionally submit the form.
platonai/Browser4
Extracts data from web pages using browser automation and CSS/JavaScript selectors.
platonai/Browser4
Lists, pairs, deduplicates, and moves task files across the Coworker task state machine (0draft → 6git-pushed).
platonai/Browser4
Fetches current weather conditions and a 7-day forecast for a requested location using Open-Meteo geocoding and forecast APIs.
platonai/Browser4
Guides the creation of Browser4 plugins from requirements gathering through deployment.
Analyzes Claude Code session traces (JSONL) and draft task files to report token usage per task. Task Token Usage is an agent skill from platonai/Browser4. Analyzes Claude Code session traces (JSONL) and draft task files to report token usage per task.
Task Token Usage fits situations like: asked about token usage; task efficiency metrics.
Run `npx skills add platonai/Browser4 --skill task-token-usage -a claude-code`. Or copy the skill folder (coworker/skills/task-token-usage in platonai/Browser4) into .claude/skills/task-token-usage in your project. Claude Code loads it when a task matches its description.
Run `npx skills add platonai/Browser4 --skill task-token-usage -a codex`. Or copy the skill folder (coworker/skills/task-token-usage in platonai/Browser4) into .agents/skills/task-token-usage in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add platonai/Browser4 --skill task-token-usage -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/task-token-usage, .gemini/skills/task-token-usage, .github/skills/task-token-usage and .opencode/skills/task-token-usage in your project.
Going by SKILL.md and its folder, Task Token Usage needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Bash(python3:*).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Task Token Usage is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 701 tokens (SKILL.md is roughly 2.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Task Token Usage: Analyze Io Traces (moeru-ai/airi, 50k stars), Analyze Performance Traces (tutti-os/tutti, 3.8k stars), Cache Trace Analyzer (ben-manes/caffeine, 18k stars) and Analyze Perfetto Trace (ZacSweers/metro, 1.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
platonai (a GitHub user) maintains it in platonai/Browser4, which has 1,152 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 7, 2026.
Source: platonai/Browser4 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.