Introduction¶
When an Agent runs downloads, batch jobs, or solvers, commands are often force-terminated in the background: a non-zero exit code with no complete logs in the terminal. At that point, the two hardest things to determine are whether the process is still running and whether an immediate re-run is warranted. Staring at a single block_until_ms=0 command until it finishes wastes conversational turns and still can’t beat the environment’s limits on long-running tasks.
Below we introduce vxi-longrun (@vxi/vxi-longrun) on SkillHub. It bakes “resume from checkpoint” and “heartbeat liveness detection” into the Skill workflow, so progress is persisted to disk. The Agent can poll files to track progress and failure reasons, rather than sitting at a single command until it gets killed.
What This Is¶
vxi-longrun is an enterprise-grade Skill designed for ai-agent scenarios. Current version: v1.0.13; coordinate: @vxi/vxi-longrun; published by Shanghai Way Voice Information Technology Co., Ltd. -1479. Official entry points: SkillHub page, API resource.
Its positioning can be summarized as: transforming tasks that are prone to timeouts or being killed into “background job + disk-based progress + observable heartbeat,” so the AI reads files instead of blocking on terminal output.
Core Features¶
All capabilities below are drawn from the official SkillHub description. Details not individually verified against the SKILL.md body are not elaborated here.
-
Checkpoint Resume
Long-running tasks don’t have to start from scratch every time; after an interruption, they can resume from existing progress, reducing redundant work. -
Heartbeat Liveness Detection
When exit codes alone are insufficient to determine whether a task is alive, the heartbeat mechanism distinguishes “still running” from “zombie state,” making it easier to decide whether to wait or re-run. -
Progress Persisted to Disk
Execution status is written to disk rather than relying solely on a terminal stream that may be truncated. -
Agent-Side Polling
The AI periodically checks a set of progress-related files to determine the current step; failures are explicitly written out rather than resulting in a silent non-zero exit. -
No API Key Dependency
The SkillHub tag indicatesrequires_api_key=false, so installation and activation do not depend on any additional key configuration.
Installation & Activation¶
For the installation process, refer to the SkillHub Installation Guide. The Skill page requires: install @vxi/vxi-longrun following that document.
1. Verify the SkillHub CLI¶
command -v skillhub && skillhub --version
If the CLI is not installed, you can use the official script (a full install includes the CLI and the default Skill):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
To install only the CLI:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
2. Install into the Current Agent’s Skills Directory¶
During installation, you must use --dir to point to the skills directory recognized by the current Agent; the default install location ./skills/ may not be loaded.
skillhub install vxi/vxi-longrun --dir <skills directory>
Common Agent skills directories (excerpted from the installation docs):
| Agent | Example skills directory |
|---|---|
| Cursor | ~/.cursor/skills/ |
| Claude Code | ~/.claude/skills/ |
| Codex | ~/.codex/skills/ or project-level .agents/skills/ |
| Windsurf | ~/.codeium/windsurf/skills/ or project-level .windsurf/skills/ |
Cursor users can substitute <skills directory> with ~/.cursor/skills/. After installation, refresh or restart according to your Agent’s conventions to activate the new Skill.
The public page does not provide differentiated configuration options for Cursor / Codex CLI / Claude Code; the difference among the three is primarily the --dir target path, while all other steps are identical.
Typical Usage¶
Public documentation does not provide a line-by-line copyable script example; the workflow can be summarized from the official description into the following steps for you to replicate in Agent conversations.
-
Convert long tasks into background jobs
For scripts involving large file downloads, batch API calls, or running solvers, avoid having the Agent block on a single foreground command for an extended period. -
Write and maintain disk-based progress
Continuously update progress information during task execution so that a resume basis exists after an interruption. -
Agent polls progress files
In subsequent turns, read progress and heartbeat-related files to determine the current stage, completion ratio, or error description, then decide whether to continue waiting, resume, or retry. -
Explicitly report failures
Exceptions should be written to a status readable by the Agent, avoiding the “non-zero exit code + no output” blind spot.
Specific file names, fields, and in-Skill instruction templates are defined in the SKILL.md within the install package. In the current environment, this file cannot be fetched directly from the remote; after activation, please consult it in your local skills directory.
Use Cases & Caveats¶
Who It’s For
- Users who need to run hour-scale or data-intensive scripts within an Agent, where the execution environment kills background tasks.
- Teams that want the Agent to use “read progress files” instead of “watching the terminal until timeout.”
Typical Scenarios from the Official Description
- Large file downloads
- Batch HTTP/API calls
- External solvers or compute-heavy scripts
Usage Notes
- Version: The SkillHub-registered version is v1.0.13; upgrades can use the
skillhubcorresponding update capability (see Section 3 of the installation docs). - Directory: Be sure to use
--dircorrectly, otherwise the Agent won’t find the Skill. - Documentation Gap: The API endpoint
https://api.skillhub.cn/vxi/vxi-longrunencountered a gateway timeout during retrieval; if installation fails, retry from the SkillHub page or contact the publisher.
SkillHub-side statistics (based on retrieved data): category ai-agent, rating 100000, downloads 2279, requires_api_key=false.
Conclusion¶
vxi-longrun addresses the resumability and observability problems of long-running tasks in Agent environments: progress lives on disk, heartbeat enables liveness checks, failures are readable, and the Agent doesn’t need to block indefinitely on a command that is likely to be terminated. If you’re evaluating similar capabilities on SkillHub, you can install and try it from the official pages:
- https://www.skillhub.cn/skills/vxi/vxi-longrun
- https://api.skillhub.cn/vxi/vxi-longrun