audit-logs

audit-logs is a skill for Claude Code, Codex from serbyte-development/shellby-mcp. It costs 24 tokens per session (768 once invoked), scanned A, original, MIT.

A guide for reading Shellby's agent-command audit log without loading the entire file at once. The log records tool calls, timing, token counts, failures, and command details.

In plain words
What is it for?
Use it to analyze command history, find failed or slow tool calls, inspect output sizes, and understand when entries were recorded. It is intended for the `agent-commands.yaml` log.
Why use it?
Large logs can be difficult and wasteful to inspect directly. Parsing the recorded format lets you investigate what happened while keeping the analysis focused.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to analyze command history, find failed or slow tool calls, inspect output sizes, and understand when entries were recorded. It is intended for the agent-commands.yaml log.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/serbyte-development/shellby-mcp/audit-logs
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add serbyte-development/shellby-mcp --skill audit-logs
Clone the repo
git clone --depth 1 https://github.com/serbyte-development/shellby-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for audit-logs

README.md
[![agentmods](https://agentmods.dev/badge/skills/serbyte-development/shellby-mcp/audit-logs/github.svg)](https://agentmods.dev/skills/serbyte-development/shellby-mcp/audit-logs)
Your own site
<a href="https://agentmods.dev/skills/serbyte-development/shellby-mcp/audit-logs"><img src="https://agentmods.dev/badge/skills/serbyte-development/shellby-mcp/audit-logs/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for audit-logs

Your own site · 80×15
<a href="https://agentmods.dev/skills/serbyte-development/shellby-mcp/audit-logs"><img src="https://agentmods.dev/badge/skills/serbyte-development/shellby-mcp/audit-logs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 768 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00024 $0.00768
Opus 5.5 $0.00010 $0.00307
Sonnet 5.5 $0.00005 $0.00154
Haiku 4.5 $0.00002 $0.00077

Measured 1mo ago against content hash 38cef0946fb7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

audit-logs scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/audit-logs/SKILL.md · 58 lines

How it starts

The opening of the file, as written. The whole thing — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agent Command Log

Use this skill to analyze agent-commands.yaml.

Do not load the whole log into context. Inspect, filter, parse, aggregate, or sample it with Python, Node, Ruby, shell tools, or another approach that fits the audit question. Choose the investigation method from the evidence you need rather than forcing every audit through one fixed workflow.

The --- # ... record header is stored as a YAML comment. Generic YAML parsers may discard the tool name, duration, token counts, status marker, and timestamp carried there. When that metadata matters, read the file as text or otherwise preserve and parse the header separately from the YAML body.

Prefer reducing the log outside model context before reading detailed records. Useful reductions may include filtering by session, task slug, tool, status marker, time range, shell/request identity, arguments, or any other feature relevant to the question; grouping, counting, sorting, sequence analysis, and targeted record inspection are all valid. Bring only the evidence needed for the current audit into context.

Source of truth for format:

src/server/audit/audit-log.ts src/server/audit/audit-format.ts

--- # [!|~] TOOL - DURATIONms - N in [/ N out] [- HTTP ...] - Mon D h:mm AM/PM
  • ! = tool/HTTP/connection failure
  • ~ = call took at least 5 seconds
  • in = tokens from full serialized arguments before log truncation
  • out = model-facing text/structured output tokens; native image payloads are excluded
  • final time = local call start time

Tool calls may include session: "agent-N" or, after a successful start_here, session: "agent-N/task-slug". Shellby's shared agent context assigns each distinct X-OpenAI-Session a stable process-local identity such as agent-1, agent-2, and so on. A successful start_here adds that caller's task_id; later audit entries append it to the agent label, for example agent-1/audit-session-labels. The start_here entry itself keeps the plain agent-N label. Raw session IDs are not written to the log.

Read the full file on GitHub · 58 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +8 lines 38cef0946fb7
  2. 1mo ago First seen · 50 lines · 24 tokens per session scan A 7b26f4a91c0b

Subscribe to this mod's changes

audit-logs is a skill published in the GitHub repository serbyte-development/shellby-mcp (14 stars, last pushed 2d ago), licensed MIT. It adds 24 tokens to every session and 768 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

codex-with-chatgpt

A connection that lets ChatGPT help plan and review coding work while Codex edits files, runs commands, tests code, and handles execution.

XiaoDuoYa/codex-with-chatgpt · 90 tokens

codexless-browser-repair

Diagnose and temporarily repair Codexless Browser compatibility after a Codex, Chrome Skill, or Browser runtime update when Codexless Browser stopped working. Use for current-version Codexless Browser compatibility drift, not ordinary website bugs, general Browser operation, Codexless install/update work, or long-term…

liyana31811/Codexless · 70 tokens

threebrowser-studio-mcp

Author, inspect, render, validate, animate, and save Three.js WebGPU projects in the native ThreeBrowser Studio through its real threestudio MCP tools. Use whenever Codex is asked to build or edit a ThreeBrowser Studio scene, material, Blender-style shader or texture graph, animation, lighting setup, camera, or…

SamG-Coder/ThreeBrowserStudio · 122 tokens

migrate-waniwani-sdk-0.24-to-0.25

Migrate a project from @waniwani/sdk 0.24.x, or straight from 0.23.x, to 0.25.x. 0.25 removes the asked-only gate: the first question or widget lists every state field in fields, and any call writes a declared field whose value fits its Zod schema, so the flow skips the questions it fills. Computed values (price…

WaniWani-AI/sdk · 248 tokens

migrate-waniwani-sdk-0.23-to-0.24

Migrate a project from @waniwani/sdk 0.23.x to 0.24.x and auto-apply its breaking change to flows: the tool listing no longer names state fields under stateUpdates, start merges no stateUpdates, and continue and reset merge only fields the run has asked through an interrupt question or a widget's field. A field the…

WaniWani-AI/sdk · 352 tokens

add-widget

Add a new widget (React UI + MCP tool) to this template. Use when asked to "add a widget", "add a new tool with UI", "create a new widget", "scaffold a widget", or "build a new MCP App feature".

pomerium/mcp-app-typescript-template · 56 tokens