th0rgal/sandboxed-library-template/long-running-tasks
Claude Code and agent skill by th0rgal/sandboxed-library-template
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Handle tasks that may exceed tool timeouts (model training, large builds, data processing).
Install
npx vskill@latest install th0rgal/sandboxed-library-template/long-running-tasksSKILL.md
The same SKILL.md was published earlier as th0rgal/sandboxed-library-template/long-running-tasks.
Long-Running Tasks
Use when
- Running tasks that may take more than 10 minutes (model quantization, training, large builds)
- Starting processes that should continue even if the connection drops
- Monitoring background jobs and reporting progress
Don't use when
- The task completes quickly and fits within the normal tool timeout window.
- The task must be interactive (requires continuous prompts or TTY input).
Outputs
- Log files (e.g.,
task.log,build.log) should be saved inartifacts/when possible. - Final outputs should be written to
artifacts/for easy retrieval.
Templates or Examples
- Use the command patterns in the “Commands” and “Examples” sections as templates.
Strategy
For any task that might exceed the Bash tool timeout (10 minutes):
- Run in background with output logging
- Return immediately to confirm the task started
- Check periodically and report progress
- Confirm completion when done
Commands
Start a long-running task
Check if task is still running
Monitor progress
Examples
Model Quantization
Then periodically:
Large Build
Check progress:
Data Processing Pipeline
Best Practices
- Always use `nohup` - Ensures task survives if connection drops
- Redirect both stdout and stderr - Use
> file.log 2>&1 - Save the PID -
echo $!right after starting - Check periodically - Every 5-10 minutes for long tasks
- Look for completion markers - grep for "done", "error", "completed"
- Clean up - Remove log files after confirming success
Reporting to User
When starting a long task, tell the user:
- What command was started
- Where logs are saved
- How to check progress manually
- Estimated completion time (if known)
When checking progress, report:
- Current status (running/completed/failed)
- Recent log output (last 10-20 lines)
- Any errors or warnings seen
When task completes:
- Confirm success or failure
- Summarize results
- Clean up temporary files if appropriate
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskill/long-running-tasks/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/th0rgal/sandboxed-library-template/long-running-tasks)