#9763: feat(extensions): add Recoder plugin for AI code generation
stale
Cluster:
Messaging Channel Integrations
## Summary
Adds a new OpenClaw extension for integrating with [Recoder.xyz](https://recoder.xyz) - an AI-powered code generation and project management platform.
### Features
- 🏗️ **Project Management** - Create, list, and delete projects
- 🤖 **AI Code Generation** - Generate code via natural language prompts
- 🐳 **Docker Sandboxes** - Manage containerized development environments
- 📁 **File Operations** - Read, write, list, delete files in sandboxes
- 💻 **Shell Commands** - Execute commands in sandbox containers
- 🔗 **Live Preview** - Get instant preview URLs for apps
### Tools
| Tool | Description |
|------|-------------|
| `recoder_project` | Create and manage projects |
| `recoder_code` | Generate code using AI |
| `recoder_sandbox` | Manage Docker containers |
| `recoder_files` | Read and write files |
| `recoder_shell` | Execute shell commands |
| `recoder_preview` | Get preview URLs |
### API Key Management
API keys are managed automatically:
1. Each OpenClaw user gets a unique API key on first use
2. Keys are cached locally at `~/.openclaw/credentials/recoder-api-keys.json`
3. Keys are automatically verified and refreshed on session start
### CLI Commands
- `openclaw recoder:setup` - Configure Recoder credentials
- `openclaw recoder:status` - Check connection status
- `openclaw recoder:clear-keys` - Clear cached API keys
## Test plan
- [x] Tested API key creation endpoint
- [x] Tested API key verification endpoint
- [x] Tested authenticated sandbox listing
- [x] Tested sandbox creation request
🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!-- greptile_comment -->
<h2>Greptile Overview</h2>
<h3>Greptile Summary</h3>
This PR adds a new `extensions/recoder-plugin` package that registers six agent tools (`recoder_project`, `recoder_code`, `recoder_sandbox`, `recoder_files`, `recoder_shell`, `recoder_preview`) plus CLI setup/status commands. The extension wraps Recoder’s web/API endpoints and a docker-backend API to manage sandboxes, file operations, and command execution, while persisting per-session state under `~/.openclaw/state` and caching per-agent API keys under `~/.openclaw/credentials`.
Key things to double-check before merge: tool auth depends on API key provisioning during `session_start`, and several tools snapshot config early; plus one runtime crash and one schema/implementation mismatch were found (see inline comments).
<h3>Confidence Score: 2/5</h3>
- This PR needs fixes before merge due to a likely broken auth flow and a runtime crash path.
- The extension provisions API keys on session start but the tools snapshot plugin config at registration time, so requests can run without the generated key. Additionally, `recoder_code` can crash when a project lacks a sandbox, and `recoder_sandbox`’s schema doesn’t advertise an implemented action.
- extensions/recoder-plugin/index.ts; extensions/recoder-plugin/src/tools/{recoder-*.ts}
<!-- greptile_other_comments_section -->
<sub>(2/5) Greptile learns from your feedback when you react with thumbs up/down!</sub>
**Context used:**
- Context from `dashboard` - CLAUDE.md ([source](https://app.greptile.com/review/custom-context?memory=fd949e91-5c3a-4ab5-90a1-cbe184fd6ce8))
- Context from `dashboard` - AGENTS.md ([source](https://app.greptile.com/review/custom-context?memory=0d0c8278-ef8e-4d6c-ab21-f5527e322f13))
<!-- /greptile_comment -->
Most Similar PRs
#7088: feat: add Camb AI extension
by neilruaro-camb · 2026-02-02
77.1%
#19935: Add SoundChain extension — music API + War Room diagnostic pipeline
by soundchainio · 2026-02-18
77.1%
#19787: feat: Antigravity Fork - Token Economy, Mem0, sqlite-vec, Auto-Arch...
by msrovani · 2026-02-18
76.2%
#7346: Security: add hardening module and secure-bot extension
by AlphonseC · 2026-02-02
73.5%
#14222: core: add needsApproval to before_tool_call; move AgentShield to ex...
by Eventedge · 2026-02-11
73.1%
#10486: feat: A2A protocol plugin
by benclarkeio · 2026-02-06
73.1%
#19953: Add SoundChain extension + Agent Eye browser bug catcher
by soundchainio · 2026-02-18
73.0%
#18134: feat(discord): add semantic search tool for Discord messages
by zerone0x · 2026-02-16
72.5%
#17273: feat: add security-guard extension — agentic safety guardrails
by miloudbelarebia · 2026-02-15
72.4%
#8795: feat(memory): add Redis-backed long-term memory plugin
by tf-gmail · 2026-02-04
72.0%