AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Code Execution

skill-ggozad-haiku-skills-haiku-skills-code-execution · by ggozad

Writes and runs Python code in a sandbox. Describe the task in plain English — the skill will write and execute the program.

No reviews yet
0 installs
10 views
0.0% view→install

Install

$ agentstack add skill-ggozad-haiku-skills-haiku-skills-code-execution

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-ggozad-haiku-skills-haiku-skills-code-execution)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Code Execution? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

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_code calls in the same

task — do expensive work (especially await 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)
# Call 2 — reuse items and sentiments, no re-classification
positives = [item for item, s in zip(items, sentiments) if "positive" in s.lower()]
print(positives)

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.