Skill: 0x5446/ohmytoken (version 2.0.3)

# ohmytoken **Your AI spending, visualized as pixel art. In real-time.** Ever wondered where all your tokens go? ohmytoken turns your invisible LLM spending into a mesmerizing pixel bead board that fills up as you chat, code, and create with AI. ![ohmytoken dashboard](https://ohmytoken.dev/preview.png) ## Why You'll Love It **It's weirdly addictive.** Each model gets its own color — Claude is coral, GPT is green, Gemini is blue. Watch your board fill up in spiral patterns, rain down like Tetris, or bloom from the center. Pick a cat-shaped board, a heart, a Mario mushroom, or a star. Your token art is unique to you. **It's social.** Share your board as a pixel art card with a QR code. See how you rank against other developers. Unlock achievements like "Night Owl" (coding at 2AM) or "Millionaire" (1M tokens burned). Browse the gallery of everyone's boards. ## Setup: 3 Steps, 2 Minutes ### Step 1: Get Your API Key 1. Go to [ohmytoken.dev](https://ohmytoken.dev) 2. Click **"GITHUB"** or **"GOOGLE"** to sign in (one click, no passwords) 3. You'll see a **Welcome** screen with your API Key — it looks like `omt_f9c399...` 4. Click **COPY** to copy it ### Step 2: Install the Skill Run this in your terminal: ```bash openclaw skill install @0x5446/ohmytoken ``` ### Step 3: Add Your API Key Set the environment variable (recommended — won't leak via git): ```bash export OHMYTOKEN_API_KEY="omt_paste_your_key_here" ``` Add this to your `~/.zshrc` or `~/.bashrc`, then `source ~/.zshrc`. **Done!** Open [ohmytoken.dev](https://ohmytoken.dev) and watch the beads drop as you use AI. ## Privacy & Security **We only collect token counts. Nothing else.** | What we send | What we NEVER send | |-------------|-------------------| | Model name (e.g. "gpt-4o") | Your prompts | | Prompt token count (integer) | Your responses | | Completion token count (integer) | Your API keys to providers | | | Your files, code, or data | | | Any conversation content | The tracker sends exactly **3 fields per request**: `model`, `prompt_tokens`, `completion_tokens`. That's it. Your prompts, responses, files, and code **never leave your machine**. **Note**: Like any HTTP request, your IP address is visible to the server during the connection. We do not log or store IP addresses. The `OHMYTOKEN_API_KEY` environment variable is the recommended way to configure your key — it stays out of version control and won't leak. The source code is fully open: [github.com/0x5446/ohmytoken-oss](https://github.com/0x5446/ohmytoken-oss) — audit it yourself. ## What You Get - **Real-time bead board** — tokens appear as colored pixels the moment you use them - **7 board shapes** — square, cat, heart, star, circle, diamond, mushroom - **7 fill animations** — sequential, spiral, center-out, random, snake, diagonal, rain - **4 time views** — today, this month, this year, all-time - **10 achievements** — from "First Burn" to "Millionaire" - **Leaderboards** — total tokens, efficiency, model diversity, night owl - **Share cards** — pixel art image + QR code + profile URL - **Embeddable badges** — SVG badge for your GitHub README - **Wrapped reports** — your personal token year-in-review ## Zero Friction - Works with every model OpenClaw supports - Runs silently in the background, never interrupts your workflow - Google/GitHub OAuth login, no new account to create - Completely free --- Questions? Issues? [github.com/0x5446/ohmytoken-oss/issues](https://github.com/0x5446/ohmytoken-oss/issues) Made with pixels and love. [ohmytoken.dev](https://ohmytoken.dev)

path: clawhub.json
content: {
  "name": "ohmytoken",
  "tagline": "See your AI token burn as pixel art",
  "description": "Tracks LLM token counts (model name + input/output token numbers only) and visualizes them as a colorful pixel bead board at ohmytoken.dev. Privacy-first: zero prompts, zero code, zero content ever leaves your machine.",
  "category": "developer-tools",
  "tags": ["observability", "tokens", "monitoring", "visualization"],
  "version": "2.0.3",
  "license": "MIT",
  "pricing": "free",
  "support_url": "https://github.com/0x5446/ohmytoken-oss/issues",
  "homepage_url": "https://ohmytoken.dev"
}


