Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Token usage logging, alerting, and context-compression utilities for OpenClaw. Use when you want to track per-call token usage, normalize timestamps, and red...
Token usage logging, alerting, and context-compression utilities for OpenClaw. Use when you want to track per-call token usage, normalize timestamps, and red...
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
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.
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.
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)
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.