# Codeact

> Codeact is an open-source agent skill for developer tools. Runs Python code through an IPython kernel to carry out tasks with generated tools. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/gradion-ai/ipybox/tree/main/plugin/skills/codeact
- **Repository:** https://github.com/gradion-ai/ipybox
- **GitHub stars:** 76
- **License:** Apache-2.0
- **Skill name:** codeact
- **Collection:** https://github.com/gradion-ai/ipybox
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

This skill tells the agent to perform tasks by writing Python and executing it through the execute_ipython_cell tool of the ipybox MCP server, rather than calling tools one at a time. It points the agent at two folders in the working directory, gentools for generated tool packages and mcptools for MCP-backed Python wrappers, and asks it to check gentools first, then mcptools, and write custom code only when neither fits.

The workflow has the agent list categories and tools, read the relevant interface files, chain tool outputs inside one code cell where useful, and print only what it needs while keeping intermediate results in variables. It also covers how to write output parsers for mcptools functions and how to save a working code action as a reusable gentools tool, both described in reference files bundled with the skill.

It expects the ipybox MCP server to be connected and the gentools and mcptools directories to exist in the working directory. The skill is packaged as part of a Claude Code plugin marketplace.

## When your agent uses it

> Generate and execute code for acting with Python tools. Activate when user explicitly requests to "use the codeact skill" or similar phrases.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/gradion-ai/ipybox/tree/HEAD/plugin/skills/codeact)
- [License: Apache-2.0](https://github.com/gradion-ai/ipybox/tree/HEAD/plugin/skills/codeact)

## Features

- **Python-first task execution:** Routes work through generated Python code run in an IPython kernel instead of step-by-step tool calls.
- **Tool lookup priority:** Searches the gentools package first, then mcptools, and writes custom code only when neither has a fit.
- **Tool chaining in code:** Passes structured output from one Python tool into another within a single executed cell.
- **Output parser generation:** Covers writing output parsers for mcptools Python wrappers via a bundled reference.
- **Saving reusable code actions:** Explains how to turn a working code action into a reusable gentools tool.
- **Restricted tool scope:** Limits the agent to listed Python tools, the ipybox execute and reset tools, and filesystem tools.

## Good for

- Run a sequence of Python tool calls to process data in one go
- Build a custom Python snippet when no existing tool matches the request
- Wrap an MCP server tool as a Python function with a parsed output
- Save a working code snippet as a reusable tool for later sessions

## Install

### Claude Code

This skill ships in the `codeact-default` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add gradion-ai/ipybox
/plugin install codeact-default@ipybox
```

Or copy only this skill to `~/.claude/skills/codeact`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/gradion-ai/ipybox.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/codeact &&
cp -R "$tmp/plugin/skills/codeact" ~/.claude/skills/codeact &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/codeact` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/codeact` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/gradion-ai/ipybox.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/codeact &&
cp -R "$tmp/plugin/skills/codeact" ~/.agents/skills/codeact &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/codeact` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/codeact` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/gradion-ai/ipybox.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/codeact &&
cp -R "$tmp/plugin/skills/codeact" ~/.cursor/skills/codeact &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/codeact` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/gradion-ai/ipybox.git --path plugin/skills/codeact
```

Or copy the folder to `~/.gemini/skills/codeact` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/codeact`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/gradion-ai/ipybox.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/codeact &&
cp -R "$tmp/plugin/skills/codeact" ~/.copilot/skills/codeact &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/codeact` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/gradion-ai/ipybox.git
```

Then copy `ipybox/plugin/skills/codeact` into your agent's skills folder as `codeact`. Agents that support SKILL.md read one folder per skill.

## FAQ

### How is Codeact triggered?

It activates when the user explicitly asks to use the codeact skill or uses similar phrasing.

### What does Codeact need to run?

The ipybox MCP server providing execute_ipython_cell, plus gentools and mcptools directories in the working directory.

### Which tools is the agent allowed to use under Codeact?

Functions in mcptools and gentools, the execute_ipython_cell and reset tools of the ipybox server, and filesystem tools.

### How do I install Codeact in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/codeact to use it in all your projects, or to .claude/skills/codeact in one project. Or install the codeact-default plugin, which includes it: /plugin marketplace add gradion-ai/ipybox, then /plugin install codeact-default@ipybox.

### Does Codeact run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Codeact?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Codeact?

The closest alternatives to Codeact are Code writer, MCP CLI, Agent CLI, Skill creator and Autonomous agent harness.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Code writer](https://ai-powered.com/skills/code-writer): Code writer is an open-source agent skill for developer tools.
- [MCP CLI](https://ai-powered.com/skills/mcp-cli): MCP CLI is an open-source agent skill for developer tools.
- [Agent CLI](https://ai-powered.com/skills/agent-cli): Agent CLI is an open-source agent skill for developer tools.
- [Skill creator](https://ai-powered.com/skills/skill-creator): Skill creator is a free agent skill for ai models and llm tooling.
- [Autonomous agent harness](https://ai-powered.com/skills/autonomous-agent-harness): Autonomous agent harness is an open-source agent skill for developer tools.
- [CLI creator](https://ai-powered.com/skills/cli-creator): CLI creator is a free agent skill for developer tools.
- [Script generator](https://ai-powered.com/skills/script-generator): Script generator is an open-source agent skill for developer tools.
- [Skill creator](https://ai-powered.com/skills/skill-creator-melandlabs): Skill creator is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/codeact