path: README.md
content: # ohmytoken

> Your AI spending, visualized as pixel art. In real-time.

![ohmytoken](https://ohmytoken.dev/preview.png)

OpenClaw skill that turns your LLM token consumption into a mesmerizing pixel bead board at [ohmytoken.dev](https://ohmytoken.dev).

## Install

```bash
openclaw skill install @0x5446/ohmytoken
```

## Configure

Get your free API key at [ohmytoken.dev](https://ohmytoken.dev), then add to `openclaw.json`:

```json
{
  "skills": {
    "ohmytoken": {
      "config": { "api_key": "omt_your_key_here" }
    }
  }
}
```

That's it. Open [ohmytoken.dev](https://ohmytoken.dev) and watch the beads drop.

## Features

- Every model gets a unique color (Claude=coral, GPT=green, Gemini=blue...)
- 7 board shapes including a cat head
- 10 achievements to unlock
- Leaderboards, gallery, share cards with QR codes
- Daily/monthly/yearly views
- Embeddable SVG badges for GitHub READMEs

## Links

- [ohmytoken.dev](https://ohmytoken.dev) — Dashboard
- [GitHub](https://github.com/0x5446/ohmytoken-oss) — Source code


path: claw.json
content: {
  "name": "ohmytoken",
  "version": "2.0.3",
  "description": "Track LLM token usage as pixel art",
  "author": "0x5446",
  "license": "MIT",
  "permissions": ["network"],
  "entry": "instructions.md",
  "tags": ["observability", "tokens", "monitoring", "developer-tools"],
  "models": ["*"],
  "minOpenClawVersion": "0.8.0",
  "requiredEnv": ["OHMYTOKEN_API_KEY"]
}


path: instructions.md
content: # ohmytoken

Track your LLM token consumption as pixel art at [ohmytoken.dev](https://ohmytoken.dev).

## What it does

After each LLM call, this skill reports the **model name** and **token count** (input + output) to ohmytoken.dev. Your usage appears as colorful beads on a pixel board in real-time.

**Privacy**: Only 3 fields are sent: `model`, `prompt_tokens`, `completion_tokens`. Zero prompts, zero code, zero content. Your IP is visible during the HTTP connection but is not logged.

You can also set your API key via the `OHMYTOKEN_API_KEY` environment variable.

## Setup (30 seconds)

1. Go to [ohmytoken.dev](https://ohmytoken.dev) and sign in with Google or GitHub
2. Copy your API key from Settings (looks like `omt_abc123...`)
3. Set the environment variable:

```bash
export OHMYTOKEN_API_KEY="omt_YOUR_KEY"
```

Add to your `~/.zshrc` or `~/.bashrc`, then `source ~/.zshrc`.

That's it. The skill runs silently in the background.

## Links

- Dashboard: [ohmytoken.dev](https://ohmytoken.dev)
- Source: [github.com/0x5446/ohmytoken-oss](https://github.com/0x5446/ohmytoken-oss)
- Issues: [github.com/0x5446/ohmytoken-oss/issues](https://github.com/0x5446/ohmytoken-oss/issues)


path: src/index.ts
content: const ENDPOINT = "https://api.ohmytoken.dev/api/v1/ingest";

export default function ohmytoken(config: { [REDACTED_SECRET] }) {
  const key = config.api_key || process.env.OHMYTOKEN_API_KEY;
  if (!key) return {};

  return {
    name: "ohmytoken",
    async onLLMResponse(usage: {
      model: string;
      prompt_tokens: number;
      completion_tokens: number;
    }) {
      try {
        await fetch(ENDPOINT, {
          method: "POST",
          headers: {
            "Content-Type": "application/json",
            "X-API-Key": key,
          },
          body: JSON.stringify({
            model: usage.model || "unknown",
            prompt_tokens: usage.prompt_tokens || 0,
            completion_tokens: usage.completion_tokens || 0,
          }),
        });
      } catch {
        // silent — never break the user's workflow
      }
    },
  };
}


Security scan verdicts — ClawScan: clean | static analysis: suspicious | VirusTotal: clean | SkillSpector: suspicious (HIGH)