agentsclimarketplace

Code runner

Skill next-open-ai/openclawx/presets/workspaces/code-assistant/skills/code-runner

Executes code snippets by saving them to a temporary file and running them via bash commands (e.g., node, python, go run) to test logic or compute results.From its SKILL.md

Install
npx -y skills add next-open-ai/openclawx --skill code-runner

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

SKILL.md

1.0 KB, 195 tokens by cl100k_base, as published. Nobody here has run it

Code Runner Skill

Use this skill to quickly execute a piece of code to test logic, write a script for the user, or run built-in system tools.

Workflow

  1. Determine the language required (Node.js, Python, Shell, Go, etc.).
  2. Write the code snippet to a temporary file using the write tool (e.g., in /tmp/test-script.js).
  3. Use the bash tool to execute the script (e.g., node /tmp/test-script.js).
  4. Capture the standard output and standard error.
  5. Provide the execution result to the user.
  6. Clean up the temporary file using bash (rm /tmp/test-script.js).

Example Usage

If the user asks "How do I reverse a string in JavaScript? Show me.", write a script with the solution, run it to verify it works, and show them both the code and the verified output.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.