Local Task Runner

# Local Task Runner

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "Local Task Runner" with this command: npx skills add 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

  • 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 Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

0Codekit

0codekit integration. Manage Workspaces. Use when the user wants to interact with 0codekit data.

Registry SourceRecently Updated
Coding

django-developer

Expert Django developer mastering Django 4+ with modern Python practices. Specializes in scalable web applications, REST API development, async views, and en...

Registry SourceRecently Updated
Coding

Basecamp

Basecamp integration. Manage Projects, Persons, Clients. Use when the user wants to interact with Basecamp data.

Registry SourceRecently Updated
Coding

Fibek Collections

Interact with the Fibek B2B collections platform API — manage invoices, clients, payment agreements, campaigns, and financial metrics

Registry SourceRecently Updated