Best Claude use cases for coding
24 real setups where the source names Claude for coding, most-discussed first. Each one credits the person who did it and links the source.
Claude appears in 24 of the 39 coding use cases on agentsetups, and in 168 use cases overall.
Most-discussed: Plan with Claude Code, execute with Codex via MCP by Louis-François Bouchard; Run coding agents like a hospital: Db2 support in 2 days by Cockroach Labs; Build paid web apps with an Opus front end and Codex by Meng To.
Tools named most in these sources: Stripe (2).
Quick start (from Plan with Claude Code, execute with Codex via MCP by Louis-François Bouchard):
- Use Claude Code as the planner. It sends execution to Codex only through the Codex MCP, which Claude manages.
- Run the agents in dedicated environments so they keep working when your laptop is closed.
- Keep notes and skills in Obsidian so you can switch tools and devices.
+2 more steps in the copyable prompt.
Last updated · based on 336 use cases on agentsetups, each credited to its author.
All 24 Claude coding use cases
- Plan with Claude Code, execute with Codex via MCP
Claude Code plans and reviews, Codex executes through the Codex MCP, and notes and skills live in Obsidian.
- Use Claude Code as the planner. It sends execution to Codex only through the Codex MCP, which Claude manages.
- Run the agents in dedicated environments so they keep working when your laptop is closed.
- Keep notes and skills in Obsidian so you can switch tools and devices.
+2 more steps in the copyable prompt.
Claude, Codex, Cursor, OpenCode, Antigravity, Command Code · Coding · by Louis-François Bouchard (X post, 17 Sep 2026) · source
- Run coding agents like a hospital: Db2 support in 2 days
Cockroach Labs’ label-triggered role agents planned 15 sub-issues and shipped Db2 migration for $4,172.
- Start from a single GitHub issue describing the ask.
- A planning agent decomposes it into sub-issues with an explicit dependency graph.
- Applying a label fires a GitHub workflow that loads a role-specific prompt (the agent acts as a hospital employee).
+2 more steps in the copyable prompt.
Claude · Coding · by Cockroach Labs (blog, 8 Oct 2026) · source
- Build paid web apps with an Opus front end and Codex
The founder’s playbook behind $100K MRR: one-shot a baseline, name the stack, use a quality reference per feature, self-score.
- Find ideas in tools you use every day: what is missing in Codex, Cursor or Figma?
- Use Opus 5.5 for the front end and Codex for the harness.
- One-shot a baseline, then break the work into parts.
+5 more steps in the copyable prompt.
Claude, Codex · Coding · by Meng To (X post, 7 Oct 2026) · source
- Scan a 0.5M-line codebase, then auto-open refactor PRs
A Jev scan found 12,938 issues in 2 min for $0.89; an always-on Opus 5.5 loop opens and merges refactor PRs (50 merged).
- Scan the whole codebase for code quality and security issues. The author used the Jev model on about 0.5M lines.
- Feed the findings to Claude Code (Opus 5.5) running in a loop on a server so it is always on.
- The loop opens refactor PRs, runs the gates, and merges once the gates pass.
Claude · Coding · by Pau Guirao (X post, 23 Sep 2026) · source
- Get 2–20x faster Rust by iterating “make it faster”
Max Woolf’s guarded loop: ask agents to make Rust (PyO3) code faster, forbid unsafe, benchmark each step.
- Pick a target (e.g. reimplementing ML algorithms in Rust with PyO3 bindings).
- Set guardrails: forbid unsafe code whenever possible; keep correctness tests.
- Ask the agent repeatedly to make the code faster, benchmarking every iteration.
+1 more step in the copyable prompt.
Claude, Codex · Coding · by Max Woolf (blog, 22 Sep 2026) · source
- Clone an app and fix what its users hate
Eleven free Claude skills: reverse-engineer an app, rebuild it, test for bugs, then fix user complaints.
- Reverse-engineer the target app.
- Rebuild it.
- Test it for bugs.
+1 more step in the copyable prompt.
Claude · Coding · by Jakeschincariol (GitHub, 3 Oct 2026) · source
- Test whether code comments help your agent
Deleting 168k lines of comments: same scores, ~22% fewer tokens on a small task, three runs per branch.
- Make a copy of the codebase with every comment removed.
- Ask the agent to build the same features on both versions, three times each.
- Score with lint, type checks, existing tests and a hidden test; compare tokens and cost.
Claude · Coding · by openstation.blog (blog, 13 Oct 2026) · source
- Rewrite 65k lines of Go in Rust for $400
Extract the code as a data representation, operate on it, put it back as Rust; Fable orchestrates subagents, never writes code.
- Ask the model to represent your code as graphs, ontologies, state machines, process charts, constraints or formulae.
- Operate on that representation: simplify state machines, remove hidden communication channels.
- Ask for the code back, in the new language.
+1 more step in the copyable prompt.
Claude · Coding · by Iurii Krasnoshchok (blog, 1 Sep 2026) · source
- Build personal ChatGPT apps with your Dot
@_simonsmith’s Dot built a news app and a Spanish vocab app: Sites MCP server backend, plugin-with-extensions front end.
- Ask the Dot to build the backend as an MCP server hosted on ChatGPT Sites.
- Have it build the front end as a ChatGPT plugin with extensions.
- Start with one app (e.g. a personalised news feed with thumbs up/down), then iterate on the rough edges.
Claude, Meta Muse, ChatGPT Dots · Coding · by Simon Smith (X post, 14 Oct 2026) · source
- Gate “done” claims behind a real test run
One dev found 69% of “done” claims false, another 35% of “tests pass” claims; both re-run checks before the agent may stop.
- Measure first: scan your local transcripts for “done” / “tests pass” claims and check them.
- Add a Stop hook (Claude Code, Codex CLI and others have one) that runs checks when the agent claims completion: fast checks always, the full suite only when the claim warrants it.
- Watch for green-without-fix: skipped or deleted tests, weakened assertions.
+1 more step in the copyable prompt.
Claude, Codex, Cursor, Gemini CLI · Coding · by Raimondas Lencevicius (DEV post, 21 Sep 2026) · source
- Rewrite a critical Node.js service in Go overnight
Checkly built ~600 black-box tests from production scenarios first; Claude Code wrote 13k lines of Go and servers went 20→5.
- Build black-box tests from real production scenarios (Checkly had about 600).
- Have Claude Code rewrite the service in the target language.
- Run the same tests against the new service before switching traffic.
Claude · Coding · by Checkly (X post, 29 Sep 2026) · source
- Run 207 agents in 30 waves with gates
~3h of planning, then 207 Claude Code agents in 30 waves with gates, acceptance, fixes and a write-up; ~100 ran overnight.
- Spend real time planning (the author spent ~3 hours).
- Run agents in waves, with a gate and acceptance check between waves.
- Add a fixes pass and a final write-up.
Claude · Coding · by Slobodan Stojanović (X post, 24 Sep 2026) · source
- Build a meal-prep app for a creator’s followers
A husband built his wife’s meal-prep planner, 100 recipes and a synced shopping list with Claude Code; 850 on the waitlist.
- Build the meal-prep planner, recipe library (100 recipes) and synced shopping list with Claude Code.
- Open a waitlist before launch.
Claude · Coding · by Timothy 🟢 | Panic Drop (X post, 25 Sep 2026) · source
- Cap scope creep with a per-task diff budget
Each task declares allowed paths and a size budget; a pre-edit hook blocks out-of-scope writes and a parking lot keeps ideas.
- Every task spec declares a scope block: allowed paths and a diff size budget.
- A Claude Code PreToolUse hook blocks edits outside the allowed paths before they land.
- A post-run check enforces the size budget inside the allowed directory.
+1 more step in the copyable prompt.
Claude · Coding · by yureki_lab (DEV post, 3 Oct 2026) · source
- Ship 40 PRs a day with a chief-of-staff agent team
A ChiefOfStaff, per-project PMs and a CodeMaster that prompts claude -p / codex CLIs on a VM, looping PRs to green.
- Talk only to a ChiefOfStaff agent, which works all the other bots.
- Give each project a PM agent that understands it in depth.
- PMs send requests to a “CodeMaster” that writes prompts for claude -p and codex CLI, and runs them only on a VM.
+1 more step in the copyable prompt.
Claude, Codex, Grok Bot · Coding · by Gabe Fletcher (X post, 9 Sep 2026) · source
- Fix a webhook bug with the architecture door locked
Four-line instructions (persist first, then 200, no queue) got a minimal fix for Stripe acks before the payment row existed.
- Open the handler and its test.
- Give terse instructions, e.g. “persist first. then 200. do not add a queue. use the store we already have.”
- Accept only the minimal fix and delete any unrequested design advice.
Claude · Coding · by Xypher (X post, 4 Sep 2026) · source
- Pair Lovable for v1 UI with Claude Code for the backend
A kids’ book app: frontend on Lovable in ~2 weeks, backend almost entirely with Claude Code, so he owns the code afterwards.
- Use Lovable to get v1 of the frontend on screen fast.
- Build the backend with Claude Code.
- Own and maintain the code yourself afterwards.
Claude · Coding · by Shirochenko Dmitriy (X post, 5 Oct 2026) · source
- Benchmark models by building one feature in your repo
Same contract, isolated envs: 47 hidden tests, 4 contract mutations and a binary check. Opus killed 4/4 mutants at 100× the cost.
- Pick a real mid-size slice of your project and write the contract.
- Have each model build it in isolated environments (Claude Code and Codex).
- Before looking at any build, write hidden tests from the contract alone (47 here).
+3 more steps in the copyable prompt.
Claude, Codex · Coding · by Damian Pala (X post, 10 Sep 2026) · source
- Build from your phone at the gym via a Mac mini
Running Claude Code and Codex on a home Mac mini from his phone, he built video-editing software during a 45-minute workout.
- Run Claude Code and Codex on a Mac mini at home.
- Control them from your phone during the workout.
- Fix bugs, then update your clip-analysis “brain” (here with Astra: slop, inconsistencies, pacing, attention score).
Claude, Codex · Coding · by darin stewart (X post, 10 Sep 2026) · source
- Watch all your coding agents in one pixel-art dungeon
Each Claude Code, Codex, Kiro or Gemini CLI session is a hero in its project’s room; click to see the console and answer prompts.
- Run your agents through Herdr so the app can listen to their events (or use the read-only fallback).
- Give each project a room and each harness its own hero.
- Click a room to see the live console, answer a prompt or permission request, or stop the agent.
+1 more step in the copyable prompt.
Claude, Codex, Kiro, Gemini CLI · Coding · by /u/NachoV125 (Reddit, 13 Oct 2026) · source
- See your Claude Code subagents as a live video call
A VS Code extension reads Claude Code’s session files and shows each subagent as a character in a call, with real commands and diffs.
- Read the session files Claude Code already writes in ~/.claude/projects and follow the current session live.
- Show each subagent joining when it gets a task and leaving when it reports back.
- Show a shared “screen” with the agent’s real commands, output, diffs and files read.
+1 more step in the copyable prompt.
Claude · Coding · by /u/stickygoose (Reddit, 10 Oct 2026) · source
- Route by task type and make each agent review the other
Route by task type and make each agent review the other
- Install and sign in to both tools: The author's video covers install and sign-in (01:05–02:27).
- Classify each task by type, first match wins: Review, locale text, audits, research, English prose, broken, mechanical edit, feature, script, data.
- Map types to tool and model: Audits/research/content → Claude Code; bugs/features/scripts/data → Codex; lighter models for lighter jobs.
+4 more steps in the copyable prompt.
Claude, Codex, Cursor · Coding · by Mike Holp (blog, 11 Oct 2026) · source
- Ticket in, PR out: four skills and a reviewer in CI
Six weeks in: 128 PRs, 124 merged; planning a ticket takes about 12 minutes (self-reported).
- Write tickets with an agent, after it audits the code: Problem statement, acceptance criteria, dependencies; it shows you every ticket before creating it.
- Ask a read-only dispatcher what to work on next: It ranks tickets by how many others they unblock and lists your waiting PRs first; tiny shell allowlist, no subagents.
- Create one worktree per ticket yourself: Branch and directory named after the ticket (worktrunk); .env copied in by a hook.
+5 more steps in the copyable prompt.
Claude, OpenCode · Coding · by rogs (blog, 30 Sep 2026) · source
- Let a laptop control coding agents that run on a home PC
Long jobs keep running on the PC after the laptop is closed; you verify and merge next morning (self-reported).
- Run Docker inside WSL2 Ubuntu, with limits: Not Docker Desktop; every container gets memory and CPU limits; add a Windows-side keepalive.
- Connect devices with Tailscale; browser tools via Cloudflare Tunnel + Access: No open router ports.
- Run the Herdr server on the PC, client on the laptop: Each task gets its own pane, usually in its own git worktree; panes survive closing the lid.
+4 more steps in the copyable prompt.
Claude, Codex, Pi, OpenCode, Hermes Agent · Coding · by Nadim Tuhin (blog, 1 Sep 2026) · source
Questions people ask
What is Claude used for in coding?
Real examples from the sources: Plan with Claude Code, execute with Codex via MCP (by Louis-François Bouchard); Run coding agents like a hospital: Db2 support in 2 days (by Cockroach Labs); Build paid web apps with an Opus front end and Codex (by Meng To); Scan a 0.5M-line codebase, then auto-open refactor PRs (by Pau Guirao); Get 2–20x faster Rust by iterating “make it faster” (by Max Woolf).
How do I set up Claude for coding?
Copy a setup that already worked. Plan with Claude Code, execute with Codex via MCP by Louis-François Bouchard: 1) Use Claude Code as the planner. It sends execution to Codex only through the Codex MCP, which Claude manages. 2) Run the agents in dedicated environments so they keep working when your laptop is closed. 3) Keep notes and skills in Obsidian so you can switch tools and devices. The use-case page has the full prompt to paste into Claude.
Claude vs Codex for coding: which should I use?
agentsetups compares what people did, not which is better. In coding, Claude has 24 use cases and Codex has 14; 10 name both. See Claude vs Codex for coding.
Related
- All Claude use cases168
- All coding use cases39
- Best AI agent for coding39
- Claude for agent setup & config26
- Claude for games21
- Claude for productivity & ops12
- Claude for content & video12
- Claude for finance & trading5
- Claude for research & science9
- Claude for design & frontend9
- Claude for marketing & growth8
- Claude for knowledge & memory8
- Claude for personal life5
- Claude for hardware & IoT5
- Claude for DevOps4
- Claude for automation & integrations5
- Claude for security4
- Claude for data analysis4