LLM Cost Guard

PendingStatic analysis audit pending.

Overview

No static analysis result has been recorded yet. Pattern checks will appear here once the artifact has been analyzed.

Findings (0)

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

What this means

The skill may keep running daily and change its stored cost data even when the user is not actively invoking it.

Why it was flagged

This describes persistent scheduled activity after installation, including sending reports and mutating/resetting stored counters, but the artifacts do not provide clear user approval, removal, or containment details.

Skill content
The skill auto-installs a daily cron job to:
1. Send a morning spend summary
2. Alert if yesterday's spend exceeded budget
3. Reset daily counters at midnight UTC
Recommendation

Require explicit opt-in before creating any cron job, document exactly what it runs, and provide a clear disable/remove command.

What this means

Usage and spending information could be sent to third-party chat services under unclear conditions, or the user may rely on a privacy claim that conflicts with the alerting feature.

Why it was flagged

The skill claims external chat delivery for reports while also claiming no external services. Reports can include user identifiers, model names, token counts, and spend, but the artifacts do not define destination, credentials, consent, or data boundaries.

Skill content
**Daily spend reports** — delivered via WhatsApp/Telegram/Discord ... All data stored locally at `~/.openclaw/workspace/llm-cost-guard-data.json`. No external services. No telemetry.
Recommendation

Clarify whether external delivery is implemented, make it opt-in, declare required credentials/configuration, and state exactly what report data is sent and where.

What this means

Anyone with access to the local data file may learn which models were used, approximate activity patterns, spending, and user identifiers.

Why it was flagged

The skill stores a persistent local ledger of LLM usage, including model, tokens, cost, timestamp, and optional user identifier. This is expected for the stated purpose, but it is still sensitive operational history.

Skill content
const DATA_PATH = path.join(os.homedir(), '.openclaw', 'workspace', 'llm-cost-guard-data.json'); ... data.entries.push({ date: todayStr(), ts: new Date().toISOString(), model, inputTokens, outputTokens, cost, user, });
Recommendation

Keep the data file protected, avoid logging sensitive user identifiers, and document retention/reset behavior clearly.