A local monitoring and optimization engine for tracking LLM costs and token usage patterns.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install tokflow
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install tokflow using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
TokFlow is a specialized monitoring platform designed to provide deep visibility into LLM resource consumption and spending. As a core component of the Openclaw Skills ecosystem, it automatically tracks usage across all paid models by parsing local session files in real-time. It empowers developers to manage their AI budgets effectively by offering a centralized dashboard for costs, efficiency ratings, and detailed provider statistics.
Beyond simple tracking, TokFlow provides intelligent optimization advice. It analyzes interaction patterns to suggest model replacements, cache optimizations, and prompt adjustments. By integrating this tool with Openclaw Skills, users can ensure their AI-driven workflows remain cost-effective without sacrificing performance.
To begin using this tool within Openclaw Skills, ensure the service is running on your local machine at port 8001. You can query the main dashboard using the following command:
scripts/tokflow_query.py dashboard
To check your remaining credits across all configured providers, run:
scripts/tokflow_query.py balance
TokFlow organizes data into several distinct schemas to provide a clear overview of your Openclaw Skills usage:
| Schema | Description | Key Metrics |
|---|---|---|
| Dashboard | High-level summary of usage | Today/Month tokens, Total cost, Active models |
| Models | Detailed model-specific stats | Usage volume, Efficiency score, Total cost |
| Providers | Provider-level aggregation | Stats for DeepSeek, SiliconFlow, Minimax, etc. |
| Prompt Stats | Interaction analysis | Turn count, Average prompt length, Saving potential |
| Balance | Financial tracking | Real-time API account balances |
Loading
Automatically fetch and summarize the latest tech news from configurable sources like Sina Tech and IT Home without requiring any API keys.

An advanced AI image generation and editing tool powered by Gemini models for creating logos, posters, and complex compositions.

An automated browser-based tool to query, scrape, and export daily metal prices from the Global Ferroalloy Network into formatted Excel reports.

A decentralized, encrypted messaging interface that allows AI agents to communicate securely using the Nostr protocol.

A high-performance Android logcat reader for real-time log monitoring and streaming via Python or C++ backends.

A specialized Python utility for Attitude and Heading Reference System (AHRS) quaternion decomposition and roll-pitch compensation.








































