cd /news/ai-agents/show-hn-self-improving-agentorchestr… · home topics ai-agents article
[ARTICLE · art-135990] src=github.com ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Show HN: Self Improving AgentOrchestrator Skill

Claramap Builder, an MIT-licensed open-source agent skill that orchestrates software development with Claude Code and Codex, was released by developer mathaix. The skill accepts a goal via the `/implement` command, breaks it into tasks, assigns each worker context and a model matched to task complexity, validates returned work, integrates changes, and iterates until required checks pass. The current implementation runs on Claude Code, Codex, and SpecStory, with SpecFlow guiding the workflow and Kiro-style specs using EARS structuring feature documents.

read8 min views3 publishedSep 21, 2026
Show HN: Self Improving AgentOrchestrator Skill
Image: Michielbdejong (auto-discovered)

Agent Skills to Orchestrate Code Development.

Claramap Builder is an open-source agent skill that orchestrates software development with Claude Code and Codex. Install it in your coding harness and invoke /implement with a goal. It breaks the goal into manageable tasks, gives each worker the context it needs, and selects models based on task complexity. It validates what comes back, integrates the changes, and iterates until the requested behavior is implemented and the required checks pass.

The skill bundles instructions, references, spec templates, and executable helpers. The current implementation runs on Claude Code, Codex, and SpecStory, with SpecFlow guiding the workflow and Kiro-style specs using EARS structuring the feature documents. See attribution. The AgentSkill format can be adapted to other coding harnesses; the shipped setup uses Claude Code as its host. See harness support.

Install the skill · How it works · Architecture

I built Claramap Builder to make agent-driven development easier to coordinate, inspect, and improve. Three goals shaped it:

Orchestrate development across coding harnesses. Package the workflow as an AgentSkill so its instructions, context, and development practices can travel with the tools I use. The current implementation connects Claude Code and Codex; adapting another harness means wiring its execution and review capabilities. 2. Use a powerful orchestrator and delegate to specific subagents. Keep the full goal and project context with a capable coordinator. Give each subagent a scoped task, the context it needs, and a model matched to the work's complexity. The orchestrator validates what comes back, integrates it, and drives the next iteration. 3. Capture the work so I can improve the workflow. Preserve conversations, worker attempts, check results, and review findings. Use those records to understand repeated work, slow handoffs, and verification gaps, then make targeted improvements and evaluate them on later runs.

I wanted spec-driven development with a coordinator that owns the complete goal: assigning contextual work, validating the integrated result, and preserving evidence for the next run. Claramap Builder packages that workflow as an MIT-licensed agent skill with inspectable helpers.

Approach Documents and structure Workflow support
Kiro feature specs Requirements, design, and tasks; EARS acceptance criteria Spec workflow integrated into Kiro
GitHub Spec Kit Specification, technical plan, and tasks CLI setup, templates, and agent skills/commands for implementation and convergence
Codex project instructions AGENTS.md carries project instructions; teams supply their own spec conventions Codex loads instructions into agent context; project tools and checks implement additional gates
Claude Code project instructions CLAUDE.md carries project instructions; teams supply their own spec conventions Claude loads instructions into agent context; project tools and checks implement additional gates
Claramap Builder Kiro-style specs, EARS, scoped worker briefs, exact-tree review records, and token reports Agent skill plus worker, review, usage, and recovery helpers; currently coordinates Claude Code and Codex

These approaches operate at different layers and can be combined. A project's SPEC.md and use of RFC 2119 words such as MUST or SHOULD are authoring choices; this comparison does not treat them as a universal Codex or Claude Code spec format.

Claramap Builder's review helper checks that approval names the reviewed Git tree and that the captured content remains unchanged. The coordinator still judges reviewer independence, finding dispositions, and check results. Token reports show observed usage, not verified billing. See Architecture for the boundaries of those guarantees.

See the Architecture guide for the full workflow, component responsibilities, installation requirements, and where specs and run records live.

These are separate projects used by the skill. Set up the tools before your first build; scripts/install.py only copies Claramap Builder's skill files.

Project What it is and how we use it Install beforehand?
Claude Code Anthropic's terminal coding agent. Hosts the skill, coordinates tasks and repairs, and runs a separate agent for independent review. Yes. Install and authenticate; ensure access to the configured reviewer.Setup .
Codex CLI OpenAI's terminal coding agent. Runs scoped workers with relevant context and a model selected for task complexity. Yes for delegated builds. Install and authenticate before launching workers. Direct Claude tasks do not launch Codex.Setup .
SpecStory CLI A tool that saves AI coding conversations as local Markdown. Captures coordinator and worker history for recovery and workflow analysis. Yes. Install its CLI and enable capture before starting the documented workflow.Setup .
SpecFlow SpecStory's methodology for building with software agents: intent, roadmap, tasks, execution, and refinement. Structures our specs and worker briefs. No. Its planning approach is incorporated in the bundled templates and instructions.Method guide .

