Cost Tracking
affaan-m/ECC
Track and report Claude Code token usage, spending, and budgets from the local ECC cost-tracker metrics log.
Use CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown.
$ npx skills add trpc-group/trpc-agent-go --skill model-usage -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install trpc-group/trpc-agent-go model-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/trpc-group/trpc-agent-go.git skills-src && mkdir -p .claude/skills && cp -r skills-src/openclaw/skills/model-usage .claude/skills/model-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 "model-usage" agent skill from https://github.com/trpc-group/trpc-agent-go/tree/main/openclaw/skills/model-usage into .claude/skills/model-usage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "model-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/trpc-group/trpc-agent-go/tree/main/openclaw/skills/model-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 trpc-group/trpc-agent-go --skill model-usage -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install trpc-group/trpc-agent-go model-usage --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trpc-group/trpc-agent-go.git skills-src && mkdir -p .agents/skills && cp -r skills-src/openclaw/skills/model-usage .agents/skills/model-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 "model-usage" agent skill from https://github.com/trpc-group/trpc-agent-go/tree/main/openclaw/skills/model-usage into .agents/skills/model-usage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "model-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 trpc-group/trpc-agent-go --skill model-usage -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install trpc-group/trpc-agent-go model-usage --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trpc-group/trpc-agent-go.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/openclaw/skills/model-usage .cursor/skills/model-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 "model-usage" agent skill from https://github.com/trpc-group/trpc-agent-go/tree/main/openclaw/skills/model-usage into .cursor/skills/model-usage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "model-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/trpc-group/trpc-agent-go.git --path openclaw/skills/model-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 trpc-group/trpc-agent-go --skill model-usage -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install trpc-group/trpc-agent-go model-usage --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trpc-group/trpc-agent-go.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/openclaw/skills/model-usage .gemini/skills/model-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 "model-usage" agent skill from https://github.com/trpc-group/trpc-agent-go/tree/main/openclaw/skills/model-usage into .gemini/skills/model-usage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "model-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 trpc-group/trpc-agent-go model-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 trpc-group/trpc-agent-go --skill model-usage -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/trpc-group/trpc-agent-go.git skills-src && mkdir -p .github/skills && cp -r skills-src/openclaw/skills/model-usage .github/skills/model-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 "model-usage" agent skill from https://github.com/trpc-group/trpc-agent-go/tree/main/openclaw/skills/model-usage into .github/skills/model-usage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "model-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 trpc-group/trpc-agent-go --skill model-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 trpc-group/trpc-agent-go model-usage --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trpc-group/trpc-agent-go.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/openclaw/skills/model-usage .opencode/skills/model-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 "model-usage" agent skill from https://github.com/trpc-group/trpc-agent-go/tree/main/openclaw/skills/model-usage into .opencode/skills/model-usage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "model-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.
model-usageUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown.
Model Usage is an agent skill from trpc-group/trpc-agent-go. Use CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
Its SKILL.md is about 560 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts and reference files (for example `references/codexbar-cli.md` and `scripts/model_usage.py`).
The repository describes itself as: A Go framework for building production agent systems with graph workflows, tools, memory, A2A, AG-UI, MCP, evaluation, and observability. The licence is Apache-2.0.
2 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 9bb1c42. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
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:
pythonFrom 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.
Model Usage loads about 563 tokens when it runs, and up to ~843 if it reads all its reference files. Until then it costs about 76 tokens; SKILL.md has 152 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 trpc-group/trpc-agent-go at commit 9bb1c42, republished under its Apache-2.0 licence (© trpc-group). 152 words, ~563 tokens.
.claude/skills/model-usage/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.Get per-model usage cost from CodexBar's local cost logs. Supports "current model" (most recent daily entry) or "all models" summaries for Codex or Claude.
TODO: add Linux CLI support guidance once CodexBar CLI install path is documented for Linux.
python {baseDir}/scripts/model_usage.py --provider codex --mode current
python {baseDir}/scripts/model_usage.py --provider codex --mode all
python {baseDir}/scripts/model_usage.py --provider claude --mode all --format json --prettymodelBreakdowns.modelsUsed when breakdowns are missing.--model <name> when you need a specific model.codexbar cost --format json --provider <codex|claude>.codexbar cost --provider codex --format json > /tmp/cost.json
python {baseDir}/scripts/model_usage.py --input /tmp/cost.json --mode all
cat /tmp/cost.json | python {baseDir}/scripts/model_usage.py --input - --mode current--format json --pretty).references/codexbar-cli.md for CLI flags and cost JSON fields.© trpc-group, 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 2 other files (scripts, references) in openclaw/skills/model-usage of trpc-group/trpc-agent-go.
Open the folder on GitHubat commit 9bb1c42
We found 41 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 17 other GitHub owners. This page covers the copy in trpc-group/trpc-agent-go, which our catalogue first saw on October 7, 2026.
Model 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 |
|---|---|---|---|---|---|---|
| Model Usage this skilltrpc-group/trpc-agent-go | 1.8k | 17 repos | ~563 | Automated safety check: Pass | Apache-2.0 | |
| Cost Trackingaffaan-m/ECC | 274k | 1 repos | ~1.3k | Automated safety check: Pass | MIT | |
| Cost Conversationruvnet/ruflo | 74k | — | ~407 | Automated safety check: Notes | MIT | |
| Cost Reportruvnet/ruflo | 74k | — | ~830 | Automated safety check: Notes | MIT | |
| Cost Optimizeruvnet/ruflo | 74k | — | ~997 | Automated safety check: Notes | MIT | |
| Cost Trackruvnet/ruflo | 74k | — | ~773 | Automated safety check: Notes | MIT |
affaan-m/ECC
Track and report Claude Code token usage, spending, and budgets from the local ECC cost-tracker metrics log.
ruvnet/ruflo
Per-conversation cost view — list every session in cost-tracking with started-at, message count, top model, and total cost
ruvnet/ruflo
Generate a cost report showing token usage and USD costs by agent and model
ruvnet/ruflo
Analyze token usage patterns and recommend cost optimizations with estimated savings
ruvnet/ruflo
Auto-capture per-session token usage from the Claude Code session jsonl and persist to the cost-tracking namespace
ruvnet/ruflo
Export cost-tracking telemetry in Prometheus textfile or webhook JSON formats — for external observability (Grafana, Datadog, custom dashboards)
trpc-group/trpc-agent-go
Set up and use 1Password CLI (op). An agent skill from trpc-group/trpc-agent-go.
trpc-group/trpc-agent-go
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
trpc-group/trpc-agent-go
Batch-generate images via OpenAI Images API. An agent skill from trpc-group/trpc-agent-go.
trpc-group/trpc-agent-go
GitHub operations via gh CLI: issues, PRs, CI runs, code review, API queries.
trpc-group/trpc-agent-go
Get current weather and forecasts via wttr.in or Open-Meteo.
trpc-group/trpc-agent-go
A skill your agent uses when you need to send or manage iMessages via BlueBubbles (recommended iMessage integration).
Use CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Model Usage is an agent skill from trpc-group/trpc-agent-go. Use CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown.
Model Usage fits situations like: asked for model-level usage/cost data from codexbar; you need a scriptable per-model summary from codexbar cost JSON.
Run `npx skills add trpc-group/trpc-agent-go --skill model-usage -a claude-code`. Or copy the skill folder (openclaw/skills/model-usage in trpc-group/trpc-agent-go) into .claude/skills/model-usage in your project. Claude Code loads it when a task matches its description.
Run `npx skills add trpc-group/trpc-agent-go --skill model-usage -a codex`. Or copy the skill folder (openclaw/skills/model-usage in trpc-group/trpc-agent-go) into .agents/skills/model-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 trpc-group/trpc-agent-go --skill model-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/model-usage, .gemini/skills/model-usage, .github/skills/model-usage and .opencode/skills/model-usage in your project.
Going by SKILL.md and its folder, Model Usage needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.
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.
Model 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 563 tokens (SKILL.md is roughly 2.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 280 tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Model Usage: Cost Tracking (affaan-m/ECC, 274k stars), Cost Conversation (ruvnet/ruflo, 74k stars), Cost Report (ruvnet/ruflo, 74k stars) and Cost Optimize (ruvnet/ruflo, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
trpc-group (a GitHub organization) maintains it in trpc-group/trpc-agent-go, which has 1,846 GitHub stars. The repository holds 47 skills in this directory. The repository was last updated on October 7, 2026.
Source: trpc-group/trpc-agent-go on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.