SKILL_DIR="${SKILL_DIR:-$HOME/.workbuddy/skills/privacy-audit}"; T=$(mktemp -d); printf 'TOKEN = "gh%s_%s"\n' 'p' 'abcdefghijklmnopqrstuvwxyz0123456789' > "$T/sample.txt"; python3 "$SKILL_DIR/scripts/privacy_audit.py" --file "$T/sample.txt" --rules "$SKILL_DIR/scripts/字段检测正则库.json" --json output/result.json > output/report.txt 2>&1; EC=$?; rm -rf "$T"; exit $EC