Python 3.11+, Git, and macOS/Linux or WSL are also required for the helpers. The installation guide gives the setup order and checks. The architecture guide explains capture records and how the components connect.

Install and authenticate the tools listed above, then install the skill:

git clone https://github.com/mathaix/claramap-builder.git ~/claramap-builder
cd ~/claramap-builder
python3 scripts/install.py implement

This copies the primary skill into ~/.claude/skills/implement, making /implement available across your projects. You do not repeat this installation for each build. See installation and updates for model access, project-specific installation, and upgrading the skill.

Start in your project. Open Claude with session capture from the product repository:

cd /path/to/your/project
specstory run claude --no-cloud-sync

When using Codex workers, keep specstory watch --no-cloud-sync running in another terminal in the relevant worktree. Seecapture setup . An existing captured session can handle subsequent goals. 2. Describe the outcome. Give the skill a goal, constraints, and acceptance criteria:

/implement Add a display-name setting. Save it using the existing profile API,
preserve account permissions, and verify that it survives a page reload.

Build and iterate. Claude inspects the code, creates specs where needed, and breaks the goal into scoped work. It gives workers relevant context, selects models for task complexity, validates returned work, and integrates the changes. Failed checks and blocking review findings return for repair; missing access or unresolved requirements remain explicit blockers. 4. Inspect the result. Review the changed code, check results, independent review findings, and remaining gaps. Larger changes include requirements, design, and task progress inyour product repository at specs/<slug>/ . Run evidence stays in~/.claude/implement/ , and conversations in the worktree's.specstory/history/ . SeeWhere files live . 5. Commit and publish through your project workflow. Have the coordinator perform authorized Git and PR actions, or handle them yourself. Commit product specs with the code, keep raw run records local, and satisfy your repository's review and CI requirements. Specify deployment separately when you want it. 6. Resume or improve when needed. If interrupted, ask/implement to resume the existing run, reconcile Git and worker state, and continue remaining work. After a build, use/improve-workflow to investigate bottlenecks and recommend improvements.

The first-build guide provides more detail. The illustrative walkthrough shows the records and review process using a synthetic example.

Claramap Builder is MIT licensed. Model usage runs through your existing accounts and is subject to their billing.

The companion /improve-workflow skill examines completed runs to find repeated work, slow handoffs, and verification gaps. Ask why a small fix took an hour, where checks were duplicated, or what should change before the next build.

Install it from this repository:

python3 scripts/install.py improve-workflow

Then ask in your project:

/improve-workflow Review the last three runs. Find repeated work and bottlenecks,
and recommend improvements without editing yet.

It connects findings to recorded evidence and can apply targeted improvements when requested. Compare later runs to see whether those changes helped. See the workflow improvement guide.

Guide Purpose
Your first build Install, give a goal, inspect the result, and resume
How orchestration works Task scoping, worker selection, validation, and completion
Architecture Claude, Codex, SpecStory, SpecFlow, capture records, and harness support
Installation and configuration Prerequisites, model policy, project setup, updates, and removal
Improve the next build Investigate runs and apply evidence-based improvements
Illustrative walkthrough Follow a request through specs, checks, and review
Contributing Repository structure, tests, and contribution guidance

The installed agent instructions live in implement and improve-workflow. See the spec format and provenance.

Claramap Builder combines existing ideas with its own orchestration and verification helpers. Credit for the foundations belongs to:

  • Kiro: the three-file feature-spec layout (requirements.md ,design.md ,tasks.md ), EARS-based requirements, tasks that cite requirement IDs, and keeping specs versioned with the code. See itsrequirements-first workflow andversion-control guidance .
  • EARS — Easy Approach to Requirements Syntax: the event-drivenWHEN … THE SYSTEM SHALL … sentence form. Developed by Alistair Mavin and colleagues and first published in 2009, EARS predates both Kiro and SpecFlow.
  • SpecFlow: the five-phase framing of intent, roadmap, tasks, execute, and refine, including assigning tasks to humans or AI. Itsprompt-context concept carries into ourworker briefs ./improve-workflow applies the Refine phase to the development workflow itself.
  • SpecStory: the conversation-capture tooling used by the current implementation, and the publisher of SpecFlow. Its CLI is an installed dependency; its captured history supports recovery and workflow analysis.

The templates are our adaptations. Worker model routing, execution records, review snapshots, and recovery helpers are Claramap Builder's implementation. Kiro, EARS, and SpecFlow supply structure and methodology and require no separate installation for this skill; SpecStory supplies a tool that must be installed for capture.

Built by mathaix.

── more in #ai-agents 4 stories · sorted by recency
── more on @claramap builder 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-self-improvi…] indexed:0 read:8min 2026-09-21 ·