guardrail-audit-log

guardrail-audit-log is a skill for Claude Code from Vimalk0703/shipworthy. It costs 46 tokens per session (1,730 once invoked), scanned B, original, MIT.

A central, tamper-resistant record of security warnings, blocked actions, rule violations, and approved overrides. Guardrails are rules that prevent unsafe or non-compliant actions.

In plain words
What is it for?
It helps record guardrail events with details such as time, category, finding, resolution, and override information for governance and incident review.
Why use it?
Without a shared record, teams may not be able to prove that protections ran or understand when an incident began.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the shipworthy plugin — 66 skills, 7 commands, 3 hooks shipped together

Good fit It helps record guardrail events with details such as time, category, finding, resolution, and override information for governance and incident review.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vimalk0703/shipworthy/guardrail-audit-log
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 Vimalk0703/shipworthy --skill guardrail-audit-log
Clone the repo
git clone --depth 1 https://github.com/Vimalk0703/shipworthy

Made for: Claude Code.

Or install shipworthy, the plugin that ships this one along with the rest of its 66 skills, 7 commands, 3 hooks.

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 guardrail-audit-log

README.md
[![agentmods](https://agentmods.dev/badge/skills/vimalk0703/shipworthy/guardrail-audit-log/github.svg)](https://agentmods.dev/skills/vimalk0703/shipworthy/guardrail-audit-log)
Your own site
<a href="https://agentmods.dev/skills/vimalk0703/shipworthy/guardrail-audit-log"><img src="https://agentmods.dev/badge/skills/vimalk0703/shipworthy/guardrail-audit-log/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 guardrail-audit-log

Your own site · 80×15
<a href="https://agentmods.dev/skills/vimalk0703/shipworthy/guardrail-audit-log"><img src="https://agentmods.dev/badge/skills/vimalk0703/shipworthy/guardrail-audit-log.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,730 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00046 $0.01730
Opus 5 $0.00023 $0.00865
Sonnet 5 $0.00009 $0.00346
Haiku 4.5 $0.00005 $0.00173

Measured 10d ago against content hash ad1953125ee9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade B, and why

guardrail-audit-log scanned grade B with 1 finding 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 10d 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.

Recursive force deletemediumDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- Destructive command interception (rm -rf, DROP TABLE)

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

skills/operations/guardrail-audit-log/SKILL.md · 195 lines

How it starts

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

Guardrail Audit Log

Core Rule

Every guardrail violation, warning, block, and override must be logged to a centralized, immutable audit trail. If you cannot prove a guardrail fired, you cannot prove the system is protected.

Why Centralized Audit Logging

Without Audit Logging With Audit Logging
"We think the secret scanner ran" Timestamped record of every scan, every finding, every resolution
Compliance auditor asks for evidence — you scramble Export the log, filter by date range, done
A guardrail was silently bypassed — nobody noticed Override logged with who, why, and approval chain
Incident response: "When did this start?" — unknown Query the log: first violation timestamp, escalation history

Guardrail Event Schema

Every guardrail event — whether from a hook, skill, or runtime check — must conform to this schema:

interface GuardrailEvent {
  // Identity
  eventId: string;           // UUID — unique per event
  timestamp: string;         // ISO 8601 — when the guardrail fired

  // Classification
  guardrailLayer: 'input_output' | 'contextual' | 'security' | 'adaptive' | 'ethical_compliance';
  guardrailName: string;     // e.g., 'secrets-detection', 'bias-check', 'scope-creep'
  severity: 'info' | 'warning' | 'block' | 'override';

  // Context
  source: string;            // which hook, skill, or check generated this event
  trigger: string;           // what triggered the guardrail (file path, command, code pattern)
  description: string;       // human-readable explanation

  // Resolution
  action: 'allowed' | 'warned' | 'blocked' | 'overridden';
  resolution?: string;       // how it was resolved (if overridden, why)
  resolvedBy?: string;       // who resolved it (user, system, auto)

  // Metadata
  sessionId?: string;        // session that generated this event
  projectId?: string;        // project identifier
  tier?: string;             // user tier at time of event
  tags?: string[];           // additional classification tags
}

Read the full file on GitHub · 195 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. 10d ago First seen · 195 lines · 46 tokens per session scan B ad1953125ee9

Subscribe to this mod's changes

guardrail-audit-log is a skill published in the GitHub repository Vimalk0703/shipworthy (7 stars, last pushed 5mo ago), licensed MIT. It adds 46 tokens to every session and 1,730 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (recursive force delete). 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

memstack-business-gdpr

Use this skill when the user says 'GDPR', 'data protection', 'privacy compliance', 'DPA', 'DSAR', 'data subject request', 'cookie consent', 'privacy audit', 'CCPA', or asks 'do I need GDPR for this repo'. Scans the repository to detect what personal data is collected, classifies sensitivity, determines whether GDPR…

cwinvestments/memstack · 121 tokens

memstack-business-licensing

Use this skill when the user says 'licensing', 'license audit', 'can I use this commercially', 'OSS license check', 'license compatibility', 'GPL', 'MIT', 'AGPL', 'copyleft'. Scans the repository for every dependency and asset license, then produces a per-package verdict table: ready for commercial use…

cwinvestments/memstack · 112 tokens

memstack-business-contract-template

Use this skill when the user says 'contract', 'agreement', 'service agreement', 'NDA', 'freelance contract', 'consulting agreement', or needs service agreements with IP ownership, payment terms, and termination clauses. Do NOT use for invoicing or client onboarding.

cwinvestments/memstack · 63 tokens

contract-redliner

Contract review, redlining, and negotiation support with clause analysis, risk identification, and markup templates. Use when reviewing contracts, identifying unfavorable terms, suggesting amendments, or preparing negotiation positions.

travisjneuman/.claude · 41 tokens

ai-policy-generator

AI governance policy creation for nonprofits and enterprises with frameworks, risk assessment, ethical guidelines, and compliance templates. Use when drafting AI usage policies, responsible AI frameworks, or organizational AI governance documents.

travisjneuman/.claude · 42 tokens

compliance-engineering

SOC2, HIPAA, GDPR, PCI-DSS, FedRAMP compliance implementation in code. Audit logging, data encryption, access controls, privacy by design, and regulatory requirement mapping. Use when implementing compliance controls, preparing for audits, or building privacy-compliant systems.

travisjneuman/.claude · 60 tokens