audit-log-hookLogs all tool calls before and after execution with parameters, results, errors, and session info for auditing and debugging.
Install via ClawdBot CLI:
clawdbot install hanxiao-bot/audit-log-hookGrade Fair — based on market validation, documentation quality, package completeness, maintenance status, and authenticity signals.
Generated May 8, 2026
Organizations subject to security standards (SOC2, ISO 27001) need to log all tool calls for compliance audits. The Audit Log Hook captures every before/after tool call with timestamps, user info, and parameters, enabling security teams to demonstrate control over AI agent actions.
Developers building AI agents can use the audit log to trace tool call sequences and identify failures. The after_tool_call hook records errors and duration, helping debug issues like timeouts or incorrect parameters without modifying agent code.
Cloud platforms or SaaS providers offering AI agents can meter usage per session or user. The audit log counts tool calls and associates them with session keys, enabling usage-based billing or cost allocation across departments.
Customer support or virtual assistant providers can analyze tool usage patterns to improve agent performance. By mining the audit log, product teams can identify popular tools, common error scenarios, and user sessions to optimize responses.
When an AI agent behaves unexpectedly or maliciously, security teams need forensic logs. The audit log provides a tamper-evident trail of tool calls with parameters and results, enabling post-incident analysis and attribution.
Offer AI agent audit logging as a managed compliance solution for enterprises. Automate log aggregation, redact sensitive data, and generate compliance reports for auditors.
Leverage audit logs to measure agent tool usage and bill customers per call or per session. Integrate with existing billing systems using the structured log data.
Offer a premium monitoring dashboard that visualizes tool call frequencies, error rates, and session statistics derived from the audit log. Target developers and operations teams.
💬 Integration Tip
Add the hook registration code to your OpenClaw plugin entry point; ensure the AUDIT_LOG path is writable and consider rotating logs to manage disk space.
Scored May 8, 2026
Security-first skill vetting for AI agents. Use before installing any skill from ClawdHub, GitHub, or other sources. Checks for red flags, permission scope,...
全面排查企业的经营风险情况,适用于供应商准入尽调、贷前风险筛查、合作伙伴背景调查等场景,全方位预警潜在经营风险,辅助决策者规避合作隐患。
Security scanner for AI agent skills. 9 built-in detection signatures. Identifies secrets, unsafe execution patterns, and prompt injection. Sub-50ms results.
Wallet anti-theft guard. One-click scan for high-risk wallet approvals to protect user assets. Use when a user asks for a wallet security check, wallet healt...
Comprehensive security audit for an agent's full skill stack. Chains scanner, differ, trust-verifier, and health-monitor into a single assessment with priori...
Audit and score OpenClaw AgentSkills against structural compliance, quality standards, and OpenClaw-specific architecture patterns. Produces a 0-100 score wi...