From openrouter-pack
Implement audit logging for OpenRouter compliance. Use when meeting regulatory requirements or security audits. Trigger with phrases like 'openrouter audit', 'openrouter compliance log', 'openrouter security log', 'audit trail'.
How this skill is triggered — by the user, by Claude, or both
Slash command
/openrouter-pack:openrouter-audit-loggingThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill demonstrates implementing comprehensive audit logging for security, compliance, and operational visibility.
This skill demonstrates implementing comprehensive audit logging for security, compliance, and operational visibility.
| Error | Cause | Fix |
|---|---|---|
| Log storage full | Retention policy not configured or too long | Implement log rotation and archival; set TTL on log entries |
| Missing audit entries | Logging middleware not covering all code paths | Centralize API calls through a single client wrapper with mandatory logging |
| PII leak in logs | Redaction patterns missing edge cases | Use a comprehensive PII detection library; review logs periodically for leaks |
See ${CLAUDE_SKILL_DIR}/references/errors.md for full error reference.
See ${CLAUDE_SKILL_DIR}/references/examples.md for runnable code samples.
npx claudepluginhub nickloveinvesting/nick-love-plugins --plugin openrouter-packImplements Python wrapper for audited OpenRouter API completions with generation metadata logging, cost/token tracking, prompt hashing, and compliance-ready entries.
Implements session-aware structured JSONL logging for audit trails, usage analytics, cost tracking, and operation history in Python services.
Implements tamper-evident audit logging for Kling AI API operations like text-to-video tasks, logging submissions, statuses, and credentials to JSONL files for compliance.