tashfeenahmed/scallopbot/run-code

Claude Code and agent skill by tashfeenahmed/scallopbot

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Write and execute a throwaway multi-line program (python, javascript/node, or bash) and capture its output. Use this instead of bash when you need real logic — loops, parsing, math, data transforms, calling a library — rather than a single shell command. The agent authors a small program on the fly and runs it as a first-class action.

Install

npx vskill@latest install tashfeenahmed/scallopbot/run-code

SKILL.md

Run Code Skill

Author a small program and run it. This is the "code-execution-as-action" primitive: rather than being limited to a fixed catalog of tools, the agent can write a throwaway script to do exactly what a task needs and execute it.

When to Use

Reach for run_code over bash when the task is really a small program:

  • Data transforms: parse JSON/CSV, reshape, aggregate, filter
  • Math / computation: anything beyond a one-liner
  • Using a library: call a python or node module to do the heavy lifting
  • Generating a tool on the fly: write the logic once, run it, read the result

For a single shell command (ls, git status, npm install), use bash.

Input

json
{
"language": "python",
"code": "import json\nprint(json.dumps({'sum': sum(range(10))}))",
"timeout": 60000
}
ParameterTypeRequiredDefaultDescription
languagestringYes-python, javascript, or bash
codestringYes-Full program source; print results to stdout
timeoutnumberNo60000Timeout in ms (max 120000)

Output

json
{
"success": true,
"output": "{\"sum\": 45}\n",
"error": "",
"exitCode": 0,
"language": "python"
}
FieldTypeDescription
successbooleanTrue if the program exited 0
outputstringCaptured stdout
errorstringCaptured stderr (or error message)
exitCodenumberProcess exit code

Notes

  • The program runs in the workspace directory; temp source files are written to

the OS temp dir and cleaned up after execution.

  • python requires python3 on PATH; if it's missing, the result explains how

to install it. javascript runs under node. bash runs under bash.

  • Output is captured up to 1 MB; long-running programs are killed at the timeout.
  • Same trust model as the bash skill: it runs on the host unless the operator enabled SANDBOX_MODE, in which case writes outside the workspace (and, if configured, network access) are denied.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/tashfeenahmed/scallopbot/run-code/badge)](https://verified-skill.com/skills/tashfeenahmed/scallopbot/run-code)

Something wrong with this skill or its page? Tell us.