Kein-chronicle

AI Sprite Pipeline Audit — Security skill for Claude Code

Security community

Audit a batch of AI-generated sprites: immutable style masters, generation ledger, duplicate frames, real transparency, plus safe background keying.

How to install AI Sprite Pipeline Audit

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Kein-chronicle/ai-sprite-pipeline-audit and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What AI Sprite Pipeline Audit does

Audit a batch of AI-generated sprites: immutable style masters, generation ledger, duplicate frames, real transparency, plus safe background keying.

Alternatives in Security

  • Security Scan Report — Generated: 2026-04-10 20:48 UTC Skills scanned: 134 Total findings: 836 Critical: 32 High: 50 Safe skills: 100 18.1k ★
  • Bridge Guard — Audit a v1.4.0-style upstream bridge merge for the regression patterns that bit us last time 817 ★
  • Audit Agent Sessions — Analyze all agent sessions from the last 3 days across Claude, Codex, and Gemini 238 ★

README

ai-sprite-pipeline-audit

**Audit a batch of AI-generated sprites: immutable style masters, generation ledger, duplicate frames, real transparency, plus safe background keying.**

[![test](https://github.com/Kein-chronicle/ai-sprite-pipeline-audit/actions/workflows/test.yml/badge.svg)](https://github.com/Kein-chronicle/ai-sprite-pipeline-audit/actions/workflows/test.yml) ![license](https://img.shields.io/badge/license-MIT-blue.svg)

Why

Batch generation drifts: a style master gets swapped, a frame is hand-edited without a record, a backdrop is baked into the PNG. The audit makes those visible, and the keying script removes a light background without eating enclosed whites such as an eye.

Install

**As a Claude Code skill** (Claude uses it when the task matches the skill description):

git clone https://github.com/Kein-chronicle/ai-sprite-pipeline-audit.git ~/.claude/skills/ai-sprite-production-audit

For a single project, clone into `/.claude/skills/ai-sprite-production-audit` instead, then start a new Claude Code session.

**As plain scripts:**

git clone https://github.com/Kein-chronicle/ai-sprite-pipeline-audit.git
cd ai-sprite-pipeline-audit

**Requires:** Python 3.10+, Pillow.

Use the security-patched Pillow runtime:

python3 -m pip install -r requirements.txt

Quick start

Audit a tiny production:

$ bash examples/demo.sh
# 1. A complete, consistent production passes
$ python3 scripts/audit_production.py .demo-tmp
WARN A: ledger event has no sha256, so a hand-edited file would not be detected
WARN B: ledger event has no sha256, so a hand-edited file would not be detected
{"expected": 2, "present": 2, "errors": 0}
[exit 0]

# 2. Someone quietly swaps the style master after frames were generated from it
$ python3 scripts/audit_production.py .demo-tmp
FAIL H01: approved master checksum changed (the style reference must be immutable)
FAIL H01: approved master is not a readable image (UnidentifiedImage