By Retlinac
Scripting standards for resilient long-running processes: checkpointing, self-healing, progress visibility, and cross-platform support.

Scripting standards for any process that runs unattended. Longhaul enforces 7 hard requirements that prevent the most common failure modes in long-running scripts: silent freezes, lost progress, and unrecoverable crashes.
Works with Claude Code, Codex, Cursor, and Grok Build.
| # | Requirement | Never do |
|---|---|---|
| 1 | Flush stdout immediately | Rely on OS buffering |
| 2 | Append results per unit to disk | Write all output at end |
| 3 | Log progress with timestamps | Silent iteration |
| 4 | Per-unit timeout | Timeout only the whole process |
| 5 | Checkpoint completed units | Re-run everything on restart |
| 6 | Self-heal on failure (max 2 retries, auto-apply with guardrails) | Crash on first error |
| 7 | Exit non-zero if any unit permanently fails | Swallow exceptions |
Applies to: ML sweeps, test suites, builds, deployments, data pipelines — anything that runs for more than a few minutes without supervision.
/plugin install github:Retlinac/longhaul
Copy the skill directory to your user skills folder:
cp -r .agents/skills/resilient-long-running-scripts ~/.agents/skills/
Copy the rule into your project:
cp .cursor/rules/resilient-long-running-scripts.mdc <your-project>/.cursor/rules/
The rule auto-attaches to .py, .js, .ts, .sh, and .ps1 files.
Copy the skill directory to your user skills folder:
cp -r .grok/skills/resilient-long-running-scripts ~/.grok/skills/
MIT
Patterns for Python, JavaScript/Node, Bash (Linux + macOS), and PowerShell (Windows), each covering:
ThreadPoolExecutor / Promise.race / timeout / Start-Job.jsonlOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub retlinac/longhaul --plugin longhaulUltra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Frontend design skill for UI/UX implementation
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Memory compression system for Claude Code - persist context across sessions
Marketing skills for AI agents — conversion optimization, copywriting, SEO, paid ads, ad creative, and growth
Standalone image generation plugin using Nano Banana MCP server. Generates and edits images, icons, diagrams, patterns, and visual assets via Gemini image models. No Gemini CLI dependency required.