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.md
source 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:

  1. Define Events: Identify what to log
  2. Create Logger: Implement logging infrastructure
  3. Capture Context: Include all relevant metadata
  4. Store Securely: Use tamper-evident storage
  5. 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.

Resources