Agent skill

Openrouter Usage

by aAAaqwq in aAAaqwq/AGI-Super-Team

Track OpenRouter API spending — credit balance, per-model cost breakdown, and spending projections from OpenClaw session logs.

MITAuto-check passedAI & LLM Engineering

Install Openrouter Usage

skills CLI
$ npx skills add aAAaqwq/AGI-Super-Team --skill openrouter-usage -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aAAaqwq/AGI-Super-Team openrouter-usage --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aAAaqwq/AGI-Super-Team.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/openrouter-usage .claude/skills/openrouter-usage && rm -rf skills-src

Use ~/.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/

Facts

Skill name
openrouter-usage
GitHub stars
105
Used in
1 other repo
Token cost
~443 tokens
SKILL.md length
97 words
Files
5 (incl. scripts)
Skills in repo
161
Repo updated
First seen
Licence
MIT

At a glance

Track OpenRouter API spending — credit balance, per-model cost breakdown, and spending projections from OpenClaw session logs.

  • Tasks that involve Model routing and gateways
  • SKILL.md covers Trigger, Commands and Notes
  • Runs Shell and Python scripts from its folder; needs OPENROUTER_API_KEY

What it does

Openrouter Usage is an agent skill from aAAaqwq/AGI-Super-Team. Track OpenRouter API spending — credit balance, per-model cost breakdown, and spending projections from OpenClaw session logs.

Its SKILL.md is about 440 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including scripts (for example `README.md`, `install.sh` and `scripts/openrouter_usage.py`).

It sits in AI & LLM Engineering, covering Model routing and gateways. It works with OpenRouter. The repository describes itself as: An installable, cross-framework AI organization: C-suite agents, expert subagents, curated skills, independent review, and one-command setup across 18 AI client/runtime adapters. The licence is MIT.

When your agent uses it

  • Tasks that involve Model routing and gateways

Example prompts

  • “/openrouter-usage”

Requirements

  • Python 3
  • A Bash shell
  • A credential in OPENROUTER_API_KEY

What it can do on your machine

