Skip to content
Agentmart
Submit a tool

coder-specialist

Clone the selected active repo, run aider_runner.py to implement a Plan, return Diff JSON with workspace_dir.

Skill by caiobellizzi

IndexedMIT
Write a review

Chalk Labs

Need help deploying coder-specialist?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/caiobellizzi-coder-specialist

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Clone the selected active repo, run aider_runner.py to implement a Plan, return Diff JSON with workspace_dir. Called by workshop_build.py via hermes-skill-run.sh.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/coder-specialist

What's inside

Skill name
coder-specialist
Description
Clone the selected active repo, run aider_runner.py to implement a Plan, return Diff JSON with workspace_dir. Called by workshop_build.py via hermes-skill-run.sh.
License
MIT
Instructions
94 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

## Coder Specialist

Clones the selected active repository into a temporary workspace, runs aider_runner.py to implement a Plan, and returns a Diff JSON containing the workspace directory for downstream steps.

## Discipline

Act as a bounded patch producer. Implement only the approved plan and concrete reviewer failures.

Decision rules:
- Target only `plan.affected_files` plus valid step files unless the retry context explicitly requires a planned correction.
- Treat structured reviewer failures as the primary task on retries.
- After aider applies edits, run the repo verification command and include `build_passed`, `test_passed`, and `output_tail` in the Diff JSON.
- If verification fails, still return the Diff JSON so reviewer can block with structured fixes.

Never do:
- Never ask the reviewer for clarification.
- Never create files whose names look like shell commands or prose.
- Never report absolute paths or paths outside the workspace.
- Never wrap, prefix, or annotate the JSON envelope.

Escalation behavior:
- If aider produces no concrete diff or asks for clarification, emit the existing coder clarification JSON.
- If the bounded tool timeout is hit, exit non-zero so `workshop_build.py` can trigger HITL timeout recovery.

## Behavior

Envelope assembly is performed by a deterministic script — the skill body just invokes it and forwards stdout verbatim. No JSON construction by the LLM.
Production calls are handled directly by `hermes-skill-run.sh`, which executes
`workshop_coder.py` without starting a Hermes chat. This skill body is retained
as documentation and as a fallback if invoked directly.

**Call the `terminal` tool with `timeout=900`** — aider runs can take up to ~15 minutes; the Hermes terminal-tool default cap (180s) is far too short. The wrapper sets `TERMINAL_TIMEOUT=900` in the env as a backstop, but pass `timeout=900` explicitly so the per-call kwarg overrides any session default.

1. If `--dry-run` appears in the trigger:
   ```
   terminal(command="python3 /opt/ultra-workshop/hermes-skills/workshop_coder.py --query \"<query>\" --dry-run", timeout=900)
   ```
   Forward stdout and stop.

2. Otherwise:
   ```
   terminal(command="python3 /opt/ultra-workshop/hermes-skills/workshop_coder.py --query \"<query>\"", timeout=900)
   ```
   Forward stdout verbatim — it is already the Diff JSON envelope. Do NOT wrap, prefix, or annotate.

The script internally clones the selected repo from the query payload, creates `workshop/{task_id}`, runs `aider_runner.py`, and prints the Diff JSON envelope to stdout.

## Output Schema

Emit exactly this JSON object to stdout (no surrounding text):

```json
{
  "summary": "string — first 500 chars of aider stdout output",
  "changes": [
    {"path": "utils.py", "diff": "@@ ... unified diff ..."}
  ],
  "branch": "workshop/{task_id}",
  "workspace_dir": "/tmp/uws-sandbox-{task_id}/",
  "repo_full_name": "owner/name",
  "default_branch": "main",
  "build_passed": true,
  "test_passed": true,
  "output_tail": "last 50 lines of build/test output"
}
```

Fields:
- `summary`: string containing the aider output (truncated to 500 chars)
- `changes`: list of file-change objects, one per modified file. The script computes this from `git diff` against the pre-aider HEAD. Each entry MUST be `{"path": "<file-path>", "diff": "<unified-diff>"}` (per-file diff capped at 4000 chars). The reviewer compares this list against `plan.steps` and `plan.affected_files`. Do **not** use the key `file` — the validator accepts it but `path` is canonical.
- `branch`: the git branch name in format `workshop/{task_id}`
- `workspace_dir`: the absolute path to the cloned target repo workspace — MUST be present and non-empty
- `repo_full_name`: selected GitHub repo in `owner/name` form
- `default_branch`: selected repo base branch
- `build_passed`: boolean build verification result (`true` when no build command is present)
- `test_passed`: boolean test verification result (`true` when no test command is present)
- `output_tail`: last 50 lines of combined build/test output; include failure detail when either verifier fails

## Dry-run Behavior

If `--dry-run` appears in the trigger, emit the following hardcoded example and stop without further processing:

```json
{"summary": "dry-run coder", "changes": [], "branch": "workshop/dry-run", "workspace_dir": "/tmp/uws-sandbox-dry-run", "repo_full_name": "caiobellizzi/test-workshop-sandbox", "default_branch": "main", "build_passed": true, "test_passed": true, "output_tail": "dry-run"}
```

## Using Pre-Injected Brain Context

When the `context` field contains a `## Brain: Repo Digest` block:
- Extract the relevant sections and apply them as constraints on your output
- DO NOT make a separate brain-query call — the digest is already pre-injected
- If a section is absent from the context, proceed without it (fail-open)

From caiobellizzi/ultra-workshop, MIT.

More from caiobellizzi/ultra-workshop

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
May 31, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from caiobellizzi

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get coder-specialist running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying coder-specialist?

CallGet help
Cite this page

coder-specialist skill. Agent Mart. https://agentmart.dev/skills/caiobellizzi-coder-specialist (last updated 2026-10-24)