Self Audit
by @jiuge897
Track, analyze, and score your tool calls to identify unnecessary usage, detect patterns, and get recommendations for efficiency improvements.
clawhub install self-auditπ About This Skill
Self-Audit
> Audit your own tool usage. Discover which calls are necessary vs reflexive.
What It Does
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"Usage
# Record a tool call
self-audit log --tool "weather_api" --input "KLBB" --reason "user_asked"Analyze recent calls
self-audit analyzeShow efficiency score
self-audit scoreSuggest improvements
self-audit suggest
Output Example
Self-Audit Report
==================
Period: Last 24 hours
Total calls: 47
Unique tools: 8Efficiency 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
Files
SKILL.md β This fileself-audit β Main CLI scriptaudit/ β Audit log storage (created on first run)π‘ Examples
# Record a tool call
self-audit log --tool "weather_api" --input "KLBB" --reason "user_asked"Analyze recent calls
self-audit analyzeShow efficiency score
self-audit scoreSuggest improvements
self-audit suggest