Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/CocoRoF/geny-executornpx agentmods add skills/cocorof/geny-executor/tool-builderWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/cocorof/geny-executor/tool-builder)<a href="https://agentmods.dev/skills/cocorof/geny-executor/tool-builder"><img src="https://agentmods.dev/badge/skills/cocorof/geny-executor/tool-builder/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/cocorof/geny-executor/tool-builder"><img src="https://agentmods.dev/badge/skills/cocorof/geny-executor/tool-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00076 | $0.00843 |
| Opus 5.5 | $0.00030 | $0.00337 |
| Sonnet 5.5 | $0.00015 | $0.00169 |
| Haiku 4.5 | $0.00008 | $0.00084 |
Grade A, and why
Sandbox Tool Builder 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Building your own sandboxed tool
When you lack a tool you need, write one. A sandboxed tool is just a script
in your workspace that reads a JSON request on stdin and writes a JSON response
on stdout. You author it, test it, then forge_tool registers it as a real tool
you can call from the next turn — and it always runs inside your sandbox, not
on the host.
You need a sandbox (an isolated workspace) attached to this session. If you
don't have one, forge_tool will tell you.
The loop
-
Write the script into your workspace with your file-write tool, at a stable path like
tools/<name>/main.py. The contract:- read the whole request from stdin (a JSON object),
- write the result to stdout as a JSON object,
- on failure, print
{"error": "..."}(or exit non-zero) — that surfaces as a tool error.
Minimal Python example (
tools/wordcount/main.py):import sys, json req = json.load(sys.stdin) text = req.get("text", "") print(json.dumps({"words": len(text.split()), "chars": len(text)})) -
Test it with your shell tool, exactly how the tool will be invoked:
echo '{"text":"a b c"}' | python3 tools/wordcount/main.pyIterate until the output JSON is right.
-
Forge it — register it live:
env(action="forge_tool", args={ "name": "wordcount", "description": "Count words and characters in text.", "entrypoint": "tools/wordcount/main.py", "runtime": "python3", "input_schema": {"type":"object","properties":{"text":{"type":"string"}},"required":["text"]} })From the next turn you can call
wordcount({"text": "..."})like any tool. -
Use it. Call it by name. If it misbehaves, fix the script, test again, and re-
forge_tool(disable the old one first if the name clashes).
Persisting it (reuse across sessions)
forge_tool is for this session. To keep it, save a Sandbox Tool Pack:
env(action="save_pack", args={"name": "text-utils", "description": "word + slug tools"})
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 3mo ago First seen · 77 lines · 76 tokens per session scan A 762a7bd4d755
Sandbox Tool Builder is a skill published in the GitHub repository CocoRoF/geny-executor (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 76 tokens to every session and 843 once invoked, about $0.0003 per session on Opus 5.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-31.
Sandbox Tool Builder compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| Sandbox Tool BuilderCocoRoF/geny-executor | Skill | 2 | 1mo ago | Apache-2.0 | A | 76 | Claude Code |
| skill-creatorvstorm-co/pydantic-deepagents | Skill | 1.1k | 2d ago | MIT | A | 11 | Claude Code, Codex |
| continuum-tools-mcpshyftlabs/continuum | Skill | 86 | 4d ago | Apache-2.0 | A | 94 | Claude Code |
| continuum-handoffsshyftlabs/continuum | Skill | 86 | 4d ago | Apache-2.0 | A | 98 | Claude Code |
| continuum-llm-providersshyftlabs/continuum | Skill | 86 | 4d ago | Apache-2.0 | A | 105 | Claude Code |
| continuum-observabilityshyftlabs/continuum | Skill | 86 | 4d ago | Apache-2.0 | A | 70 | Claude Code |
| continuum-temporalshyftlabs/continuum | Skill | 86 | 4d ago | Apache-2.0 | A | 68 | Claude Code |