code-runner

A coding helper that saves code snippets to temporary files and runs them with shell commands such as Node.js, Python, or Go.

In plain words
What is it for?
Use it to run short snippets, check whether logic works, and compute values with supported command-line runtimes.
Why use it?
It provides a quick way to test code logic or calculate results without manually creating a temporary script.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/next-open-ai/openclawx/code-runner
Any agent
npx skills add next-open-ai/openclawx --skill code-runner
Clone the repo
git clone --depth 1 https://github.com/next-open-ai/openclawx

Made for: Claude Code, Codex.

Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 245 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00039 $0.00245
Opus 5 $0.00019 $0.00122
Sonnet 5 $0.00008 $0.00049
Haiku 4.5 $0.00004 $0.00024

Measured 2d ago against content hash b796d0b19fc1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

code-runner scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

presets/workspaces/code-assistant/skills/code-runner/SKILL.md · 22 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 22 lines · 39 tokens per session scan A b796d0b19fc1

Subscribe to this mod's changes

code-runner is a skill published in the GitHub repository next-open-ai/openclawx (56 stars, last pushed 2mo ago), with no licence file. It adds 39 tokens to every session and 245 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

nmbot-features

This Skill includes basic information about nmBot that you should know and describes the features of nmBot, including its capabilities, functionalities, and how it can assist users in various tasks. Use this Skill to provide an overview of what nmBot can do and how it can benefit users in their daily activities.

nm-Team/nmbot-skills · 66 tokens

nmbot-api

This Skill tells how to use the nmBot Panel API (MCP) to control the user's settings of nmBot. Use this Skill to help the user to control nmBot's behavior and settings.

nm-Team/nmbot-skills · 45 tokens

nmbot-commands

This Skill provides a list of commands that nmBot supports. Use this Skill when you need to trigger a specific command of nmBot for the user. For feature details of each command, please refer to the nmbot-features Skill.

nm-Team/nmbot-skills · 54 tokens

ha-mac-control

Hope Agent native macOS desktop control — the standard maccontrol status / diagnostics / apps / dock / spaces / snapshot / visual / windows / menu / clipboard / dialog loop, target-first action rules, no-blind-coordinate policy, and recovery for stale AX/window/menu/dialog state. Load whenever using maccontrol, or…

shiwenwen/hope-agent · 139 tokens

ha-skill-creator

Create, edit, improve, or audit Hope Agent skills. Use when the user wants to: (1) create a new skill from scratch, (2) edit or improve an existing skill, (3) review or clean up a SKILL.md file, (4) run evaluations to test skill effectiveness, (5) optimize skill descriptions for better trigger accuracy. Trigger…

shiwenwen/hope-agent · 106 tokens

ha-browser

Hope Agent browser automation — the standard status → tabs → snapshot → act loop, stale-ref recovery rules, and what to do when login / 2FA / captcha / camera-prompt / dialog blocks progress. Load this skill whenever you reach for the browser tool. Trigger on: user asks the agent to open / control / click / scrape /…

shiwenwen/hope-agent · 140 tokens