Claude-skill-registry klingai-audit-logging
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/klingai-audit-logging" ~/.claude/skills/majiayu000-claude-skill-registry-klingai-audit-logging && rm -rf "$T"
manifest:
skills/data/klingai-audit-logging/SKILL.mdsource content
Klingai Audit Logging
Overview
This skill demonstrates implementing comprehensive audit logging for Kling AI operations including API calls, user actions, security events, and compliance-ready logs.
Prerequisites
- Kling AI API key configured
- Log storage (file, database, or cloud logging)
- Python 3.8+
Instructions
Follow these steps for audit logging:
- Define Events: Identify what to log
- Create Logger: Implement logging infrastructure
- Capture Context: Include all relevant metadata
- Store Securely: Use tamper-evident storage
- Enable Search: Make logs queryable
Output
Successful execution produces:
- Timestamped audit events
- Tamper-evident checksums
- User activity summaries
- Compliance-ready logs
Error Handling
See
{baseDir}/references/errors.md for comprehensive error handling.
Examples
See
{baseDir}/references/examples.md for detailed examples.