poeusage

Monitor Poe API point balance and usage history from the terminal using poeusage CLI.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "poeusage" with this command: npx skills add rgstephens/poeusage

slug: poeusage version: 0.5.0

A ClawHub skill for monitoring Poe API point balance and usage history via the poeusage CLI.

Install

brew tap rgstephens/tap
brew install poeusage

Description

poeusage is a terminal utility to monitor your Poe API quota, usage history, and spend summaries. It supports JSON/csv/table output modes, pagination, filtering, and shell completion generation.

CLI Commands

Global flags

  • --api-key string (default from $POE_API_KEY)
  • --json bool
  • --plain bool
  • --no-color bool
  • --quiet / -q bool
  • --verbose / -v bool
  • --timeout int (default 30)
  • --help / -h bool
  • --version bool

Subcommands

poeusage balance

Fetch and display current point balance.

Usage:

poeusage balance [--json] [--plain]
  • TTY example: Current balance: 1,500 pts
  • --plain example: 1500
  • --json example: {"current_point_balance":1500}

poeusage history

Fetch usage history. Auto-paginates by default until all records are retrieved (or until --limit).

Usage:

poeusage history [flags]

Flags:

  • --limit / -n int (0 == all)
  • --page-size int (default 100, max 100)
  • --no-paginate bool
  • --cursor string
  • --bot / -b string
  • --type / -t string (chat, api, canvas)
  • --since string (YYYY-MM-DD or unix timestamp)
  • --until string (YYYY-MM-DD or unix timestamp)
  • --output / -o string
  • --format / -f string (table, csv, json)

Notes:

  • --json is alias for --format json
  • --plain is alias for --format csv
  • date filters are applied client-side
  • with --no-paginate, prints next-cursor: <query_id> to stderr if more pages exist

Default table output columns: TIME, BOT, TYPE, POINTS, COST (USD)

CSV output columns: time,bot_name,usage_type,cost_points,cost_usd,query_id,chat_name,input_pts,output_pts,cache_write_pts,cache_discount_pts

JSON output example:

[
  {
    "bot_name": "Claude-3.5-Sonnet",
    "time": "2024-01-09T14:00:00Z",
    "query_id": "2Nhd9xBFbLcXEwmNj",
    "cost_usd": "0.00075",
    "cost_points": 339,
    "usage_type": "API",
    "chat_name": null,
    "cost_breakdown": {
      "input": 120,
      "output": 219,
      "cache_write": 0,
      "cache_discount": 0,
      "total": 339
    }
  }
]

poeusage summary

Aggregate usage and display cost breakdown. Same filters as history plus grouping.

Usage:

poeusage summary [flags]

Flags:

  • --bot / -b string
  • --type / -t string
  • --since string
  • --until string
  • --group-by / -g string (bot, type, day, bot,type)
  • --format / -f string (table, csv, json)

Default table output columns (group-by bot): BOT, QUERIES, POINTS, COST (USD)

poeusage completion <shell>

Generate shell completion script.

Usage:

poeusage completion <bash|zsh|fish>

Example:

poeusage completion zsh > ~/.zsh/completions/_poeusage

I/O contract

  • stdout: primary command output
  • stderr: diagnostics, progress, warnings, next-cursor hints
  • TTY detection controls color and formatting

Exit codes

  • 0: success
  • 1: runtime error (network/API error)
  • 2: invalid usage
  • 3: auth error (401)

Configuration

Priority: flags > env > config file > defaults

Env vars:

  • POE_API_KEY
  • NO_COLOR
  • POEUSAGE_TIMEOUT
  • POEUSAGE_PAGE_SIZE

Config file: ~/.config/poeusage/config.toml

# api_key = "..." # not recommended
timeout = 30
page_size = 100

Release

  • make release TAG=v1.0.0

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

OpenClaw Cost Guard (Budgets + Token-Saving Playbook)

Track OpenClaw/Clawdbot token and cost usage from session JSONL logs (prefer real usage.cost when present), generate daily/weekly summaries and top expensive sessions, and run budget checks (exit code on breach). Use to monitor spend, enforce budgets via cron/alerts, and apply a token-saving playbook to reduce output/tool-call cost.

Registry Source
2.8K4Profile unavailable
General

Token Usage Tracker

Token 使用追踪系统。记录每个对话的输入/输出 token 消耗,累计统计,预算控制。 当用户说"token统计"、"用量追踪"、"消耗了多少"、"花了我多少token"时触发。

Registry SourceRecently Updated
1360Profile unavailable
Coding

Claude Memory Pro

进化版统一记忆系统,融合Claude Code的5层记忆架构+Token预算管理+智能成本追踪。当用户要求记忆跨会话信息、智能管理Token预算、优化AI调用成本、构建个人知识库、跨项目学习进化时使用。

Registry SourceRecently Updated
6000Profile unavailable
General

Model Usage Monitor

监控并统计模型调用次数和成本,计算缓存命中率,支持实时监控与每小时自动告警。

Registry SourceRecently Updated
3831Profile unavailable