Best Claude use cases for agent setup & config
26 real setups where the source names Claude for agent setup and config, most-discussed first. Each one credits the person who did it and links the source.
Claude appears in 26 of the 42 agent setup & config use cases on agentsetups, and in 168 use cases overall.
Most-discussed: Run Sonnet as main, Haiku explorers and Opus as advisor by delost; Install a skill that stops agents burying the answer by domhudson; Cut orchestration cost 77%: the planner never writes code by /u/GapNew4766.
Quick start (from Run Sonnet as main, Haiku explorers and Opus as advisor by delost):
- Start Claude Code with: claude --model sonnet --advisor opus
- Create three read-only Haiku 5.5 subagents: search (maps the repo), grep (finds call sites), docs (pulls the API reference).
- Add one rule to CLAUDE.md: consult the advisor before locking a plan, after the same error hits twice, and before calling a task done.
+1 more step in the copyable prompt.
Last updated · based on 336 use cases on agentsetups, each credited to its author.
All 26 Claude agent setup & config use cases
- Run Sonnet as main, Haiku explorers and Opus as advisor
Start Claude Code with --advisor opus: Sonnet 5 codes, Haiku 5.5 subagents search, Opus is consulted only at 3 checkpoints.
- Start Claude Code with: claude --model sonnet --advisor opus
- Create three read-only Haiku 5.5 subagents: search (maps the repo), grep (finds call sites), docs (pulls the API reference).
- Add one rule to CLAUDE.md: consult the advisor before locking a plan, after the same error hits twice, and before calling a task done.
+1 more step in the copyable prompt.
Claude · Agent setup & config · by delost (X post, 11 Oct 2026) · source
- Install a skill that stops agents burying the answer
The i-have-adhd skill makes coding assistants put the action first, number the steps and drop filler.
- Paste into your CLI: “Install the i-have-adhd skill/plugin from https://github.com/ayghri/i-have-adhd, refer to the repo’s AGENTS.md for instructions.”
- Expect: action first, numbered steps, no “Hope this helps!”.
Claude · Agent setup & config · by domhudson (Hacker News, 8 Sep 2026) · source
- Cut orchestration cost 77%: the planner never writes code
GPT-6.1 Sol plans and reviews only; local Qwen workers on one RTX 3090 do every write. Slower but cheaper.
- Let the orchestrator read, plan, delegate and review; refuse every write or shell call it tries.
- Only workers touch files (local Qwen 3.8 27B in the source).
- Measure cost and time per task (77% cheaper; 43 min vs under 7).
+1 more step in the copyable prompt.
Claude, Codex · Agent setup & config · by /u/GapNew4766 (Reddit, 30 Sep 2026) · source
- Resume a Claude Code or Codex session in Hermes
The single command hermes --resume @claude / @codex continues the exact session in Hermes Agent.
- Run hermes --resume @claude or hermes --resume @codex.
- Continue the same session in Hermes.
Claude, Codex, Hermes Agent · Agent setup & config · by tonbi (X post, 5 Sep 2026) · source
- Rank models with a blind LLM design-review council
A Sonnet 5 “president” has Codex and Claude Code members review, blind-rate each other and aggregate votes.
- Build a council with an orchestrator (here orca’s built-in one).
- Use a Sonnet 5 “president” agent to trigger members (Codex and Claude Code models) on the same review task.
- Have members rate each other’s work blind.
+1 more step in the copyable prompt.
Claude, Codex · Agent setup & config · by jinjingliang (X post, 6 Oct 2026) · source
- Adopt 22 daily-driver engineering skills
Open-source skills for TDD, review, debugging, refactoring, security, Docker, worktrees and subagent orchestration.
- Install the skills for TDD, code review, debugging, refactoring, legacy code, testing, security, Docker, worktrees and repo cleanup.
- Use the orchestration skills: split parallel work, pick the right agent, give it a clear mission, verify, integrate.
- Keep only the skills that survive daily use.
Claude, Codex · Agent setup & config · by Rafael Bittencourt (X post, 5 Oct 2026) · source
- Benchmark model/reasoning combos on your real task
16 combinations across ChatGPT Plus, Claude Pro and Google AI Pro on one Unity investigation: 1–20% allowance.
- Pick one real task from your project as the benchmark.
- Run it on each model/reasoning combination.
- Record allowance used and quality of result.
Claude · Agent setup & config · by /u/AlexXx52 (Reddit, 9 Oct 2026) · source
- Set up subagents, hooks, worktrees and headless mode
A walkthrough of custom subagents, skills, hooks, worktrees, headless scripts, checkpoints and session branching.
- Create custom subagents and advanced skills.
- Add pre/post tool hooks.
- Use git worktrees for parallel changes.
+2 more steps in the copyable prompt.
Claude · Agent setup & config · by Tech With Tim (X post, 8 Sep 2026) · source
- Share work memory across Claude Code, Codex and Pi
Nimrod reads each agent’s local session files into one SQLite log, injects a project brief at session start and answers queries over MCP.
- Read each agent’s own session store (JSONL or SQLite on disk) without writing to it.
- Extract what was asked, files touched, commands run and how it ended into one local SQLite database; no model writes to the log.
- Inject a short project brief at the start of each session.
+1 more step in the copyable prompt.
Claude, Codex, OpenCode · Agent setup & config · by /u/danilofs (Reddit, 20 Sep 2026) · source
- Make Claude Code run tests before it can say “done”
A 20-line Stop hook runs the test suite whenever Claude tries to finish and sends it back on failure.
- Add a Stop hook that runs your tests when Claude tries to finish.
- If tests fail, return the failure so Claude goes back to work.
- Related: one rulebook that overrides everything, “lanes” for job size, and permissions.ask for git push.
Claude · Agent setup & config · by elijahmanlockedin112 (DEV post, 26 Sep 2026) · source
- Make one agent audit the others for wasted spend
After agents burned $200 of credits chatting, an auditor agent lists every agent and what it costs.
- Give one agent the auditor job. In Claude Code the author pastes a prompt that starts “You’re my agent auditor. List every…”.
- List every running agent, what it does and what it costs.
- Flag agents that talk to each other without producing anything; the author lost $200 of credits this way.
Claude · Agent setup & config · by Davidd Tech (X post, 11 Oct 2026) · source
- Keep agent state in init.d-style files to survive compaction
Instead of one PROGRESS.md, ordered runlevel-style state files plus fork/wait subagents survived two 230k-token compactions.
- Don’t trust the auto-summary after compaction; keep state on disk.
- Avoid a single TODO.md/PROGRESS.md scratchpad; it gets stale or overwritten.
- Use ordered, lexically numbered state files per step, like SysV /etc/init.d runlevels, that the agent re-reads to resume.
+1 more step in the copyable prompt.
Claude, Cursor, Gemini CLI, Antigravity · Agent setup & config · by Randal L. Schwartz (DEV post, 10 Oct 2026) · source
- Watch and approve all your agents from one inbox
littleguys, a free Mac app, shows which OpenClaw/Hermes/Claude Code/Codex/ACP agent is working or needs you.
- Install littleguys (free, open-source).
- Connect your ACP agents.
- Reply in a few keystrokes and approve in one click.
Claude, Codex, OpenClaw, Hermes Agent · Agent setup & config · by Herval in the Metaverse of Madness ᯅ (X post, 10 Oct 2026) · source
- Point Claude Code at a cheaper model with Router v3
Set up Claude Code Router v3.1.1 to send a side project’s traffic to a cheaper model.
- Install Claude Code Router v3.
- Configure the provider and model routing.
- Run Claude Code through the router.
Claude · Agent setup & config · by Zara Menon (DEV post, 7 Oct 2026) · source
- Build a Claude Code mod without writing code
One prompt produced an always-visible context-window bar; Claude wrote, validated and hot-reloaded the mod.
- Ask Claude to write a Claude Code mod (a JS/TS module in a plugin) for it.
- Have it validate and hot-reload the mod.
Claude · Agent setup & config · by Pawel (DEV post, 3 Oct 2026) · source
- Run three Claude Code sessions on one checkout
No worktrees: sessions agree on a split, stage only their own hunks by id, and stop if the hunk count changes.
- Have sessions agree on a split by message and list the files each will touch.
- For shared files, stage only your own changes hunk by hunk, matched by an id in the changed lines.
- Use a small command that lists hunks and stages matching ones; if the hunk count changed between listing and staging, stage nothing and stop.
Claude · Agent setup & config · by Rulestack (DEV post, 8 Oct 2026) · source
- Set rigor levels when Kiro builds and Claude reviews
A non-typing builder: Kiro writes, Claude reviews, she decides. Both agents over-hardened a throwaway; a rigor budget fixed it.
- Split roles: Kiro builds, Claude reviews against your rules, you validate and decide.
- Tag throwaway code explicitly, and tell both agents what the tag means; they won’t watch it for you.
- Compliance gate: ~10 minutes before implementing, check you’re allowed to build it the way you intend.
+2 more steps in the copyable prompt.
Claude, Kiro · Agent setup & config · by Earl Grey (DEV post, 1 Sep 2026) · source
- Run a multi-agent dev system on a cheap VPS
Hermes, Orca, Engram/MCP, Claude Code and Codex with git worktrees, tmux and a human gate shipped a Solana escrow MVP.
- Set up a VPS (here Oracle Cloud).
- Run Hermes, Orca, Engram/MCP, Claude Code and Codex there.
- Isolate work in git worktrees and tmux sessions.
+1 more step in the copyable prompt.
Claude, Codex, Hermes Agent · Agent setup & config · by Yhona e/acc (X post, 5 Oct 2026) · source
- Use a task spec contract between planner and subagents
A YAML spec the planner must emit and implementers echo back cut wrong-problem retries from 31% to 7% in a Claude Code loop.
- Treat the handoff as an interface, not a message: the planner must emit one fenced block that validates against a schema (task_id, goal, target files, acceptance criteria…).
- Have the implementer echo the spec back in its own words before touching code; reject mismatches.
- Reuse the same spec as the input for the verifier agent.
Claude · Agent setup & config · by yureki_lab (DEV post, 20 Sep 2026) · source
- Use cheap models as subagents inside Claude Code
Many cheap models speak the Anthropic API, so a small tool (cameo) lets Opus delegate to them as subagents.
- Note that many cheap models expose Anthropic-compatible endpoints.
- Wrap each one so Claude Code can launch it as a subagent (the author’s cameo, built by Opus in one shot from a short prompt).
- Keep your main session on Claude; delegate grunt work to the cheaper subagents.
Claude, Codex · Agent setup & config · by Maple (DEV post, 3 Oct 2026) · source
- Back up your whole Claude Code setup to GitHub
CLAUDE.md files, skills, hooks, settings and memory go into a private repo, with one install script to restore on a new Mac.
- Collect CLAUDE.md files, skills, hooks, settings and memory into one private GitHub repo.
- Write one install script that puts everything back on a new machine.
Claude · Agent setup & config · by Tejas Kalpande (X post, 9 Oct 2026) · source
- Test CLAUDE.md structure, not just its size
A shop agent’s CLAUDE.md, split from 548KB to under a 45KB cap, regrew in 18 days; per-section limits and moving rules to skills held.
- Split a bloated CLAUDE.md into a short core plus skills.
- A total-size cap alone invites the wrong deletions; add structure tests (body size, line count, longest line, footer budget).
- When a section grows, move it into the skill that uses it (approval rules, fetch commands) instead of trimming elsewhere.
Claude · Agent setup & config · by Rulestack (DEV post, 12 Sep 2026) · source
- Keep a SCRATCH.md to survive 40+ long sessions
Building an app over 40+ hour-long Claude Code sessions, a SCRATCH.md next to the terminal mattered more than prompts.
- Keep a text file called SCRATCH.md next to your terminal.
- Use it to carry state between sessions.
Claude · Agent setup & config · by Kal Petkoff (X post, 20 Sep 2026) · source
- Build your own phone remote for agent sessions
Opus 5.5 one-shot an iPhone app connecting to every Claude Code and Codex session on a Mac Studio, across 3 subscriptions.
- Ask the agent to build an iPhone app that connects to every Claude Code and Codex CLI session on your desktop.
- Make sessions started from the phone appear back on the desktop.
- Organise chats by project (client work, YouTube, newsletter).
Claude, Codex · Agent setup & config · by Pat Simmons (X post, 6 Oct 2026) · source
- Move your default coding agent to OpenCode via OpenRouter
DeepSeek V4.1 Flash passed every run of his two-task test at about two cents a task (self-reported, "a field report and not a ranking").
- Point OpenCode at OpenRouter (gateway optional): The author routes everything through LiteLLM with names like cloud-coder, fallbacks and per-app budgets.
- Run your own two-task bake-off: One easy and one hard task with hidden tests; two runs per model; grade pass/fail, time and cost.
- Pick the cheapest model that passes: For him: DeepSeek V4.1 Flash as default.
+4 more steps in the copyable prompt.
OpenCode, Claude · Agent setup & config · by Joe Karlsson (blog, Oct 2026) · source
- Run OpenCode on DeepSeek or GLM models
OpenCode on DeepSeek V4.1 Flash or GLM-5.3 instead of a native seat
- Install OpenCode: curl installer, Homebrew or npm.
- Connect a provider with /connect: Keys are stored in ~/.local/share/opencode/auth.json.
- Pick a model with /models; start on Flash: Confirm the model ID in /models rather than guessing it.
+4 more steps in the copyable prompt.
OpenCode, Claude, Codex · Agent setup & config · by Vanja Petreski (blog, 16 Sep 2026) · source
Questions people ask
What is Claude used for in agent setup and config?
Real examples from the sources: Run Sonnet as main, Haiku explorers and Opus as advisor (by delost); Install a skill that stops agents burying the answer (by domhudson); Cut orchestration cost 77%: the planner never writes code (by /u/GapNew4766); Resume a Claude Code or Codex session in Hermes (by tonbi); Rank models with a blind LLM design-review council (by jinjingliang).
How do I set up Claude for agent setup and config?
Copy a setup that already worked. Run Sonnet as main, Haiku explorers and Opus as advisor by delost: 1) Start Claude Code with: claude --model sonnet --advisor opus 2) Create three read-only Haiku 5.5 subagents: search (maps the repo), grep (finds call sites), docs (pulls the API reference). 3) Add one rule to CLAUDE.md: consult the advisor before locking a plan, after the same error hits twice, and before calling a task done. The use-case page has the full prompt to paste into Claude.
Claude vs Codex for agent setup and config: which should I use?
agentsetups compares what people did, not which is better. In agent setup & config, Claude has 26 use cases and Codex has 13; 10 name both. See Claude vs Codex for agent setup & config.
Related
- All Claude use cases168
- All agent setup & config use cases42
- Best AI agent for agent setup and config42
- Claude for coding24
- 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