aka-tokens

aka-tokens is a skill for Claude Code, Codex from akasecurity/ai-tc. It costs 17 tokens per session (259 once invoked), scanned A, original, Apache-2.0.

A local usage report showing how many AI tokens were used and the estimated cost for each provider and model. Tokens are the units used to measure text sent to and returned by an AI model.

In plain words
What is it for?
Use it to check model-by-model token totals and estimated spending.
Why use it?
It gives you one place to review usage and known costs from your local records. Costs may be unavailable for some models or gateways.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to check model-by-model token totals and estimated spending.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/akasecurity/ai-tc/tokens
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add akasecurity/ai-tc --skill tokens
Clone the repo
git clone --depth 1 https://github.com/akasecurity/ai-tc

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for aka-tokens

README.md
[![agentmods](https://agentmods.dev/badge/skills/akasecurity/ai-tc/tokens/github.svg)](https://agentmods.dev/skills/akasecurity/ai-tc/tokens)
Your own site
<a href="https://agentmods.dev/skills/akasecurity/ai-tc/tokens"><img src="https://agentmods.dev/badge/skills/akasecurity/ai-tc/tokens/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for aka-tokens

Your own site · 80×15
<a href="https://agentmods.dev/skills/akasecurity/ai-tc/tokens"><img src="https://agentmods.dev/badge/skills/akasecurity/ai-tc/tokens.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 259 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00017 $0.00259
Opus 5 $0.00009 $0.00130
Sonnet 5 $0.00003 $0.00052
Haiku 4.5 $0.00002 $0.00026

Measured 10d ago against content hash a2450e0afa24, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

aka-tokens scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/antigravity/skills/tokens/SKILL.md · 25 lines

What it actually says

AKA tokens

Run the read script and show the user its output exactly as printed. The script already prints its content inside a Markdown code fence — reproduce that verbatim and do not add another code fence, strip the fence, or reformat it. The fence is required: it is space-aligned monospace (a per-model usage table) that Markdown would otherwise collapse. Do not reformat or summarize the table; you may add at most one short sentence of context after it.

node "${PLUGIN_ROOT}/scripts/query.js" tokens

This reads the local store at ~/.aka/data/aka.db (token counts reconciled from your Antigravity CLI rollout files, grouped by provider/model, with estimated USD cost). It is read-only. Token counts are exact; cost is derived at read time — a means unknown pricing (a local or non-OpenAI model/gateway), so a total is a lower bound, not an understatement. If the store is empty, the script says so — relay that as-is; nothing is wrong.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 25 lines · 17 tokens per session scan A a2450e0afa24

Subscribe to this mod's changes

aka-tokens is a skill published in the GitHub repository akasecurity/ai-tc (11 stars, last pushed today), licensed Apache-2.0. It adds 17 tokens to every session and 259 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

meta-tags-optimizer

Optimize title tags, meta descriptions, Open Graph, and Twitter cards for maximum click-through rate. Generates multiple A/B test variations with character counting and SERP preview. Use when asked to "optimize title tag", "write meta description", "improve CTR", "Open Graph tags", "fix my meta tags", "social media…

nowork-studio/notfair-plugin · 91 tokens

content-planner

GSC-driven content calendar. Pulls real Search Console data, finds the highest click-potential opportunities (striking-distance queries at positions 5-20, unanswered query intent, related-keyword expansions), and produces a dated, prioritized content calendar — ready to hand to /content-writer. Use when the user asks…

nowork-studio/notfair-plugin · 123 tokens

setup-cms

Connect a CMS to notfair SEO tools. Guides users through configuring WordPress, Strapi, Contentful, or Ghost — tests the connection, and writes credentials to .env.local. Once set up, seo-analysis automatically cross- references CMS content against Google Search Console data. Use whenever the user says "connect my…

nowork-studio/notfair-plugin · 111 tokens

broken-link-checker

Scans a website to find broken links (404s, 500s). Crawls internal pages, identifies broken outbound links, and reports source pages for easy fixing. Use this when the user asks to "check for broken links", "find 404s", "audit my links", or "is my site healthy".

nowork-studio/notfair-plugin · 72 tokens

google-ads-audit

Google Ads account audit and business context setup. Run this first — it gathers business information, analyzes account health, and saves context that all other ads skills reuse. Trigger on "audit my ads", "ads audit", "set up my ads", "onboard", "account overview", "how's my account", "ads health check", "what should…

nowork-studio/notfair-plugin · 114 tokens

google-ads-copy

Generate and A/B test Google Ads copy. Use when asked to write ad copy, headlines, descriptions, create ad variants, test ad messaging, improve CTR, or generate RSA (Responsive Search Ad) components. Trigger on "ad copy", "write ads", "headlines", "descriptions", "RSA", "responsive search ad", "ad text", "ad…

nowork-studio/notfair-plugin · 121 tokens