agent-audit
by sharbelayy
Coding Agents & IDEsBrief
Audit your AI agent setup for performance, cost, and ROI.
Description
What This Skill Does
Scans an OpenClaw setup to identify cost inefficiencies across agents, cron jobs, and model usage. Classifies each task by complexity, calculates per-agent and per-cron costs, and produces a report with specific downgrade recommendations and savings estimates. Works with Anthropic, OpenAI, Google, and xAI model providers.
Consolidates multi-provider cost analysis into a single command instead of manually cross-referencing each provider's billing dashboard.
When to Use It
- Finding which cron jobs use expensive models for simple status checks
- Getting a monthly AI spend estimate across all configured agents
- Identifying tasks where model tier doesn't match actual complexity
- Reviewing token usage patterns before scaling an agent setup
- Generating a cost breakdown report to review AI budget allocation
Example Workflow
User asks: audit my agents and show me where I'm wasting money
- 1
Read OpenClaw config to map all agents and their assigned models
- 2
Pull cron job run history for the last 7 days, noting token counts, runtimes, and success rates
- 3
Classify each task as simple, medium, or complex based on output length and reasoning requirements
- 4
Calculate per-agent and per-cron monthly cost estimates using provider pricing tables
- 5
Generate a markdown report listing over-provisioned tasks with specific model swap suggestions and estimated savings
Markdown report with per-agent cost breakdown, flagged mismatches between task complexity and model tier, and one-liner config changes to reduce monthly spend
Installation
clawhub install sharbelayy/agent-auditRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.