ClaudeCodeMod

All shelves / Marketplaces

alexander-akhmetov/programmator

alexander-akhmetov/programmator · 2 stars · 1 plugin

Marketplace Autonomous Claude Code orchestrator that executes multi-task plans without supervision.

Install

In Claude Code
/plugin marketplace add alexander-akhmetov/programmator

Run inside Claude Code, then install plugins from it. Check the repo's README before you run it.

Open the repo

Plugins 1

After adding the marketplace, install one with /plugin install <name>@programmator.

  1. 1programmatorAutonomous coding agent orchestrator with multi-agent code review/plugin install programmator@programmatorv1.0.0

Files

README.md

Programmator

CI Go Report Card License: MIT

Autonomous coding agent orchestrator that executes multi-task plans without supervision. Supports Claude Code, pi coding agent, OpenCode, and Codex as executors.

Coding agents are interactive — they require you to watch, approve, and guide each step. For complex features spanning multiple tasks, this means hours of babysitting. As context fills up during long sessions, the model starts making mistakes and producing worse code.

Programmator splits work into isolated sessions with fresh context windows. Each task runs independently, gets reviewed by parallel agents, and can be auto-committed on completion with no supervision needed.

Install with Claude Code

The plugin can help you install and configure programmator. For manual installation without the plugin, see Manual Install.

1. Install the plugin:

claude plugin marketplace add alexander-akhmetov/programmator
claude plugin install -s user programmator

2. Ask Claude to install and configure programmator:

Claude will help you install the binary, verify your executor is available, and optionally create a config file. Just ask — for example: "install and configure programmator".

3. Use it:

Create plans manually or use /plan-to-file to convert Claude Code plans. Then run programmator start ./plan.md.

Manual Install

Download a binary from GitHub Releases, or install with Go (requires 1.26+):

go install github.com/alexander-akhmetov/programmator/cmd/programmator@latest

You'll also need at least one executor: Claude Code, pi coding agent, OpenCode, or Codex.

Quick Start

Write a plan file (plan.md):

# Plan: Fix calculator bugs

## Validation Commands
- `go test ./...`

## Tasks
- [ ] Fix add() to return a + b instead of a - b
- [ ] Fix off-by-one error in loop
- [ ] Add missing nil check in User handler

Run it:

programmator start ./plan.md

Programmator picks up the first unchecked task, invokes Claude Code to complete it, marks it done, and moves to the next. After all tasks complete, it runs a multi-agent code review. When everything passes (or safety limits are hit), it stops.

Examples

Use pi coding agent instead of Claude Code

Create ~/.config/programmator/config.yaml:

executor: pi
pi:
  provider: anthropic # optional
  model: sonnet       # optional

Then programmator start ./plan.md uses pi for all tasks instead of Claude Code.

Minimal config: your own executor + one custom review agent

By default, programmator runs 9 review agents after task completion. You can replace them all with a single custom one:

executor: pi

review:
  agents:
    - name: code-review
      focus:
        - correctness
        - error handling
        - test coverage

This runs pi for coding and a single code-review agent for the final review pass. You can also point to a full custom prompt file:

review:
  agents:
    - name: code-review
      prompt_file: ".programmator/prompts/review/code-review.md"

And in .programmator/prompts/review/code-review.md:

Do a good code review please.
Code with pi, review with Claude Opus
executor: pi

review:
  executor:
    name: claude
    claude:
      flags: "--model opus"

How It Works

Each iteration:

  1. Reads the plan file and finds the first uncompleted task
  2. Builds a prompt with the task context and instructions
  3. Invokes the configured executor in a fresh session
  4. Parses the executor's PROGRAMMATOR_STATUS output block (YAML with status, files changed, summary)
  5. Updates the task checkbox and logs progress
  6. Checks safety limits, then loops back

After all tasks are done, a multi-agent review runs automatically.

Plan

When you run programmator start <thing>, the source type is auto-detected from the argument: file paths → plan file, everything else → ticket ID.

Tickets

If you have ticket CLI installed, programmator can use it to get the plan from the ticket. Tickets are markdown files with YAML frontmatter and checkbox phases.

