โ† All skills
Tencent SkillHub ยท Developer Tools

Token Usage Tracker

Token usage logging, alerting, and context-compression utilities for OpenClaw. Use when you want to track per-call token usage, normalize timestamps, and red...

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

Token usage logging, alerting, and context-compression utilities for OpenClaw. Use when you want to track per-call token usage, normalize timestamps, and red...

โฌ‡ 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, skill-config.json, SKILL.md, scripts/context_summarizer.py, scripts/dedupe_log.py, scripts/migrate_timestamps.py

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

Documentation

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

token-usage-tracker

Quick start Configure defaults in skill-config.json (timezone, log_folder). Install scripts (examples provided) into your workspace and wire the interceptor into your message pipeline. Use scripts/context_summarizer.py before sending large contexts to reduce token usage. What this skill provides Logging: token_tracker.py writes per-call token usage to a JSONL log. Includes timestamp normalization. Interceptor: token_interceptor.py example that normalizes timestamps and forwards sanitized messages to the tracker. Alerts: token_alerts.py example for threshold-based alerts (no external posting by default). Compression: context_summarizer.py produces short summaries to reduce token payloads. Utilities: migration and cleanup scripts (convert timestamps, dedupe log entries). When to use Use this skill when you want transparent per-call token accounting, to keep token usage low, or to protect sensitive/verbose contexts by summarizing before sending to the model. Files scripts/ token_interceptor.py โ€” example interceptor (normalizes timestamps) token_tracker.py โ€” logging helper token_alerts.py โ€” alert examples context_summarizer.py โ€” compression helper migrate_timestamps.py โ€” migration utility dedupe_log.py โ€” dedupe utility references/ examples/systemd/ โ€” example unit files (install manually) skill-config.json โ€” configurable defaults README.md โ€” usage and install notes Configuration See skill-config.json for defaults. The skill exposes: timezone: default UTC log_folder: default ./skills/logs (relative to OpenClaw workspace) compression settings: summary_target_tokens, max_context_tokens Security and installation The scripts are examples and safe by default. They do not change system state or install services automatically. Example systemd/unit files are provided in references/systemd/ โ€” apply them manually after review. License: MIT (adapt as you prefer)

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

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
  • scripts/context_summarizer.py Scripts
  • scripts/dedupe_log.py Scripts
  • scripts/migrate_timestamps.py Scripts
  • skill-config.json Config