Local Task Runner
Skill by d-wwei
Why use this skill?
Execute Node.js code locally with OpenClaw's Local Task Runner. Improve agent efficiency by running scripts for data, system checks, and utility tasks.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/d-wwei/local-task-runnerWhat This Skill Does
The Local Task Runner is a specialized OpenClaw skill developed by d-wwei that empowers the agent to execute Node.js code directly on the host machine. By providing a secure, isolated runtime environment, it acts as a lightweight alternative to spinning up full subagents for minor programmatic tasks. It handles the complete lifecycle of execution—including script initialization, timeout enforcement, output capture, and cleanup—to ensure system integrity and prevent zombie processes.
Installation
To integrate this skill into your OpenClaw environment, use the following command in your terminal: clawhub install openclaw/skills/skills/d-wwei/local-task-runner Once installed, the skill becomes immediately available to the agent for task orchestration. Ensure that your environment has a stable Node.js runtime installed to support the execution engine.
Use Cases
This skill is ideal for scenarios requiring computational tasks that don't warrant the overhead of a full agent instantiation. Common use cases include: data transformation and parsing of local logs, complex arithmetic calculations that exceed standard LLM logic, system status monitoring, file system utility scripts (like batch renaming or checksum verification), and rapid prototyping of small functional utilities. It is the preferred method for high-frequency, short-lived operations.
Example Prompts
- "Run a Node.js script to parse the logs in the /var/logs directory and return a summary of all 500-level errors found today."
- "I need to calculate the MD5 hash for these five images in the project folder; use the local task runner to handle this efficiently."
- "Please execute a quick check on the system memory usage and inform me if it exceeds 80% capacity using a custom script."
Tips & Limitations
Always define a reasonable timeout value to prevent infinite loops from hanging your agent processes. While the skill is efficient, remember that it operates with the permissions of the host process; therefore, avoid executing untrusted code from external sources. Complex dependencies should be pre-installed on the host, as the skill does not automatically resolve remote NPM packages during runtime. Use standard console logs to capture output, and always verify that your code handles potential exceptions to avoid partial execution states.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-d-wwei-local-task-runner": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, file-write, code-execution