Asciinema Recording Finalizer
Finalizes, compresses, and archives orphaned asciinema terminal recordings to GitHub orphan branches.
The finalize skill streamlines the lifecycle of terminal recordings by identifying running or orphaned asciinema processes, gracefully stopping them, and ensuring data integrity. It automates the compression of .cast files using zstd for storage efficiency and provides a seamless workflow to push recordings to a dedicated Git orphan branch. This is ideal for developers who need to maintain a clean workspace while preserving valuable session logs, documentation, or debugging sessions without cluttering their main repository history.
Key Features
01High-ratio compression using zstd to minimize storage footprint
0224 GitHub stars
03File integrity verification to ensure recordings are playable and complete
04Automated Git orphan branch pushing for centralized recording management
05Automatic discovery of running asciinema processes and unhandled .cast files
06Graceful process termination using progressive signals (SIGTERM to SIGKILL)
Use Cases
01Batch archiving terminal demos to a central repository for documentation purposes
02Optimizing local disk space by compressing large raw terminal recording files
03Cleaning up abandoned recording processes after a terminal crash or disconnected session