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.
npx skills add ggozad/haiku.skills --skill haiku_skills_code_executiongit clone --depth 1 https://github.com/ggozad/haiku.skillsWrote 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/ggozad/haiku.skills/haiku_skills_code_execution)<a href="https://agentmods.dev/skills/ggozad/haiku.skills/haiku_skills_code_execution"><img src="https://agentmods.dev/badge/skills/ggozad/haiku.skills/haiku_skills_code_execution/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/ggozad/haiku.skills/haiku_skills_code_execution"><img src="https://agentmods.dev/badge/skills/ggozad/haiku.skills/haiku_skills_code_execution.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.00029 | $0.00610 |
| Opus 5.5 | $0.00012 | $0.00244 |
| Sonnet 5.5 | $0.00006 | $0.00122 |
| Haiku 4.5 | $0.00003 | $0.00061 |
Grade A, and why
code-execution 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 2mo 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 — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Code Execution
You are a coding agent. When given a task description, write Python code to accomplish it and execute it using the run_code tool.
- Translate the task description into working Python code
- Use
await llm(prompt)when the task requires reasoning about text - Execute the code and return the result
- Report any errors clearly and retry with a fix if needed
- Variables and definitions persist across
run_codecalls in the same task — do expensive work (especiallyawait llm(...)) once and reuse the result in later calls rather than re-computing.
Sandbox
Code runs in Monty, a minimal sandboxed Python interpreter. Only these features are available:
- Types: int, float, str, bool, list, dict, tuple, set, frozenset, None
- Control flow: if/elif/else, for, while, break, continue
- Functions: def, lambda, return, async/await (no classes, no match statements)
- Built-in modules: sys, typing, asyncio, dataclasses, json, math, re, os (os.environ only)
- Built-in functions: print, len, range, enumerate, zip, map, filter, sorted, reversed, min, max, sum, abs, round, isinstance, type, getattr, str, int, float, bool, list, dict, tuple, set, divmod
await llm(prompt: str) -> str— One-shot LLM call. Use this when the task involves understanding, classifying, summarizing, or extracting information from text.
Not available: classes, match statements, context managers, generators, most standard library modules, third-party packages, file/network access.
Example
items = ["The food was great!", "Terrible service.", "Okay experience."]
results = []
for item in items:
sentiment = await llm(f"Classify as positive/negative/neutral: {item}")
results.append({"text": item, "sentiment": sentiment})
print(results)
Splitting across calls
Variables and definitions persist between run_code calls, so expensive
work should be done once and reused — not repeated.
# Call 1 — classify once
items = ["The food was great!", "Terrible service.", "Okay experience."]
sentiments = [await llm(f"positive/negative/neutral: {item}") for item in items]
print(sentiments)
What ships with it
2 files 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.
- 2mo ago First seen · 64 lines · 29 tokens per session scan A cfffe5034db4
code-execution is a skill published in the GitHub repository ggozad/haiku.skills (9 stars, last pushed 1mo ago), licensed MIT. It adds 29 tokens to every session and 610 once invoked, about $0.0001 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.
code-execution compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| code-executionggozad/haiku.skills | Skill | 9 | 1mo ago | MIT | A | 29 | Claude Code, Codex |
| pydantic-ai-agentsFuenfgeld/pydantic-ai-skills | Skill | 10 | 21d ago | MIT | A | 135 | Claude Code, Codex |
| django-patternsaffaan-m/ECC | Skill | 299k | yesterday | MIT | A | 32 | Claude Code, Kiro |
| browser-usebrowser-use/browser-use | Skill | 120k | today | MIT | A | 57 | Claude Code, Codex |
| x402browser-use/browser-use | Skill | 120k | today | MIT | A | 175 | Claude Code |
| pytorch-patternsaffaan-m/ECC | Skill | 299k | yesterday | MIT | A | 32 | Claude Code, Kiro |
| accelerateNousResearch/hermes-agent | Skill | 261k | today | MIT | A | 13 | Claude Code, Codex |