Broken local dev setup diagnosed and fixed
The agent reads the error output, checks versions and config, runs fix steps from an allow-list and verifies the build. It documents what it did. You approve commands.
What the agent does
- 1
Read the error output.
- 2
Check versions and config.
- 3
Run fix steps.
- 4
Verify the build.
- 5
Document the fix. → developer approves commands
Enough to decide?
Proposed pattern- Required input
- No example input written yet
- Example output
- No example output written yet
- Stop condition
- destructive commands; allow-list
- Reviewer
- Not yet independently reviewed
- Last run
- Not run by us yet
What it costs to run
A rough range per run, from the cheapest to the dearest of the paid models we checked. Your real cost depends on how much text you send.
Checked 2026-11-25 source
$0.001 to $0.22 per run · $0.011 per run with a mid-priced model
- Small, cheap model
- $0.001 per runPer 100 runs: $0.08
- Typical
- $0.011 per runPer 100 runs: $1.13
- Large model
- $0.22 per runPer 100 runs: $22.00
Free tiers and local models can bring this to zero while you test.
How we worked this out
- 5 model calls, one per step (at least 2)
- 2,000 input tokens per call
- 500 output tokens per call
- each call re-reads the earlier outputs
- no retries, no loops, no cached-input discount
- Longer inputs cost more; agents that retry or loop use more calls.
- Free tiers may cover small volumes: see free AI tokens.
- Local models have no per-token price but need your own hardware.
Works with
Tags
Before you start
- Access the agent needs
- cloud-console, chat
- Who approves
- developer approves commands
- What to log
- every action it proposes and the decision taken
- When to stop
- destructive commands; allow-list
Why it is worth it
Broken dev setups waste a morning.
Start this week
- Let the agent read the error output.
- Have it run fix steps from an allow-list.
- Check the build works.
Watch out for
Running arbitrary commands is risky, so the agent uses only steps from an allow-list.
Measure this
Time to a working setup.
About this entry
Proposed pattern Checked 2026-11-27 Next check 2026-12-25 v2026-11-27.1
What we checked
| Item | Result | Date | By | Source and note |
|---|---|---|---|---|
| Text and steps | Checked | 2026-11-25 | — | — |
| Human checkpoint and risks | Checked | 2026-11-25 | Reviewer to be named | — |
| Workflow run | Not checked yet | — | — | — |
| Cost estimate | Checked | 2026-11-25 | — | source · mid-priced model assumed |
| Tool links | Not checked yet | — | — | — |
| Outside evidence | Not checked yet | — | — | — |
Limitations
- This is a pattern written from how the job is usually done. We have not run it.
- Steps, tools and risks are general. Your systems and rules will differ.
- Test it with made-up or public data before using real data.
- Not checked yet: workflow run, tool links, outside evidence.
Change history
- Watch-out line rewritten spec v2026-11-27.1
- Long text added: why it is worth it, how to start, what to watch out for, how to measure it spec v2026-11-26.1
- Added to the catalogue spec v2026-11-25.1
Evidence
- No outside evidence yet; this is our own analysis.
Spec versions
- v2026-11-27.1 · Watch-out line rewritten
- v2026-11-26.1 · Long text added: why it is worth it, how to start, what to watch out for, how to measure it
- v2026-11-25.1 · Added to the catalogue
Run it with AI
Pick the AI you already use.
You are helping developer. Goal: Broken local dev setup diagnosed and fixed. The agent reads the error output, checks versions and config, runs fix steps from an allow-list and verifies the build. It documents what it did. You approve commands. Work through these steps and show your result for each: 1. Read the error output. 2. Check versions and config. 3. Run fix steps. 4. Verify the build. 5. Document the fix. Tools or data I can give you: cloud-console, chat. Ask me for anything missing before you start. Do not take any action yourself; stop for my decision where: developer approves commands. Watch for: destructive commands; allow-list.
Opens the tool with your prompt already filled in. Review it there before you send.
Copies the prompt, then opens the tool. Paste it in to start.
Nothing happened? The Claude Desktop app (Mac, Windows, or Linux, where it is still in beta) may not be installed. Use the copy button instead.
ROLE: Assistant for developer. TASK: Broken local dev setup diagnosed and fixed. SUMMARY: The agent reads the error output, checks versions and config, runs fix steps from an allow-list and verifies the build. It documents what it did. You approve commands. PROCEDURE: 1. Read the error output. 2. Check versions and config. 3. Run fix steps. 4. Verify the build. 5. Document the fix. HUMAN CHECKPOINT: developer approves commands GUARDRAILS: destructive commands; allow-list RULES: ask when inputs are missing; never invent facts; cite where each fact came from.
Copies the prompt, then opens the tool. Paste it in to start.
{
"name": "local-dev-environment-fixer-0095",
"goal": "Broken local dev setup diagnosed and fixed",
"persona": [
"developer"
],
"autonomy": "supervised",
"tools": [
"cloud-console",
"chat"
],
"plan": [
"Read the error output.",
"Check versions and config.",
"Run fix steps.",
"Verify the build.",
"Document the fix."
],
"human_in_the_loop": "developer approves commands",
"guardrails": "destructive commands; allow-list",
"output": "a draft for human review"
}Copies the prompt, then opens the tool. Paste it in to start.
{
"trigger": "On demand (manual start)",
"steps": [
{
"n": 1,
"do": "Read the error output."
},
{
"n": 2,
"do": "Check versions and config."
},
{
"n": 3,
"do": "Run fix steps."
},
{
"n": 4,
"do": "Verify the build."
},
{
"n": 5,
"do": "Document the fix."
}
],
"connects": [
"cloud-console",
"chat"
],
"approval": "developer approves commands",
"stop_on": "destructive commands; allow-list"
}Copies the prompt, then opens the tool. Paste it in to start.
{
"name": "local-dev-environment-fixer-0095",
"goal": "Broken local dev setup diagnosed and fixed",
"persona": [
"developer"
],
"autonomy": "supervised",
"tools": [
"cloud-console",
"chat"
],
"plan": [
"Read the error output.",
"Check versions and config.",
"Run fix steps.",
"Verify the build.",
"Document the fix."
],
"human_in_the_loop": "developer approves commands",
"guardrails": "destructive commands; allow-list",
"output": "a draft for human review"
}Opens the tool with your prompt already filled in. Review it there before you send.
Copies the prompt, then opens the tool. Paste it in to start.
You are helping developer. Goal: Broken local dev setup diagnosed and fixed. The agent reads the error output, checks versions and config, runs fix steps from an allow-list and verifies the build. It documents what it did. You approve commands. Work through these steps and show your result for each: 1. Read the error output. 2. Check versions and config. 3. Run fix steps. 4. Verify the build. 5. Document the fix. Tools or data I can give you: cloud-console, chat. Ask me for anything missing before you start. Do not take any action yourself; stop for my decision where: developer approves commands. Watch for: destructive commands; allow-list.
Copies the prompt, then opens the tool. Paste it in to start.
You are helping developer. Goal: Broken local dev setup diagnosed and fixed. The agent reads the error output, checks versions and config, runs fix steps from an allow-list and verifies the build. It documents what it did. You approve commands. Work through these steps and show your result for each: 1. Read the error output. 2. Check versions and config. 3. Run fix steps. 4. Verify the build. 5. Document the fix. Tools or data I can give you: cloud-console, chat. Ask me for anything missing before you start. Do not take any action yourself; stop for my decision where: developer approves commands. Watch for: destructive commands; allow-list.
Copies the prompt, then opens the tool. Paste it in to start.
{
"name": "local-dev-environment-fixer-0095",
"goal": "Broken local dev setup diagnosed and fixed",
"persona": [
"developer"
],
"autonomy": "supervised",
"tools": [
"cloud-console",
"chat"
],
"plan": [
"Read the error output.",
"Check versions and config.",
"Run fix steps.",
"Verify the build.",
"Document the fix."
],
"human_in_the_loop": "developer approves commands",
"guardrails": "destructive commands; allow-list",
"output": "a draft for human review"
}Copies the prompt, then opens the tool. Paste it in to start.
{
"name": "local-dev-environment-fixer-0095",
"goal": "Broken local dev setup diagnosed and fixed",
"persona": [
"developer"
],
"autonomy": "supervised",
"tools": [
"cloud-console",
"chat"
],
"plan": [
"Read the error output.",
"Check versions and config.",
"Run fix steps.",
"Verify the build.",
"Document the fix."
],
"human_in_the_loop": "developer approves commands",
"guardrails": "destructive commands; allow-list",
"output": "a draft for human review"
}Copies the prompt, then opens the tool. Paste it in to start.
At a glance
- For
- developer
- Industry
- software
- Autonomy
- supervised
- Difficulty
- Works with
- Steps
- 5 · 1 human checkpoint
- Runs as
- on demand
- Needs approval
- developer approves commands
- What it costs to run
- $0.011 per run with a mid-priced model
- Evidence
- ID
UC-0095
Compare routes for this job
Share this comparison| For this job | Claude | ChatGPT | Ollama |
|---|---|---|---|
| What you do by hand | Paste or attach the input each time, check the answer, and carry the result to where it goes yourself. | Set up the assistant once with your instructions and files. Then paste or attach each new input, check the answer and carry the result on. | Install the tool and a model, run the task on your own machine and check the result yourself. |
| Human checkpoint | developer approves commands | ||
| Typical API cost (same for every route) | $0.011 per run with a mid-priced model checked 2026-11-25 · pricing source | ||
| Learning curve | Point and click | Point and click | Terminal |
| Price model | free tier | free tier | free |
| Where your data goes | What you type and upload goes to Anthropic's servers and is handled under its terms. Check its data settings before you use real work data. | What you type and upload goes to OpenAI's servers and is handled under its terms. Check its data settings before you use real work data. | The model runs on your own computer, so your prompts and files stay there unless you connect an online model yourself. |
| Before you start | An account on the website. The free plan is enough to try it. | An account on the website. The free plan is enough to try it. | Install it and download a model. A computer with plenty of memory, ideally a good graphics card, makes it usable. |
| Evidence for this route | Proposed pattern | Proposed pattern | Proposed pattern |
| Open | Open in run panel Tool page | Open in run panel Tool page | Open in run panel Tool page |
Where to go from here
All developer use casesSimilar work
These use cases do the same kinds of work as this one. Each card shows what they have in common.
Failing test reproduced and patched
The agent reads the CI failure, checks out the branch, reproduces the failure, edits the code and runs the tests before opening a pull request. It never edits a test without flagging it, so a real bug is not hidden. You review the patch.
Dependency upgrades with tests
The agent updates one group of outdated packages at a time, runs the tests and fixes simple compile errors. It opens a pull request with notes from the changelog and pinned versions. You merge.
Flaky test hunter
The agent reruns suspected flaky tests from CI history, finds timing or order problems and proposes fixes. Tests it cannot fix are quarantined with a ticket each, after you approve.
Same kinds of tools, a different job
These use cases connect to the same kinds of tools as this one, so part of your setup carries over.
Accounts and device for a new joiner
From the HR record, the agent creates accounts, assigns groups from role templates and orders a device. It sends a welcome message with setup steps. The manager approves access.
Password reset by chat with identity check
The agent verifies the user with a second factor, resets the password, forces a change at next login and logs it. Strict verification and rate limits guard against account takeover, and a person steps in if verification fails.
Non-compliant phones chased
The agent messages users with non-compliant phones and the steps to fix them, reminds them within a cap and escalates to the manager. It records the outcome, and managers handle repeat cases.