Skip to content
Back to skills

Local Task Runner

ASecurity

This skill provides a mechanism to execute Node.js code snippets or

  • 14 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 7, 2026
toolsbashnode

Works with

  • cli

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill local-task-runner --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Local Task Runner?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Local Task Runner
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-local-task-runner/badge)](https://www.skillsdirectory.com/skills/modbender-local-task-runner)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Local Task Runner
description: 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.
---

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

Files in this skill

  • README.md340 B
  • SKILL.md1.4 KB
  • index.js4 KB
  • package.json345 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…