Local Task Runner
This skill provides a mechanism to execute Node.js code snippets or full scripts locally on the host machine.
by d-wwei · published 2026-03-22
$ claw add gh:d-wwei/d-wwei-local-task-runner# Local Task Runner
This skill provides a mechanism to execute Node.js code snippets or full scripts locally on the host machine.
It is the **default execution method** when subagent spawning is unavailable or inefficient.
Purpose
Usage
When you need to perform a calculation, check system status, or run a utility script:
1. Construct the Node.js code as a string.
2. Call `run_task` (or execute via CLI) with the code.
Command Line Interface
# Execute a task
node skills/local-task-runner/index.js run --code "console.log('Hello World')"
# Execute with timeout (ms)
node skills/local-task-runner/index.js run --code "while(true){}" --timeout 5000Response Format
Success:
[TASK: <id>] Completed in 123ms
--- STDOUT ---
...Error:
[TASK: <id>] Failed in 123ms
Error: ...
--- STDERR ---
...More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...