返回顶部
a

agent-audit智能体审计

>

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
1,596
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

agent-audit

Agent Audit

Scan your entire OpenClaw setup and get actionable cost/performance recommendations.

What This Skill Does

  1. 1. Scans config — reads OpenClaw config to map models to agents/tasks
  2. Analyzes cron history — checks every cron job's model, token usage, runtime, success rate
  3. Classifies tasks — determines complexity level of each task
  4. Calculates costs — per agent, per cron, per task type using provider pricing
  5. Recommends changes — with confidence levels and risk warnings
  6. Generates report — markdown report with specific savings estimates

Running the Audit

CODEBLOCK0

Options:
CODEBLOCK1

How It Works

Phase 1: Discovery

  • - Read OpenClaw config (~/.openclaw/openclaw.json or similar)
  • List all cron jobs and their configurations
  • List all agents and their default models
  • Detect provider (Anthropic, OpenAI, Google, xAI) from model names

Phase 2: History Analysis

  • - Pull cron job run history (last 7 days by default)
  • Calculate per-job: avg tokens, avg runtime, success rate, model used
  • Pull session history where available
  • Calculate total token spend by model tier

Phase 3: Task Classification

Classify each task into complexity tiers:
TierExamplesRecommended Models
SimpleHealth checks, status reports, reminders, notificationsCheapest tier (Haiku, GPT-4o-mini, Flash, Grok-mini)
Medium
Content drafts, research, summarization, data analysis | Mid tier (Sonnet, GPT-4o, Pro, Grok) | | Complex | Coding, architecture, security review, nuanced writing | Top tier (Opus, GPT-4.5, Ultra, Grok-2) |

Classification signals:

  • - Simple: Short output (<500 tokens), low thinking requirement, repetitive pattern, status/health tasks
  • Medium: Medium output, some reasoning needed, creative but templated, research tasks
  • Complex: Long output, multi-step reasoning, code generation, security-critical, tasks that previously failed on weaker models

Phase 4: Recommendations

For each task where the model tier doesn't match complexity:

CODEBLOCK2

Safety Rules — NEVER Recommend Downgrading:

  • - Coding/development tasks
  • Security reviews or audits
  • Tasks that have previously failed on weaker models
  • Tasks where the user explicitly chose a higher model
  • Complex multi-step reasoning tasks
  • Anything the user flagged as critical

Phase 5: Report Generation

Output a clean markdown report with:
  1. 1. Overview — total agents, crons, monthly spend estimate
  2. Per-agent breakdown — model, usage, cost
  3. Per-cron breakdown — model, frequency, avg tokens, cost
  4. Recommendations — sorted by savings potential
  5. Total potential savings — monthly estimate
  6. One-liner config changes — exact model strings to swap

Model Pricing Reference

See references/model-pricing.md for current pricing across all providers.
Update this file when prices change.

Task Classification Details

See references/task-classification.md for detailed heuristics
on how tasks are classified into complexity tiers.

Important Notes

  • - This skill is read-only — it never changes your config automatically
  • All recommendations include risk levels and confidence scores
  • When unsure about a task's complexity, it defaults to keeping the current model
  • The audit should be re-run periodically (monthly) as usage patterns change
  • Token counts are estimates based on cron history — actual costs depend on your provider's billing

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 agent-audit-1776419933 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 agent-audit-1776419933 技能

通过命令行安装

skillhub install agent-audit-1776419933

下载

⬇ 下载 agent-audit v1.0.0(免费)

文件大小: 9.01 KB | 发布时间: 2026-4-17 19:32

v1.0.0 最新 2026-4-17 19:32
- Initial release of agent-audit skill.
- Audits AI agent setups for performance, cost, and ROI across all major model providers.
- Scans OpenClaw config, cron jobs, session history, and model usage to detect inefficiencies and overspending.
- Classifies tasks by complexity and matches them to appropriate model tiers.
- Generates actionable recommendations with risk and confidence ratings, as well as potential cost savings.
- Produces a detailed markdown report with per-agent and per-cron breakdowns and suggested config changes.
- Read-only tool—no automatic changes to your setup.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部