smartmeter

Parse OpenClaw session logs and generate optimized openclaw.json configurations.

Updated Feb 8, 2026
One-click install
npx skills add https://github.com/vajih/openclaw-smartmeter --skill smartmeter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: smartmeter
Source: https://github.com/vajih/openclaw-smartmeter/tree/main
Command: npx skills add https://github.com/vajih/openclaw-smartmeter --skill smartmeter

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires commander, fs-extra, open, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill helps you significantly reduce your AI API spending by analyzing your usage patterns and automatically generating optimized configurations for your OpenClaw agents.

Core Features & Use Cases

  • Analyze Usage: Parses OpenClaw session logs to understand model usage, token counts, and costs.
  • Optimize Configuration: Generates a new openclaw.json that routes tasks to cheaper models where possible, without sacrificing quality.
  • Use Case: Automatically identify that 70% of your tasks can be handled by a $0.02/token model instead of a $0.10/token model, saving you hundreds of dollars per month.

Quick Start

Run smartmeter analyze to automatically optimize your AI costs.

Frequently Asked Questions about smartmeter

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reduce AI API costs in OpenClaw?

To reduce AI API costs in OpenClaw, you can analyze session logs to identify usage patterns and generate an optimized openclaw.json configuration. This routes tasks to cheaper models and applies budget controls, cutting API spending by up to 60%.

How does intelligent model routing optimize LLM usage?

Intelligent model routing optimizes LLM usage by parsing session logs to classify task complexity. It then generates a configuration that automatically directs simpler tasks to lower-cost models without sacrificing quality, significantly reducing overall token expenditure.

Do I need existing OpenClaw session logs to analyze AI costs?

Yes, you need existing OpenClaw session logs to analyze AI costs. The tool parses these usage data logs to understand your token counts, task classifications, and current spending before it can recommend model and configuration changes.

What is the best way to configure budget management for AI agents?

The best way to configure budget management for AI agents is to generate an optimized openclaw.json file. It automatically implements specialized agent creation and budget controls based on your actual parsed usage data to prevent overspending.

Does smartmeter work with other AI cost optimization tools?

smartmeter specifically analyzes OpenClaw session logs to generate optimized openclaw.json files. It does not mention compatibility with other AI cost optimization tools, focusing entirely on internal model routing and budget management configurations.