Agent skill
code-execution
Write and execute Python code to solve tasks.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/code-execution-ggozad-haiku-skills
SKILL.md
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
- Execute the code and return the result
- Report any errors clearly and retry with a fix if needed
Sandbox limitations
Code runs in Monty, a minimal sandboxed Python interpreter. Only these features are available:
- Basic types: int, float, str, bool, list, dict, tuple, None
- Control flow: if/elif/else, for, while, break, continue
- Functions: def, lambda, return (no classes)
- Built-in modules: sys, typing, asyncio, dataclasses, json
- Built-in functions: print, len, range, enumerate, zip, map, filter, sorted, reversed, min, max, sum, abs, round, isinstance, type, str, int, float, bool, list, dict, tuple, set
Not available: standard library (os, math, re, etc.), third-party packages, file/network/environment access, classes, match statements.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?