codeact
FreeNo executable scriptsNot checkedGenerate and execute code for acting with Python tools. Activate when user explicitly requests to "use the codeact skill" or similar phrases.
About this skill
Use Python tools to perform tasks.
You must use the execute_ipython_cell tool of the ipybox MCP server for executing Python code.
All operations must follow the tool usage restrictions and workflows defined below.
Tool Directories
The gentools/ and mcptools/ directories are in the working directory shown in your <env> block. All paths are relative to the working directory, NOT to this skill's base directory.
Tool Usage Restrictions
You are restricted to these tools only:
Python Tools
- Functions in
mcptools/<category>/<tool>.py(userun_parsedif defined, otherwiserun) - Functions in
gentools/<category>/<tool>/api.py
ipybox MCP Server Tools
execute_ipython_cell- Execute Python codereset- Reset the IPython kernel
Claude Code Filesystem Tools
- All filesystem tools for reading, writing files, and listing directories.
Workflow
1. Python Tool Selection
- List available categories in
gentools/andmcptools/ - List available tools in relevant categories
- Read tool files to understand interfaces and parameters.
2. Python Tool Priority
- Search
gentoolspackage first - If not found, search
mcptoolspackage - If no appropriate tool exists, generate custom code
3. Code Generation and Python Tool Chaining
- Generate code that uses selected Python tools as argument for
execute_ipython_cell. - Chain Python tools in the generated code if the structured output of one tool can be used as input for another tool.
4. Code Execution
- Use the
execute_ipython_cellfor Python code execution - Print only required information, not intermediate results
- Store intermediate results in variables
Output Parsers
When generating output parsers for Python tools in the mcptools package, see references/output-parsers.md.
Saving Code Actions
To save executed code as a reusable gentools tool, see references/saving-codeacts.md.
Install codeact in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
FAQ
What does the codeact skill do?
Generate and execute code for acting with Python tools. Activate when user explicitly requests to "use the codeact skill" or similar phrases.
How do I install the codeact skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the codeact skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
by Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
by Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
by Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
by Anthropic