FAQ
For an ordinary single-value Claude Code setting, check managed policy first, then the invocation’s --settings value, then project-local .claude/settings.local.json, shared .claude/settings.json, and user /.claude/settings.json.
FAQ
Start Claude Code in the intended repository and use a concise CLAUDE.md for broadly applicable build and test commands, navigation, conventions, and review expectations.
FAQ
Use /clear for a new, unrelated objective, /compact to keep working on the same objective with summarized history, and /resume to reopen a previous conversation whose goal and repository still match.
FAQ
Use stdio for a local server the host launches as a subprocess. Use Streamable HTTP for a separately reachable service. These are the two standard transports for MCP 2026-07-28.
FAQ
Choose an MCP server when multiple compatible hosts need a separately governed capability or context provider with a protocol contract.
FAQ
Use one Claude request when the inputs and response contract are enough to complete a task. Use a deterministic workflow when application code can choose the steps and branches, even if Claude performs judgment inside a stage.
FAQ
Choose the runtime after deciding who controls the next action and how the application verifies completion. Use the Claude Agent SDK when the Claude Code agent loop, built-in tools, and session features fit.
FAQ
Give each subagent one objective, completion criteria, allowed evidence, permitted tools and data, a work budget, and an explicit stop or escalation condition.
FAQ
For an MCP 2026-07-28 server using the HTTP authorization specification, act as the OAuth resource server.
FAQ
Assemble the smallest useful working set for the current step. Include the objective and output contract, trusted instructions, current workflow status, the unresolved decisions, selected evidence, and relevant tools and results.
FAQ
For deferred independent work on the first-party Claude API, submit each Messages payload as its own batch entry with a unique custom_id. Save the returned batch ID and entries together.
FAQ
Put approved images in image content blocks with the accompanying text in the intended order. On the first-party Claude API, documented source types are base64 inline data, an image URL, and a Files API file_id.