Agent Audit Logging

Implement comprehensive audit logging and reporting for multi-agent systems. Covers event capture, structured logging, traceability, compliance reporting, forensic analysis, and real-time monitoring dashboards for agent actions and decisions.

492 stars 68 forksAI, LLMs & Agents

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add cosmicstack-labs/mercury-agent-skills --skill agent-audit-logging
Manual install
git clone --depth 1 https://github.com/cosmicstack-labs/mercury-agent-skills.git /tmp/mercury-agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/mercury-agent-skills/categories/ai-ml/agent-audit-logging ~/.claude/skills/agent-audit-logging

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Agent Audit Log Reporting

## Overview

When agents make decisions, take actions, and spend money, every step must be traceable. Audit logs answer questions like: "What did the agent do?", "Why did it do that?", "Who asked for it?", and "Can we prove it followed the rules?" This skill covers event sourcing, structured logging, traceability chains, compliance reporting, and forensic analysis for production multi-agent systems.

---

## Core Concepts

### Why Audit Logging Matters

| Need | Without Audit | With Audit |
|------|--------------|------------|
| **Debugging** | "The agent did something wrong, but what?" | Full replay of decisions |
| **Compliance** | No evidence of rule following | Verifiable compliance trail |
| **Billing** | "Why did we spend $5K today?" | Per-task cost attribution |
| **Security** | Can't detect injection or abuse | Pattern detection on logs |
| **Improvement** | Guess what went wrong | Data-driven optimization |
| **Accountability** | "Was this the agent or the user?" | Clear provenance |

### What to Log

| Event | Details | Priority |
|-------|---------|----------|
| **Invocation** | Task received, agent, timestamp | Required |
| **Reasoning** | Agent's chain-of-thought | Required |
| **Tool Calls** | Tool name, params, result, latency | Required |
| **Decisions** | Branch taken, confidence, rationale | Required |
| **LLM Response** | Raw model output | High |
| **Errors** | Error type, stack trace, recovery action | Required |
Read the full skill on GitHub

Details

Skill name
agent-audit-logging
Path
categories/ai-ml/agent-audit-logging/SKILL.md
License
MIT
Repo updated
25 August 2026

FAQ

What does the Agent Audit Logging skill do?

Implement comprehensive audit logging and reporting for multi-agent systems. Covers event capture, structured logging, traceability, compliance reporting, forensic analysis, and real-time monitoring dashboards for agent actions and decisions.

How do I install the Agent Audit Logging skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add cosmicstack-labs/mercury-agent-skills --skill agent-audit-logging. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Agent Audit Logging popular?

It lives in cosmicstack-labs/mercury-agent-skills, which has 492 GitHub stars and 68 forks.

Related skills

Accessibility

492

cosmicstack-labs/mercury-agent-skills

Achieve and maintain WCAG compliance through inclusive design practices, proper ARIA usage, and comprehensive testing methodologies.

Frontend & Design68

Accessibility Testing

492

cosmicstack-labs/mercury-agent-skills

WCAG 2.1/2.2 audit, axe, Lighthouse, manual testing, screen reader testing, and remediation

Testing & QA68

Agent Handoff Protocols

492

cosmicstack-labs/mercury-agent-skills

Design and implement agent-to-agent handoff protocols for multi-agent systems. Covers context passing, escalation patterns, handshake mechanisms, conversation continuity, and routing between specialized agents in production workflows.

AI, LLMs & Agents68

Vector Skills Retriever

230

davidliuk/graph-of-skills

Retrieve a bounded bundle of relevant external skills from the local skill workspace using vector embedding similarity only.

AI, LLMs & Agents26

Agent Health Monitoring

492

cosmicstack-labs/mercury-agent-skills

Monitor AI agent health, detect anomalies, set up alerting, and maintain observability dashboards for production multi-agent systems. Covers liveness checks, performance metrics, drift detection, and incident response.

AI, LLMs & Agents68

Council

221

kitze/council

Convene a council of AI coding agents before finalizing a plan. The agent you're talking to — whichever CLI is the lead (claude, codex, cursor, gemini, grok, opencode) — drafts a plan, presents it independently to every other agent CLI installed on the machine, each member gives ONE reply per turn, and the lead revises the plan for X turns before answering. Trigger words: council, convene the council, consult the other agents, ask the council, ask codex/cursor/gemini/grok what they think, second opinion from other agents, N turns of deliberation, deliberate before planning.

AI, LLMs & Agents

Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.