Files

A plan file is a markdown file with checkbox tasks:

# Plan: Feature Name

## Validation Commands
- `go test ./...`
- `golangci-lint run`

## Tasks
- [x] Task 1: Investigate current implementation and update plan.md (already completed, will be skipped)
- [ ] Task 2: Implement the feature
- [ ] Task 3: Add tests
- [ ] Task 4: Cleanup
  • Title: First # heading (optional Plan: prefix)
  • Validation Commands: Run after each task completion (optional)
  • Tasks: Checkbox items (- [ ] / - [x]) anywhere in the file

Review

After all tasks complete, programmator automatically runs a multi-agent code review. By default 9 agents run in parallel (bug-shallow, bug-deep, architect, simplification, silent-failures, claudemd, type-design, comments, tests-and-linters). Issues found are auto-fixed and re-reviewed, up to 3 iterations.

Review configuration is flexible:

  • Use the default 9 agents
  • Select a subset with review.include / review.exclude
  • Override prompts/focus for default agents with review.overrides
  • Replace defaults entirely with a custom review.agents list
  • Use a different executor/model for review via review.executor

You can also run review standalone on any branch:

programmator review                       # review current branch vs main
programmator review --base develop        # review against a different base

Commands

programmator start ./plan.md              # execute a plan
programmator start ./plan.md --auto-commit # with git workflow (branch + commits)
programmator start pro-1a2b               # execute a ticket
programmator review                       # review-only mode on current branch
programmator run "explain this codebase"  # run configured coding agent with a custom prompt
programmator config show                  # show resolved config

programmator run is a lightweight wrapper around the configured coding agent — pass any prompt as an argument or pipe via stdin. Useful for one-off tasks that don't need plan tracking.

Safety Gates

  • Guard mode: If dcg is installed, programmator uses it to block destructive shell commands during autonomous execution.
  • Max iterations: Prevents runaway loops (default: 50)
  • Stagnation detection: Exits if no files change for N iterations (default: 3)
  • Error repetition: Exits if same error occurs 3 times
  • Timeout: Kills the executor if a single invocation takes too long (default: 45m)
  • Ctrl+C: Graceful stop after current iteration

Auto Git Workflow

Opt-in via config or CLI flags:

  • --auto-commit: Creates a programmator/<slug> branch, commits after each phase
  • --move-completed: Moves completed plans to plans/completed/
  • --branch [optional name]: Custom branch name

Configuration

Programmator uses a unified YAML config with multi-level merge (highest priority last):

  1. Embedded defaults (built into binary)
  2. Global config (~/.config/programmator/config.yaml)
  3. Local config (.programmator/config.yaml in project directory)
  4. CLI flags

See resolved values with programmator config show.

