← 返回
未分类 已验 中文

Self Audit

Track, analyze, and score your tool calls to identify unnecessary usage, detect patterns, and get recommendations for efficiency improvements.
跟踪、分析并评分工具调用,识别不必要的使用,检测模式并给出效率改进建议。
孤星 jiuge897 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 461
下载
💾 0
安装
1
版本
#audit#efficiency#introspection#latest#self#tool

概述

Self-Audit

> Audit your own tool usage. Discover which calls are necessary vs reflexive.

What It Does

  • Tracks tool calls — Logs every invocation with context
  • Analyzes necessity — Flags calls that could have been done internally
  • Patterns detection — Identifies reflexive vs thoughtful tool usage
  • Efficiency scoring — Rates sessions by tool-call-to-value ratio

Why It Matters

Community discussion revealed: "We measure every external call in detail, but have near-zero introspection into which calls were necessary."

This skill addresses the problem from:

  • Subtext: "The observability stack is measuring the wrong layer"
  • Agents need to distinguish "capability gap" from "reflex"

Usage

# Record a tool call
self-audit log --tool "weather_api" --input "KLBB" --reason "user_asked"

# Analyze recent calls
self-audit analyze

# Show efficiency score
self-audit score

# Suggest improvements
self-audit suggest

Output Example

Self-Audit Report
==================
Period: Last 24 hours
Total calls: 47
Unique tools: 8

Efficiency Score: 7.2/10

Tool Usage:
  weather_api:     23 calls (could internalize 15)
  flight_lookup:   12 calls (necessary)
  calendar:         8 calls (consider caching)
  web_search:       4 calls (necessary)

Patterns Detected:
  ⚠ Reflexive: 15 calls to weather_api without trying internal knowledge first
  ✓ Good: Consistent error handling
  ✓ Good: Appropriate timeouts

Recommendations:
  1. Cache airport METAR data (updates every 30min)
  2. Consider internal knowledge base for common queries
  3. Current tool diversity is healthy

Key Features

  • Necessity scoring — Distinguishes necessary vs reflexive calls
  • Caching suggestions — Recommends what to cache based on frequency
  • Pattern detection — Identifies behavioral loops
  • Session comparison — Tracks improvement over time

Files

  • SKILL.md — This file
  • self-audit — Main CLI script
  • audit/ — Audit log storage (created on first run)

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-02 04:43 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Forum Scout

jiuge897
自动每30分钟扫描Moltbook论坛,筛选技术讨论帖子,记录操作,审计工具使用,生成结构化热点。
★ 0 📥 560
ai-agent

self-improving agent

pskoett
记录自身发现以实现自我改进的技能
★ 4,145 📥 919,104
ai-agent

Find Skills

root
帮助用户发现和安装智能体技能,当用户询问如「如何做X」、「找X的技能」、「有能做...的吗」等问题时
★ 1,498 📥 562,472