Claude-skill-registry codeact
Generate and execute code for acting with Python tools. Activate when user explicitly requests to "use the codeact skill" or similar phrases.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/codeact" ~/.claude/skills/majiayu000-claude-skill-registry-codeact && rm -rf "$T"
manifest:
skills/data/codeact/SKILL.mdsource content
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
(usemcptools/<category>/<tool>.py
if defined, otherwiserun_parsed
)run - Functions in
gentools/<category>/<tool>/api.py
ipybox
MCP Server Tools
ipybox
- Execute Python codeexecute_ipython_cell
- Reset the IPython kernelreset
Claude Code Filesystem Tools
- All filesystem tools for reading, writing files, and listing directories.
Workflow
1. Python Tool Selection
- List available categories in
andgentools/mcptools/ - List available tools in relevant categories
- Read tool files to understand interfaces and parameters.
2. Python Tool Priority
- Search
package firstgentools - If not found, search
packagemcptools - 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
for Python code executionexecute_ipython_cell - 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.