Config keys
Key Default Description
max_iterations 50 Maximum loop iterations before forced exit
stagnation_limit 3 Exit after N consecutive iterations with no file changes
timeout 900 Seconds per executor invocation
executor claude Which coding agent to use ("claude", "pi", "opencode", or "codex")
claude.flags "" Additional flags passed to the claude command
claude.config_dir "" Custom Claude config directory (empty = default)
claude.anthropic_api_key "" Anthropic API key passed to Claude (overrides env)
pi.flags "" Additional flags passed to the pi-coding-agent command
pi.config_dir "" Custom PI_CODING_AGENT_DIR (empty = default)
pi.provider "" LLM provider for pi (e.g. "anthropic", "openai")
pi.model "" Model name for pi (e.g. "sonnet", "gpt-4o")
pi.api_key "" API key for the configured pi provider
opencode.flags "" Additional flags passed to the opencode command
opencode.config_dir "" Custom OPENCODE_CONFIG_DIR (empty = default)
opencode.model "" Model in "provider/model" format (e.g. "anthropic/claude-sonnet-4-5")
opencode.api_key "" API key for the configured provider
codex.flags "" Additional flags passed to the codex command
codex.model "" Model name (e.g. "o3", "gpt-5-codex")
codex.api_key "" OpenAI API key
ticket_command tk Binary name for the ticket CLI (tk or ticket)
git.auto_commit false Auto-commit after each phase completion
git.move_completed_plans false Move completed plans to a completed/ directory
git.completed_plans_dir "" Directory for completed plans (default: plans/completed)
git.branch_prefix "" Prefix for auto-created branches (default: programmator/)
review.max_iterations 3 Maximum review fix iterations
review.parallel true Run review agents in parallel
review.executor.name "" Optional review executor override (claude / pi / opencode / codex, empty = inherit top-level)
review.executor.claude.* "" Review-only Claude settings (flags, config_dir, anthropic_api_key)
review.executor.pi.* "" Review-only PI settings (flags, config_dir, provider, model, api_key)
review.executor.opencode.* "" Review-only OpenCode settings (flags, config_dir, model, api_key)
review.executor.codex.* "" Review-only Codex settings (flags, model, api_key)
review.include [] Subset of built-in review agents (empty = all defaults)
review.exclude [] Remove specific default review agents
review.overrides [] Override default agents by name (focus/prompt/prompt_file)
review.agents [] Explicit custom review agents; when non-empty replaces defaults
review.validators.issue true Run cross-agent false-positive validator
review.validators.simplification true Run simplification value validator
Environment variables

Environment variables used by programmator and its executors:

Variable Default Description
PROGRAMMATOR_DEBUG "" Set to 1 to enable debug output
PROGRAMMATOR_STATE_DIR XDG state dir Override the state directory path
TICKETS_DIR ~/.tickets Where ticket files live
CLAUDE_CONFIG_DIR - Custom Claude config directory (passed to Claude subprocess)
PI_CODING_AGENT_DIR - Custom pi coding agent config directory
OPENCODE_CONFIG_DIR - Custom OpenCode config directory
OPENAI_API_KEY - OpenAI API key (used by Codex executor)
Prompt templates

Prompts are customizable via Go text/template files. Override any prompt by placing a file in:

  • ~/.config/programmator/prompts/ (global)
  • .programmator/prompts/ (per-project)

Available templates: phased.md, phaseless.md, review_first.md. See prompt template docs for variables and examples.

Claude Code Plugin

The plugin (see Install with Claude Code) provides:

  • /programmator-setup — Guided install and configuration of programmator.
  • /plan-to-file — Convert the most recent Claude Code plan into a programmator plan file (plan.md), ready for programmator start ./plan.md.
  • /plan-to-ticket — Convert the most recent Claude Code plan into a programmator ticket (requires ticket CLI).

Documentation

Development

go build ./...                # Build
go test ./...                 # Run tests
go test -race ./...           # Run tests with race detector
make lint                     # Lint (golangci-lint + govulncheck + deadcode + go mod tidy)

# E2E test prep (creates toy projects in /tmp)
make e2e-prep                 # Plan-based run
make e2e-review               # Review mode

Releasing

Push a git tag to trigger a GitHub Actions release via GoReleaser:

git tag v1.0.0
git push origin v1.0.0

Binaries are published for linux/darwin (amd64/arm64).

Facts

Kind
Marketplace
Repo
alexander-akhmetov/programmator
Group
Uncategorized
Stars
2
Marketplace name
programmator
Owner
alexander-akhmetov
License
MIT
Language
Go
Created
2026-01-19
Last push
2026-06-03
Topics
ai-agents, ai-orchestration, claude-code, codex, ralph, ralph-loop, ralph-wiggum
Plugins
1

Next on this shelf

  1. 1542alexeldeib/clodealexeldeib/clode2
  2. 1543amondnet/claude-pluginsamondnet/claude-plugins2
  3. 1544AnthonyKazyaka/plugin-marketplaceAnthonyKazyaka/plugin-marketplace2
  4. 1545AojdevStudio/dev-utils-marketplaceAojdevStudio/dev-utils-marketplace2
  5. 1546azu/claude-code-pluginsazu/claude-code-plugins2
  6. 1547basaltbytes/agentic-toolsbasaltbytes/agentic-tools2