Search

PythonReactSEOPDF
OpenClaw

Local Task Runner

Local Task Runner

d-wwei0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install d-wwei/local-task-runner

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

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

  • Replace Subagents: Instead of spawning a full subagent for simple tasks, use this skill to run code directly.
  • Safety: Isolates execution logic, handles cleanup, and enforces timeouts.
  • Convenience: No manual file management required (write + exec + rm).

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 5000
Response Format

Success:

[TASK: <id>] Completed in 123ms
--- STDOUT ---
...

Error:

[TASK: <id>] Failed in 123ms
Error: ...
--- STDERR ---
...

Source information

Source
github
Repository
openclaw/skills
Path
skills/d-wwei/local-task-runner
Version
—
Commit
1d76d49eadc610f0940ac9b2c07a54513855cced
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

README

Local Task Runner

  • Description: Safely execute Node.js code snippets locally as a substitute for subagents.
  • Location: skills/local-task-runner
  • Use: When you need to execute code or scripts without spawning a full subagent.
  • Command: node skills/local-task-runner/index.js run --code "..." [--timeout 30000]

Extracted content

SKILL.md
# 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

- **Replace Subagents**: Instead of spawning a full subagent for simple tasks, use this skill to run code directly.
- **Safety**: Isolates execution logic, handles cleanup, and enforces timeouts.
- **Convenience**: No manual file management required (`write` + `exec` + `rm`).

## 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

```bash
# 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 5000
```

### Response Format

Success:
```
[TASK: <id>] Completed in 123ms
--- STDOUT ---
...
```

Error:
```
[TASK: <id>] Failed in 123ms
Error: ...
--- STDERR ---
...
```
README
# Local Task Runner
- **Description**: Safely execute Node.js code snippets locally as a substitute for subagents.
- **Location**: `skills/local-task-runner`
- **Use**: When you need to execute code or scripts without spawning a full subagent.
- **Command**: `node skills/local-task-runner/index.js run --code "..." [--timeout 30000]`

Related skills

OpenClaw

x402hub

capncoconut

Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...

OpenClaw

claw

capevace

Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.

OpenClaw

captchas-openclaw

captchasco

OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.