pycache-generated-during-skill-testing-must-be-cleaned
Running Python scripts in a skill directory during verification generates pycache directories that must be explicitly removed before the session ends. These are not cleaned by the normal temp residue check (/tmp/, /root/downloads/). Add find ~/.claude/skills/ -type d -name __pycache__ -exec rm -rf {} + to the pristine sweep for Python-based skills.
Related
- stop-hook-verification-gate-catches-incomplete-completion
claude-code-to-nova-enterprise-backup-v3-2026-03-25(archived)- stop-hook-forces-pristine-sweep-before-exit
- cache
- docker
- orphaned-scripts-with-broken-tool-calls-accumulate-silently