Read from SKILL.md and the folder at commit 331ecd3. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Ships 1 file in scripts/ (Shell and Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • OPENROUTER_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Openrouter Usage loads about 443 tokens when it runs. Until then it costs about 36 tokens; SKILL.md has 97 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~36
When it runs · the whole SKILL.md, loaded when a task matches
~443

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from aAAaqwq/AGI-Super-Team at commit 331ecd3, republished under its MIT licence (© aAAaqwq). 97 words, ~443 tokens.

Download SKILL.mdSave it as .claude/skills/openrouter-usage/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
openrouter-usage
description
Track OpenRouter API spending — credit balance, per-model cost breakdown, and spending projections from OpenClaw session logs.
author
Daniel Li

openrouter-usage

  • Author: Daniel Li
  • Copyright © Daniel Li. All rights reserved.

Track your OpenRouter spending directly from your OpenClaw agent. Shows credit balance, per-model cost/token breakdown, and spending projections.

Trigger

Use when the user asks about OpenRouter credits, costs, spending, balance, usage, billing, or the /usage command.

Commands

bash
openrouter-usage report              # credits + today's usage + projection
openrouter-usage report --week       # credits + last 7 days
openrouter-usage report --month      # credits + last 30 days
Credit balance only
bash
openrouter-usage credits
Per-model breakdown only
bash
openrouter-usage sessions --today
openrouter-usage sessions --week
openrouter-usage sessions --month
openrouter-usage sessions --date 2026-02-25
openrouter-usage sessions --from 2026-02-01 --to 2026-02-15
Filtering and output
bash
openrouter-usage report --agent main          # specific agent only
openrouter-usage report --format json         # JSON output
openrouter-usage sessions --today --utc       # use UTC instead of local timezone

Notes

  • API key auto-discovered from OpenClaw auth store or OPENROUTER_API_KEY env var.
  • Session parsing is fully local — reads ~/.openclaw/agents/*/sessions/*.jsonl.
  • Date filters use local timezone by default. Pass --utc to override.
  • Zero dependencies beyond Python 3 stdlib.

© aAAaqwq, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (scripts) in skills/openrouter-usage of aAAaqwq/AGI-Super-Team.

  • SKILL.md
  • LICENSE
  • README.md
  • install.sh
  • scripts/openrouter_usage.py

Open the folder on GitHubat commit 331ecd3

Used in 1 other repository

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in aAAaqwq/AGI-Super-Team, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Openrouter 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.

Openrouter Usage compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Openrouter Usage this skillaAAaqwq/AGI-Super-Team1051 repos~443Automated safety check: PassMIT
Add Modelget-convex/convex-evals129—~1.5kAutomated safety check: NotesApache-2.0
To Imgrtadewald/skills175—~673Automated safety check: NotesNone
Openrouterdavidondrej/skills4.1k—~1.3kAutomated safety check: PassMIT
Openrouter Text2musicQinghongLin/data2story-skill156—~618Automated safety check: PassMIT
Openrouter Text2musicQinghongLin/data2story-skill156—~407Automated safety check: PassMIT

Similar skills

  • Add Model

    get-convex/convex-evals

    Add a new model to the convex-evals coding leaderboard, and optionally the decision benchmark, through a PR, then dispatch its baseline runs.

    129 GitHub stars~1.5k tokensUpdated today
    AI & LLM EngineeringAuto-check: notes
  • To Img

    rtadewald/skills

    Gera imagens em paralelo via OpenRouter a partir de um pedido simples ou de um batch com prompts e filenames definidos.

    175 GitHub stars~673 tokensUpdated 8 days ago
    AI & LLM EngineeringAuto-check: notes
  • Openrouter

    davidondrej/skills

    Design, build, debug, and optimize OpenRouter API integrations.

    4.1k GitHub stars~1.3k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Openrouter Text2music

    QinghongLin/data2story-skill

    Generate atmospheric sound-design / SFX (NOT speech, NOT the front-of-blog BGM) via OpenRouter using Google Lyria 3 Pro.

    156 GitHub stars~618 tokensUpdated 3 mo ago
    AI & LLM EngineeringAuto-check passed
  • Openrouter Text2music

    QinghongLin/data2story-skill

    Generate music (NOT speech) via OpenRouter using Google Lyria 3 Pro.

    156 GitHub stars~407 tokensUpdated 3 mo ago
    AI & LLM EngineeringAuto-check passed
  • Pi Custom Model

    sickn33/agentic-awesome-skills

    Register custom Pi Agent model slugs so saved OpenRouter variants resolve correctly.

    47k GitHub starsUsed in 1 repo~1.1k tokens
    AI & LLM EngineeringAuto-check passed

More from aAAaqwq/AGI-Super-Team

All 161 skills in this repo
  • Content Creator

    aAAaqwq/AGI-Super-Team

    Create SEO-optimized marketing content with consistent brand voice.

    105 GitHub starsUsed in 3 repos~1.9k tokens
    Auto-check passed
  • Financial Calculator

    aAAaqwq/AGI-Super-Team

    Advanced financial calculator with future value tables, present value, discount calculations, markup pricing, and compound interest.

    105 GitHub starsUsed in 1 repo~1.5k tokens
    Auto-check passed
  • Performing Security Code Review

    aAAaqwq/AGI-Super-Team

    This skill provides automated assistance for security agent tasks Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    105 GitHub starsUsed in 1 repo~920 tokens
    Auto-check passed
  • Frontend Design Ultimate

    aAAaqwq/AGI-Super-Team

    Create distinctive, production-grade static sites with React, Tailwind CSS, and shadcn/ui — no mockups needed.

    105 GitHub starsUsed in 2 repos~2.7k tokens
    Auto-check passed
  • Sysadmin Toolbox

    aAAaqwq/AGI-Super-Team

    Tool discovery and shell one-liner reference for sysadmin, DevOps, and security tasks.

    105 GitHub starsUsed in 2 repos~775 tokens
    Auto-check passed
  • Zsxq Smart Publish

    aAAaqwq/AGI-Super-Team

    Publish and manage content on 知识星球 (zsxq.com). An agent skill from aAAaqwq/AGI-Super-Team.

    105 GitHub stars~1.5k tokensUpdated 10 days ago
    Auto-check passed

Works with

Questions about Openrouter Usage

What does Openrouter Usage do?

Track OpenRouter API spending — credit balance, per-model cost breakdown, and spending projections from OpenClaw session logs. Openrouter Usage is an agent skill from aAAaqwq/AGI-Super-Team. Track OpenRouter API spending — credit balance, per-model cost breakdown, and spending projections from OpenClaw session logs.

When should I use Openrouter Usage?

Openrouter Usage fits situations like: tasks that involve Model routing and gateways.

How do I install Openrouter Usage in Claude Code?

Run `npx skills add aAAaqwq/AGI-Super-Team --skill openrouter-usage -a claude-code`. Or copy the skill folder (skills/openrouter-usage in aAAaqwq/AGI-Super-Team) into .claude/skills/openrouter-usage in your project. Claude Code loads it when a task matches its description.

How do I install Openrouter Usage in Codex?

Run `npx skills add aAAaqwq/AGI-Super-Team --skill openrouter-usage -a codex`. Or copy the skill folder (skills/openrouter-usage in aAAaqwq/AGI-Super-Team) into .agents/skills/openrouter-usage in your project. Codex loads it when a task matches its description.

Can I use Openrouter Usage in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aAAaqwq/AGI-Super-Team --skill openrouter-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/openrouter-usage, .gemini/skills/openrouter-usage, .github/skills/openrouter-usage and .opencode/skills/openrouter-usage in your project.

What does Openrouter Usage need to run?

Going by SKILL.md and its folder, Openrouter Usage needs a shell and Python for the scripts in its folder and credentials named OPENROUTER_API_KEY. Our summary lists: Python 3; A Bash shell; A credential in OPENROUTER_API_KEY.

Does Openrouter Usage access the network?

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.

Is Openrouter Usage safe to install?

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.

What licence does Openrouter Usage use?

Openrouter Usage is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Openrouter Usage use?

About 443 tokens (SKILL.md is roughly 1.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Openrouter Usage?

Skills that share tags, products or a category with Openrouter Usage: Add Model (get-convex/convex-evals, 129 stars), To Img (rtadewald/skills, 175 stars), Openrouter (davidondrej/skills, 4.1k stars) and Openrouter Text2music (QinghongLin/data2story-skill, 156 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Openrouter Usage?

aAAaqwq (a GitHub user) maintains it in aAAaqwq/AGI-Super-Team, which has 105 GitHub stars. The repository holds 161 skills in this directory. The repository was last updated on September 27, 2026.

Source: aAAaqwq/AGI-Super-Team on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.