โ† All skills
Tencent SkillHub ยท Communication & Collaboration

Cost Tracking for Models

Track OpenClaw usage costs and provide detailed reports by date and model. Supports daily, weekly, and monthly report formats for Discord and other messaging channels.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Track OpenClaw usage costs and provide detailed reports by date and model. Supports daily, weekly, and monthly report formats for Discord and other messaging channels.

โฌ‡ 0 downloads โ˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
README.md, package.json, SKILL.md, cli.js, scripts/cost_report.sh, scripts/report_discord.sh

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.2

Documentation

ClawHub primary doc Primary doc: SKILL.md 5 sections Open source page

Overview

Precisely track OpenClaw usage costs with detailed reports by date and model type. This skill uses the jq tool to directly parse JSON data from OpenClaw session logs, extracting accurate cost information. Supports multiple report formats: Daily Reports (today/yesterday costs) Weekly Reports (current week total/comparison with previous week) Monthly Reports (current month total/month-over-month growth)

Quick Start

# Today's cost report bash {baseDir}/scripts/cost_report.sh --today # Yesterday's cost report bash {baseDir}/scripts/cost_report.sh --yesterday # Weekly cost report bash {baseDir}/scripts/cost_report.sh --week # Date range report bash {baseDir}/scripts/cost_report.sh --from 2026-01-01 --to 2026-01-31

Cost Calculation Method

This script directly extracts cost data from OpenClaw session log files (~/.openclaw/agents/*/sessions/*.jsonl): Uses jq to parse JSON data, locating the message.usage.cost.total field Calculates totals grouped by date and model Ensures each API call's cost is counted only once

Discord Output Format

๐Ÿ’ฐ OpenClaw Cost Report (2026-02-04) โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ” Today's Total Cost: $XX.XX (๐ŸŸข -XX% vs yesterday) ๐Ÿ“Š Model Details: โ€ข claude-opus-4-5: $XX.XX (XX%) โ€ข gpt-4o: $X.XX (X%) โ€ข ... ๐Ÿ“ˆ Weekly Total: $XXX.XX

Installation Requirements

jq: JSON parsing tool (brew install jq or apt install jq) Access to OpenClaw log files

Category context

Messaging, meetings, inboxes, CRM, and teammate communication surfaces.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
3 Scripts2 Docs1 Config
  • SKILL.md Primary doc
  • README.md Docs
  • cli.js Scripts
  • scripts/cost_report.sh Scripts
  • scripts/report_discord.sh Scripts
  • package.json Config