Wattwise Agent — AI skill for Claude Code
AI agent that analyses and compares electricity bills using Claude and tool calling.
How to install Wattwise Agent
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open pratheeshps/wattwise-agent and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Wattwise Agent does
AI agent that analyses and compares electricity bills using Claude and tool calling.
Alternatives in AI
- Vllm Mlx — High-performance OpenAI and Anthropic compatible LLM inference server for Apple Silicon 1.5k ★
- Paritok 4b V1 — Non-destructive compression gateway for AI coding agents 1.4k ★
- PriceyApp — MacOS Status bar app that tracks, monitors your Claude Code AI usage costs in real-time and compares them to h 43 ★
README
Wattwise Agent
A small command-line AI agent that analyses electricity bills. It uses Claude and tool calling to fetch bill data, compare two months, and explain what changed in consumption and cost.
The bill data is currently hardcoded sample data in [`src/tools.js`](src/tools.js), covering October and November.
How it works
The agent runs a loop of up to 6 iterations:
- It sends the goal and the available tools to the model.
- If the model asks for a tool, the agent runs it and sends back the result. Tool errors are returned to the model too.
- When the model finishes its turn, the agent returns the final text as the report.
If the model hasn't finished after 6 iterations, or stops for any reason other than finishing or calling a tool, the agent throws an error.
The system prompt tells the model to retrieve real bill data before comparing, use the comparison tool for calculations, and never invent missing data.
Tools
| Tool | Input | Returns |
|---|---|---|
get_bills |
None | All available bills: month, units and amount |
compare_bills |
previous_month, current_month |
Difference in units, difference in amount, and percentage change in units |
Month names are not case-sensitive. `compare_bills` returns an error if either month has no bill.
Getting started
Prerequisites
- Node.js
- An API key for the Anthropic API or a compatible endpoint
Setup
git clone https://github.com/pratheeshps/wattwise-agent.git
cd wattwise-agent
npm install
Create a `.env` file in the project root:
ANTHROPIC_AUTH_TOKEN=your-api-key
ANTHROPIC_BASE_URL=https://api.anthropic.com
ANTHROPIC_MODEL=your-model-id
| Variable | Purpose |
|---|---|
ANTHROPIC_AUTH_TOKEN |
API key used to authenticate requests |
ANTHROPIC_BASE_URL |
API endpoint that requests are sent to |
ANTHROPIC_MODEL |
ID of the model to use |
`.env` is ignored by git, so your key stays out of the repository.
Run
npm s
Related Skills
EB Bill Coach A Daily AI Agent For Tamil Nadu Electricity Bills
⚡ A daily Claude agent that forecasts your Tamil Nadu (TNPDCL/TNEB) bi-monthly electricity bill, warns before
AI Citation Monitor
Tracks whether your brand is cited by ChatGPT, Claude, Perplexity, and Gemini for your target queries. Generat
Life Skills
Open-source AI Agent Skills for Codex and Claude Code — independent electricity provider switching in Germany
Marketing Handbook
A founder's handbook for running marketing with AI agents - connecting Google Ads and Meta to Claude, the anal
No Slop Grenades
For the work reports you share with your team. Turns status updates, analyses and AI summaries into half a pag
2026 Forecast Experiment Agent
Experiment-harness based on an autonomous LLM agent (Claude) to shorten development. It develops a probabilist
Related Agents
Policy Text Researcher
Fetches and analyzes policy text (legislative bills, executive orders, agency rules, ARPA-style proposals, whi
49agents
49Agents bills itself as the first 2D agentic IDE — all agents, all terminals, all projects, all machines, one
Finance Filing
Process PDFs (receipts and invoices), extract data, prepare for filing to Drive and the Finances spreadsheet.