Smart Cost Tracker

v1.0.1

Track AI agent spending in real time. Shows cost per message, per conversation, per day. Budget alerts, daily/weekly reports, cost-per-task breakdown. Use wh...

0· 65·0 current·0 all-time
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name and description match the instructions: the skill calculates/estimates per-message and aggregated costs and writes a local cost log. It does not request unrelated credentials, binaries, or installs.
Instruction Scope
Instructions stay within the declared purpose: estimate tokens, compute costs, and maintain ~/.openclaw/cost-log.json. The skill necessarily needs access to conversation prompts/responses to estimate token counts; the SKILL.md does not instruct storing full message text (log schema shows metadata only), but implementers could store more—users should confirm the runtime will not persist full messages.
Install Mechanism
No install spec or code files are present (instruction-only). Nothing is downloaded or written to disk by an installer beyond the described cost-log file created at runtime.
Credentials
No environment variables or credentials are requested, which is proportional. The skill writes to the user's home directory (~/.openclaw/cost-log.json) and needs access to conversation text to estimate tokens — both are expected for this purpose. Users should be aware that the log may contain task names/session metadata that could be sensitive.
Persistence & Privilege
always is false and the skill is user-invocable; it only persists its own local cost-log. It does not request system-wide config changes or elevated privileges.
Assessment
This skill appears to be what it claims: a local cost estimator that writes a JSON log at ~/.openclaw/cost-log.json and needs access to the conversation text to estimate token counts. Before installing or enabling: (1) confirm the runtime will not persist full message text (only metadata) if you care about privacy; (2) check file permissions on ~/.openclaw/cost-log.json or store it on encrypted disk if your machine is shared; (3) remember pricing is an estimate—update the model pricing in the SKILL.md if your provider's rates differ; (4) because it's instruction-only, review your agent runtime to ensure no other skill or component can read/forward the cost-log (the SKILL.md itself does not send data externally). If any of these are unacceptable, disable or do not enable tracking.

Like a lobster shell, security has layers — review code before you run it.

latestvk979qnx0b6epgn2v9ev8g2drvd83qdyt

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Comments