Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Multi-agent code generation with retrieval, planning, coding, and debugging pipeline
npx claudepluginhub newjerseystyle/plugin-map-coderYou are a specialized Coding Agent in the MapCoder pipeline. Your role is to translate algorithmic plans into working, tested code.
You are a specialized Debugging Agent in the MapCoder pipeline. Your role is to analyze failing code, identify root causes, and generate corrected implementations.
You are a specialized Planning Agent in the MapCoder pipeline. Your role is to design detailed, step-by-step algorithmic plans that can be directly translated into code.
You are a specialized Retrieval Agent in the MapCoder pipeline. Your role is to generate similar problems from your knowledge that can inform the solution to a given coding problem.
Generate executable code from algorithmic plans. Part of the MapCoder pipeline.
Debug and fix failing code using plans and test feedback. Part of the MapCoder pipeline.
Create step-by-step algorithmic plans for code generation. Part of the MapCoder pipeline.
Generate similar problems from knowledge to aid code generation. Part of the MapCoder pipeline.
Solve coding problems using multi-agent retrieval, planning, coding, and debugging pipeline. Use when solving algorithmic problems, implementing features from specifications, or when code needs iterative refinement.
Modifies files
Hook triggers on file write and edit operations
Uses power tools
Uses Bash, Write, or Edit tools
Share bugs, ideas, or general feedback.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Delegate plan execution to Codex CLI via ASP. Part of cc-multi-cli-plugin. Requires the `multi` plugin.
Expert agents for specific programming languages (Python, Go, Rust, etc.)
Autonomous session orchestrator for Claude Code - manages multi-phase development workflows
OpenAgentsControl — multi-agent orchestration for Claude Code. Context-aware development with skills, subagents, parallel execution, and automated code review.
Curated skills for Claude Code and Codex power users - tool selection, workflow optimization, and productivity
Self-evolving Claude Code system that learns from corrections, manages context, and improves every session
Logic-LLM integration for Claude Code - enables symbolic reasoning with Prolog, Clingo/ASP solvers. Converts documents to logic programs for complex reasoning, legal document processing, and multi-turn inference.
Monte Carlo Tree Search (MCTS-LLM) for intelligent problem solving in research, planning, and coding tasks
A multi-agent code generation plugin that replicates the human programming cycle through four specialized agents: Retrieval, Planning, Coding, and Debugging. Port of MapCoder: Multi-Agent Code Generation for Competitive Problem Solving
• 🐱 Code • 📃 Paper • 🌐 Website
MapCoder implements a systematic approach to solving coding problems:

/plugin marketplace add NewJerseyStyle/Claude-plugins-marketplace
/plugin install mapcoder@code-agent-ports
# Solve a coding problem (defaults to Python)
/mapcoder implement binary search
# Specify a language
/mapcoder --lang javascript implement a debounce function
# Use sandbox for safer execution
/mapcoder --sandbox implement file operations
# Read problem from file
/mapcoder problem.txt
| Skill | Description |
|---|---|
/mapcoder | Full pipeline: retrieve → plan → code → debug |
/mapcoder-retrieve | Generate similar problems from knowledge |
/mapcoder-plan | Create algorithmic plans |
/mapcoder-code | Implement code from plans |
/mapcoder-debug | Fix failing code |
Default language is Python. Supported languages:
| Language | Flag | Example |
|---|---|---|
| Python | --lang python | /mapcoder --lang python two sum |
| JavaScript | --lang javascript | /mapcoder --lang javascript two sum |
| TypeScript | --lang typescript | /mapcoder --lang typescript two sum |
| Rust | --lang rust | /mapcoder --lang rust two sum |
| Go | --lang go | /mapcoder --lang go two sum |
| Java | --lang java | /mapcoder --lang java two sum |
| C++ | --lang cpp | /mapcoder --lang cpp two sum |
MapCoder can integrate with external knowledge bases for enhanced retrieval for best performance. Two options are supported:
Best for teams with existing infrastructure who want powerful web crawling and RAG capabilities.
Requirements:
Setup:
docker-compose up -d.mcp.json in this plugin and set "disabled": false for crawl4ai-ragBest for local development with minimal setup.
Setup:
npm install -g mcp-rag-server (Follow the setup guide at: https://github.com/kwanLeeFrmVi/mcp-rag-server#installation).mcp.json in this plugin and set "disabled": false for rag-serverFor safer code execution, especially when working with file operations or untrusted problems, use the sandbox feature.
Install Docker: https://docs.docker.com/get-docker/
Build the sandbox image:
cd mapcoder-plugin
docker build -t mapcoder-sandbox -f Dockerfile.sandbox .
Verify it works:
./scripts/sandbox-runner.sh python -c "print('Hello, Sandbox!')"
Add --sandbox flag to any /mapcoder command:
/mapcoder --sandbox implement file deletion utility
Environment variables for sandbox:
| Variable | Default | Description |
|---|---|---|
MAPCODER_SANDBOX_IMAGE | mapcoder-sandbox | Docker image name |
MAPCODER_TIMEOUT | 30 | Execution timeout (seconds) |
MAPCODER_MEMORY | 256m | Memory limit |
MAPCODER_CPU | 1 | CPU limit |
When running without --sandbox, code executes directly on your system.
Recommendations:
The plugin validates syntax before execution but cannot guarantee code safety. Always review:
Edit hooks/hooks.json to customize validation: