# AI Developer Toolkit — Start here (free, no account required) > The "Start here (free, no account required)" section of the AI Developer Toolkit documentation (English). Full site index: https://developertoolkit.ai/llms.txt Generated: 2026-11-02T15:41:09.105Z Source: https://developertoolkit.ai Total documents: 8 --- # Start here: pick your path through agentic engineering URL: https://developertoolkit.ai/en/start/ Description: Where to start on AI Developer Toolkit: jump to the Cursor, Claude Code, or Codex quick start, or pick the reading path for your role. AI Developer Toolkit teaches developers, tech leads, CTOs, and executives to build software with coding agents (Cursor, Claude Code, and Codex) while keeping quality provable. The site has two entry points: a quick start for each tool, ending in a first real task, and four role tracks, each opening with a free scorecard that sets a baseline. You have three agents to evaluate, several hundred pages, and a real job to get back to. This page gets you to the right first page. ## Jump to your tool - [Cursor quick start](/en/cursor-ide/quick-start/) — Install, set up project rules, and ship a first feature in the editor - [Claude Code quick start](/en/claude-code/quick-start/) — Install, authenticate, and run a first project from the terminal - [Codex quick start](/en/codex/quick-start/) — Set up the app, the CLI, and the IDE extension, then run a first task Then pick the next page by where you are coming from: | If you are… | Read next | | --- | --- | | New to agents | [Quick wins](/en/start/quick-wins/) | | Coming from GitHub Copilot | [Copilot compared with the three agents](/en/comparison/vs-github-copilot/) | | Adding a second tool | [Cursor vs Claude Code](/en/comparison/cursor-vs-claude-code/) or [Codex vs the others](/en/comparison/vs-codex/) | | Already fluent in one tool | [Power-user tips](/en/start/power-user-tips/), then the [Cookbook](/en/cookbook/) | | A platform or DevOps engineer | [CI/CD with Claude Code](/en/claude-code/ship/ci-cd/), [Codex automation](/en/codex/automate/), and [MCP servers](/en/ecosystem/mcp/) | ## Which reading path fits your role? Each track is an ordered list of pages with an exit criterion per step. Take the scorecard first (about eight minutes): your answers show which steps to skip. **Developer** You want agents to ship work you can trust. The track runs from a first real task to reviewing evidence instead of every diff. [Developer Scorecard](/en/scorecard/) · [Developer track](/en/start/developer/) **Tech lead** You need one workflow for the whole team and a review queue that is not the bottleneck: a shared harness, verification design, and review capacity. [Tech Lead Scorecard](/en/lead-scorecard/) · [Tech lead track](/en/start/tech-lead/) **CTO or VP Engineering** You decide the operating model, the guardrails, the vendors, and how to prove any of it works. Ten decisions, each ending in an artifact with an owner. [C-Level Scorecard](/en/cto-scorecard/) · [CTO track](/en/start/cto/) **Executive** You need the effect on cost, speed, risk, and headcount, with a source on every number, and the decisions leadership owns. [C-Level Scorecard](/en/cto-scorecard/) (shared with CTOs) · [Executive track](/en/start/executive/) **What is free** Everything in **Start here** and the **Autonomy Ladder** is free, and so are the three scorecards. Every other section needs a subscription; every track marks each step Free or Subscribers. ## Where do you sit on the autonomy ladder? The site is organized around one map: [Dan Shapiro's autonomy ladder](https://www.danshapiro.com/blog/2026/01/the-five-levels-from-spicy-autocomplete-to-the-software-factory/), Level 0 to Level 5, published 23 January 2026. At Level 3 you review every diff; at Level 4 you write the specification and check the evidence; at Level 5 a pipeline ships while you run the factory. Shapiro puts 90% of self-described "AI-native" developers at Level 2 and says almost everyone tops out at Level 3. The useful next page is the one that moves you up one rung. - [The Autonomy Ladder](/en/ladder/) — The six levels, and how to place each of your loops on one ## What to do in your first hour 1. Take your role's scorecard and keep the result as your baseline. 2. Finish your tool's quick start on a real repository, not a toy project. 3. Run the two prompts below in that repository: the first gives the agent its context, the second shows which checks stand between it and a bad merge. 4. Commit the instructions file, and put the missing check from prompt 2 on your backlog. **Copy-paste prompt: draft the instructions file your agent reads** ```text Analyze this repository and draft the instructions file the coding agent reads at the start of every session (CLAUDE.md for Claude Code, AGENTS.md for Codex, project rules for Cursor; use whichever this repo already has). Include: 1) the architecture in five lines, 2) the exact build, test, and lint commands, 3) coding conventions with one real example each, 4) the known gotchas, 5) what "done" means: the checks a change must pass before it is reported as finished. Keep it under 150 lines. Show me the draft before writing the file. ``` **Copy-paste prompt: audit how a change gets verified here** ```text Do not modify any files. Report how a change to this repository is verified today: 1) the exact commands for tests, type checks, lint, and build, and whether each passes on this branch now; 2) which of them CI runs, naming the workflow file; 3) what no automated check covers (for example UI behaviour, migrations, or performance). End with the single missing check that would most reduce how much code a human has to read before merging, written as a task with acceptance criteria. ``` A faster agent without automated checks only moves work into review; [evidence, not diffs](/en/ladder/evidence-not-diffs/) explains what a reviewer checks instead of every line. ## Where everything lives The sidebar is ordered by use; every group but Start here starts collapsed. | Section | What it holds | Start at | | --- | --- | --- | | **Start here** | This page, the four tracks, quick wins, and why it matters | [Why agentic engineering](/en/start/why-ai-coding-tools/) | | **Autonomy Ladder** | Each level and the human's job at it | [The ladder](/en/ladder/) | | **Cursor · Claude Code · Codex** | One tree per tool, cut by task; the same task in another tool is a one-segment URL swap | [Cursor](/en/cursor-ide/) · [Claude Code](/en/claude-code/) · [Codex](/en/codex/) | | **Workflows & method** | The tool-independent lifecycle and cross-tool workflows | [Method](/en/method/) · [Workflows](/en/workflows/) | | **Ecosystem & comparisons** | Choosing a tool, models, MCP servers, skills, and frameworks | [Ecosystem](/en/ecosystem/) · [Comparison](/en/comparison/) | | **Cookbook** | Prompts by language, framework, and stack | [Cookbook](/en/cookbook/) | | **Lead a team** | Rollout, the shared harness, review, and people | [Lead a team](/en/teams/) | | **Engineering organization** | Operating model, controls, security, measurement, and spend | [Engineering organization](/en/org/) | | **Strategy & business** | Economics and evidence for executives | [Strategy](/en/strategy/) | | **Reference & help** | Commands, configuration, glossary, and troubleshooting | [Reference](/en/reference/) · [Help](/en/resources/) | ## Why readers stall, and how to get moving again - **Learning three tools at once.** Nothing sticks. Finish one quick start, and add a second tool only for work the first does badly. - **Reading without doing.** Nothing changes. Run each prompt on your real repository the day you read it, and keep what works in the instructions file. - **No instructions file.** The agent repeats the same mistakes every session. Run the first prompt above and commit the result. - **No verification gate.** Review becomes the bottleneck, or bugs reach production. Run the second prompt, add the missing check it names, and re-take your scorecard after four weeks to see which answers moved. --- # CTO and VP Engineering track: an operating model for agent-built software URL: https://developertoolkit.ai/en/start/cto/ Description: The CTO reading path for agent-built software: ten decisions in order, from evidence and a pilot to autonomy, security, spend, regulation and the board. The CTO and VP Engineering track is the reading path on AI Developer Toolkit for engineering leaders who standardize how an organization builds software with Claude Code, Codex and Cursor. It orders ten decisions, from evidence and a measured pilot to autonomy, security, spend, regulation and board reporting, and each decision ends in a named artifact with an owner. Every team already runs agents, invoices are rising, and security asks who approved an agent that opens pull requests. The board wants a number; you have seat counts. **Baseline first** Take the [C-Level Scorecard](/en/cto-scorecard/) before step 1: about 8 minutes, free. The [answer key](/en/cto-scorecard-guide/) maps each of the scorecard's 25 questions to the page that moves it. ## What the CTO track produces for your organization - **An artifact and an exit criterion per step,** so "done" is evidence, not a meeting. - **A pilot before a platform.** You measure one team before you staff a platform team or sign a larger contract. ## Why the CTO decisions come in this order Agents increase the volume of change faster than your ability to verify it. The 2025 DORA report (Google Cloud, 23 September 2025) links AI adoption to higher delivery throughput and lower delivery stability. Faros AI's telemetry (April 2026) shows tasks per developer up 33.7% alongside incidents per pull request up 242.7% and median time in review up 441.5%. So measurement comes before the operating model. ## Which artifact does each CTO decision produce? | # | Decision | Artifact it produces | Canonical page | | --- | --- | --- | --- | | 1 | What does the evidence say, and where do our teams sit? | Evidence brief with three dated sources; org map by ladder level | [State of agentic engineering](/en/ladder/state-of-agentic-engineering-2026/), [one map](/en/ladder/one-map/), [evidence, not diffs](/en/ladder/evidence-not-diffs/) | | 2 | What do we measure, and how do we prove it? | Metric definitions v1, signed by engineering and finance; pilot design v1 with a control group and a stop rule | [Metrics frameworks](/en/org/metrics-frameworks/), [pilot design](/en/org/pilot-design/) | | 3 | Who owns the harness, the gates and the evals? | Operating model v1: a RACI with named owners | [Operating model](/en/org/operating-model/) | | 4 | What does an accepted change cost? | Cost-per-accepted-change baseline for one team | [Economics](/en/strategy/economics/) | | 5 | Which change classes may merge on evidence alone? | Autonomy register v1 | [Governance and autonomy](/en/org/governance-autonomy/) | | 6 | What can an agent reach, and as whom? | Agent threat model v1; one scoped, attributable identity per agent | [Threat model](/en/org/agent-threat-model/), [identity and secrets](/en/org/agent-identity-and-secrets/) | | 7 | How is policy enforced, and who runs the platform? | Managed policy per approved tool; platform team charter | [Managed policy](/en/org/managed-policy/), [platform team](/en/org/platform-team/) | | 8 | Is spend visible, and can we leave a vendor? | Spend per team and per accepted change on one dashboard; exit test for the primary tool | [Cost governance](/en/org/cost-governance/), [vendor risk](/en/cto-scorecard-guide/vendor-risk-management/) | | 9 | Which regulatory duties apply to us? | EU AI Act obligations checklist reviewed by legal | [EU AI Act](/en/org/eu-ai-act/) | | 10 | What do we report upward? | One-page quarterly board update | [Board reporting](/en/strategy/board-reporting/) | The steps follow this order: ## Where does each tool enforce the organization's policy? | Tool | Where the organization's policy lives | | --- | --- | | Claude Code | Managed settings: a `managed-settings.json` file, an MDM policy, or server-managed settings from claude.ai (Team and Enterprise). `permissions.disableAutoMode: "disable"` turns auto mode off for everyone. | | Codex | `requirements.toml` holds administrator constraints (for example `approval_policy`, `mcp_servers`, `allow_managed_hooks_only`), kept separate from the `config.toml` defaults. | | Cursor | Admin settings on Cursor's business plans; its SDK exposes `team` and `mdm` settings layers (`@cursor/sdk` 1.0.32). Confirm setting names on cursor.com. | Claude Code facts checked on 26 September 2026 against version 2.1.283; Codex facts against version 0.157.1. **Copy-paste template: CTO decision record** ```text Decision #__ : ______________________ Artifact: ______________ v__ Owner (one name): __________ Sign-off: engineering / finance / security / legal Evidence used (publisher, date): 1) ______ 2) ______ 3) ______ Metric that proves it worked, with its definition: ____________________ Baseline value and date: ________ Target and review date: ________ Stop rule (what makes us reverse this decision): ____________________ Depends on decisions: #__ , #__ ``` ## How do you prove the operating model works? You do not read agent diffs; auditable evidence proves quality. Four checks close each quarter: - **Accepted change, not activity.** The metric definitions from decision 2 count merged, non-reverted changes that passed their gates, never lines of code or "% AI-written". - **Stability beside throughput.** Change failure rate and incidents per change sit beside throughput. - **Autonomy tied to evidence.** Each class in the autonomy register names the tests, evals and review agents that must pass, and the human who signs off on production. - **Artifacts with owners and dates.** A decision record past its review date is a finding in the board update. ## Where does the CTO track stall? - **The pilot proves nothing.** Without a baseline or control group it shows only that people like the tool. Freeze the rollout and rerun it with the design from decision 2. - **Autonomy before controls.** Agents got merge rights before the threat model and scoped identities existed. Revoke agent credentials, then re-grant them per risk class. - **Percent of code as the headline.** DX reports a self-reported average of 51.9% AI-authored code across more than 400 companies (Q2 2026, published 17 June 2026), so the share alone does not distinguish you. Report cost per accepted change and stability instead. - **The platform team becomes a gate.** Give it service levels to product teams and a public backlog. ## Where to go next from the CTO track - [CTO Scorecard answer key](/en/cto-scorecard-guide/) — Every scorecard question mapped to the page that moves it - [Engineering organization](/en/org/) — Governance, security, spend and org design in one section - [Tech lead track](/en/start/tech-lead/) — What your leads do to move each team up one rung - [Executive track](/en/start/executive/) — The brief and the five decisions your CEO and CFO own --- # Developer track: a reading path to agentic engineering URL: https://developertoolkit.ai/en/start/developer/ Description: The developer reading path: from the autonomy ladder and your tool's quick start to specs, feedback loops and reviewing evidence instead of diffs. The developer track is the ordered reading path for developers who use Cursor, Claude Code or Codex. It starts with a free baseline, the Developer Scorecard, then climbs the autonomy ladder from a first real task to reviewing evidence instead of every diff. Each step ends in an artifact that proves it is done. You already use an agent. Some days it saves an afternoon; other days you spend the afternoon reading what it wrote, because nothing tells you whether to trust it. The path below puts the habits that fix that in the order they pay off. ## What the developer track gives you - **An order that compounds.** Each step assumes the one before it: an instructions file makes the feedback loop reliable, and the feedback loop makes parallel agents safe. - **A "Done when" criterion per step.** You move on when an artifact exists, not when the reading feels finished. - **One branch per tool** where the tools differ, and one shared step where they do not. ## How do you use the developer track? 1. Take the [Developer Scorecard](/en/scorecard/) first. Your answers show which steps you can skip, and the [answer key](/en/developer-scorecard-guide/) maps each question to the page that moves it. 2. Read steps 1 to 3 in order. Everything later assumes an installed tool and a reviewed instructions file. 3. After step 3, skip any step whose "Done when" artifact you already have. 4. Re-take the scorecard after four weeks and compare the sections. ## Which tool branch should you take? Step 2 branches by tool; the rest of the path is shared, and each linked page shows all three tools where they differ. If you have not chosen a tool, read the [tool comparison](/en/comparison/) first. | | Cursor | Claude Code | Codex | | --- | --- | --- | --- | | Quick start | [Cursor quick start](/en/cursor-ide/quick-start/) | [Claude Code quick start](/en/claude-code/quick-start/) | [Codex quick start](/en/codex/quick-start/) | | Instructions file (step 3) | Rules | `CLAUDE.md` | `AGENTS.md` | | Read-only planning | Plan Mode | `claude --permission-mode plan` or `/plan` | `/plan` | | Parallel work | Worktrees | `claude -w ` | `codex --worktree` | | Headless checks | Cursor CLI print mode (`-p`) | `claude -p` | `codex exec` | Claude Code and Codex commands were checked on 26 September 2026 against Claude Code 2.1.283 and Codex CLI 0.157.1. Cursor features were last verified on 28 August 2026. Claude Code reads `AGENTS.md` when a project has no `CLAUDE.md`, from v2.1.277, on both release channels since `stable` reached v2.1.287 (checked 2026-10-12). **Copy-paste prompt: turn this path into a plan for your repository** ```text I am following a learning path for agentic engineering. Read this repository and tell me: 1) whether it has an agent instructions file (CLAUDE.md, AGENTS.md or Cursor project rules) and what is missing from it, 2) the single command that runs the tests, lint and type checks, or that there is none, 3) which of these is weakest here: instructions file, feedback loop, test coverage, parallel-work setup. Recommend the one step to work on first and the evidence that would show it is done. Do not change any files. ``` ## How do you prove a step is done without reading every line? The exit criteria are built so that a check, not your reading, answers "is it done". Three rules keep them honest: - **One command decides.** From the feedback-loop step on, every task ends with the agent running the repository's single test, lint and type-check command and reporting its exit status. A zero exit on a command you trust is the evidence; the agent's summary is not. - **The agent cannot weaken the checks.** Tests the agent can edit prove nothing. Lock the checks it must not weaken with a hook or a CI rule (step 8 of this path, [protecting the oracle](/en/workflows/test/protect-the-oracle/)), and let CI re-run the same command on every pull request. - **You read the contract, not the diff.** From the artifact-chain step on, you review the intent, spec and plan before the agent writes code, and after it finishes you check the evidence against them. You still read code line by line where a change is high-risk or the evidence is missing. **Copy-paste prompt: collect the evidence for one finished task** ```text You just finished the task. Do not change any code. Produce an evidence report: 1) the acceptance criteria you worked to, quoted from the spec or issue, 2) for each criterion, the test that covers it and whether it passed, 3) the exact command you ran for tests, lint and type checks, with its exit status, 4) every test file you added, changed or deleted, and why, 5) anything you could not verify. If any criterion has no test, say so first. ``` ## When does the developer path stall? Four blockers repeat, and each has a fast recovery: - **The agent reads the wrong files.** Build output and generated files drown the context in large repositories. Name the files and directories that matter in your prompt, and record the ones to ignore in your instructions file. - **An MCP server will not connect.** A missing environment variable is the usual cause. Run the server on its own first, confirm the token is exported, then restart the agent; in Claude Code, `claude --debug "mcp"` prints the connection failure, and `/mcp` shows each server's status. - **Quality drops suddenly.** Check the active model and effort before anything else: `/model` in Claude Code and Codex, the model picker in Cursor. Start on the tool's default model, raise effort before you switch models, and switch only when your own evals say so. The [models hub](/en/ecosystem/models/) keeps the current defaults. - **Headless runs hang.** A run in CI waits on an approval prompt nobody will answer. In Claude Code, pre-approve the tools the job needs with `--allowedTools` or the project settings. In Codex, pass the approval policy before the subcommand, as in `codex -a never exec …`, inside a sandboxed runner. **Copy-paste prompt: find out why the agent keeps missing the point** ```text Your last three attempts did not do what I asked. Before trying again: 1) restate the goal and the acceptance check in one sentence each, 2) list the files you read and the ones you did not open, 3) name the instruction in CLAUDE.md / AGENTS.md / project rules that you followed, if any. Then tell me what context you are missing. Do not edit anything yet. ``` For the full catalog of error messages and fixes, see the [troubleshooting guide](/en/resources/troubleshooting/). ## Where to go from the developer track - [Quick wins in your first 24 hours](/en/start/quick-wins/) — Techniques that pay off before you start the path - [Start here](/en/start/) — Pick a different starting point: your tool's quick start or your role's section - [The tech lead track](/en/start/tech-lead/) — The same shift for a whole team: harness, verification and review capacity - [The human's job in agentic engineering](/en/ladder/the-humans-job/) — What stays with you at every rung of the ladder --- # Executive track: the ten-minute brief and the five decisions you own URL: https://developertoolkit.ai/en/start/executive/ Description: For executives: what coding agents change for cost, speed, and risk, the dated evidence both ways, and the five decisions leadership owns. The executive track is the AI Developer Toolkit reading path for business leaders who fund software delivery: a ten-minute brief on coding agents in 2026, the dated evidence both ways, and the five decisions leadership owns. Your CTO wants a coding agent for every engineer, a vendor deck promises a multiple, a board member forwards a study saying developers got slower, and finance asks about headcount. You decide without reading code or taking anyone's word. ## What do coding agents do in 2026? Coding agents such as Claude Code, Codex, and Cursor take a task, change files across a codebase, run the tests, and open a change for a person to approve; the decisions below hold for any tool, and the [tool comparison](/en/comparison/) covers the choice. Agents already write much of the code (Anthropic: "more than 80% of the code we merge", May 2026, vendor-internal; DX: 51.9% across 400+ companies, self-reported, 17 June 2026), but share of code measures volume, not value. ## What does the evidence say, both ways? | Finding | Publisher, date | | --- | --- | | Microsoft adopters of Claude Code and GitHub Copilot CLI merged about 24% more pull requests; the authors note a merged PR is not delivered value | Microsoft researchers, arXiv, 1 July 2026 | | Task throughput per developer +33.7%, but incidents per pull request +242.7% and median time in review +441.5% | Faros AI telemetry, 22,000 developers, April 2026 | | AI adoption relates positively to throughput and negatively to delivery stability | DORA 2025 report, 23 September 2025 | | Experienced developers (16, early-2025 tools) took 19% longer with AI; the effect is unproven, and METR calls its 2026 follow-up data "an unreliable signal" | METR, 10 July 2025 and 24 February 2026 | DORA names the mechanism: without strong automated testing and fast feedback loops, "an increase in change volume leads to instability." Sources: [the state of agentic engineering](/en/ladder/state-of-agentic-engineering-2026/). ## How mature is your engineering organization? Read Dan Shapiro's autonomy scale (23 January 2026, L0 to L5) as a maturity model. The free [C-Level Scorecard](/en/cto-scorecard/) gives your organization a level from 1 to 4 that maps onto the ladder below. | Level | What proves it works | Where most teams are | What moving up costs you | | --- | --- | --- | --- | | L0–L2: autocomplete to junior developer | People reading every line | L2 is "where 90% of 'AI-native' developers are living right now" | Licenses and training | | L3: the developer, agents write most code | A reviewer reading every change | "almost everyone tops out here" | Review capacity | | L4: the engineering team | Automated tests and stop conditions | Shapiro places himself here | Tests and evidence on every change | | L5: the dark software factory | Nobody reads the code | "a handful of people" | Full evidence pipeline; no human reads code | Moving from L3 to L4 is an investment in tests and evidence, not seats; see [the autonomy ladder](/en/ladder/) and [what stays human](/en/ladder/the-humans-job/). ## The executive track, step by step ## Which five decisions does leadership own? | Decision | Ask your CTO for | Decided when | | --- | --- | --- | | **[Economics](/en/strategy/economics/)**: what does an accepted change cost? | Seats, tokens, and review hours per change merged and not reverted | Finance agrees with the cost baseline | | **[Business case](/en/strategy/business-case/)**: is it worth funding at scale? | Ranges with sources, stated assumptions, and a stop condition | A funded case with a kill criterion | | **[Org design](/en/strategy/org-design/)**: how do teams, roles, and hiring change? | Where review time goes; the plan for junior hiring | A hypothesis under test in one division | | **[Roadmap](/en/strategy/transformation-roadmap/)**: how fast do you move? | Phases with a go or no-go gate on stability metrics | A roadmap with signed-off gates | | **[Board reporting](/en/strategy/board-reporting/)**: what does the board see? | Output always paired with stability, spend, and risk | The first quarterly update delivered | ## How do you know the program works without reading code? Use this set quarterly: the CTO owns the definitions, finance signs the cost line, and a named engineering owner approves each autonomy increase. | Metric | Definition | Rule | | --- | --- | --- | | Output | Changes merged per engineer per week | Never reported alone | | Stability | Change failure rate and incidents per merged change | Worse two months running: pause autonomy increases | | Review load | Median hours a change waits for and spends in review | Rising: fund verification before planning headcount | | Unit cost | Agent spend plus review hours per accepted change | Compared with the Economics baseline | | Evidence | % of merged changes with passing checks and a named approver | 100% before any team moves from L3 to L4 | **Copy-paste: five questions to send your CTO** ```text Before the next budget review, please answer these five questions in writing, with the data source for each: 1. Where does each team sit on the autonomy ladder (L0-L5), and what evidence places it there? 2. What does an accepted change cost today, counting seats, tokens, and review time? 3. Since agent use rose, what happened to incidents, change failure rate, and time in review? 4. What can an agent do without a human approving it: which repositories, credentials, and production systems? 5. Which number, if it moves the wrong way, makes us pause or roll back, and who makes that call? ``` ## Where executive AI programs go wrong - **Share of code becomes the target.** Report unit cost and stability. - **One study is read as the verdict.** Run your own [pilot](/en/org/pilot-design/) with a baseline and a stop condition. - **Autonomy is granted by memo.** Tie each increase to one team's evidence ([autonomy governance](/en/org/governance-autonomy/)). ## Beyond this track - [CTO and VP Engineering track](/en/start/cto/) — How your CTO answers the five questions - [Strategy and business](/en/strategy/) — Every page on economics, org design, and board reporting --- # Power-user tips for Cursor, Claude Code and Codex URL: https://developertoolkit.ai/en/start/power-user-tips/ Description: The highest-value tricks for Claude Code, Codex and Cursor, one line each, dated 2026-09-26 and linked to the per-tool page that explains each one. Power-user tips for Cursor, Claude Code and Codex are verified habits that remove friction from agent sessions: raising effort before switching model, rewinding instead of patching forward, parallel sessions in Git worktrees, and headless runs with structured output. Each tip gets one line, checked 2026-09-26 (Cursor features 2026-08-28), and a link to its canonical guide. Daily users still leak time: a session drifts after two hours, a review is re-run by hand, a second task waits for the first. Each tip removes one leak. Adopt one or two a week: `/effort` and `/rewind` first, then worktrees, then budget-capped headless runs. ## Which tips work the same way in all three tools? Four habits exist in all three tools under different names. | Habit | Claude Code | Codex | Cursor | Canonical page | | --- | --- | --- | --- | --- | | Plan before a multi-file change | `/plan` | `/plan` | Plan Mode | [Plan mode before code](/en/method/lifecycle/build/) | | Run a second task in its own checkout | `claude --worktree feature-a` | `codex --worktree` | Worktrees | [Parallel agents](/en/ecosystem/agent-tools/parallel-agents/) | | Set a finish line the agent checks before stopping | `/goal` | `/goal` | `/goal` (rolling out since 2026-08-19; still rolling out in Cursor's docs, checked 2026-10-12) | [The /goal command across tools](/en/workflows/automate/goal-command/) | | Get an automated review | `/code-review` | `codex review --uncommitted` | Bugbot (runs once the PR is open) | [Agent PR review](/en/workflows/ship/agent-pr-review/) | ## Tips for each tool Twenty-six tips, with exact commands for Claude Code 2.1.283 and Codex CLI 0.157.1 and Cursor feature names, re-checked monthly (next review: October 2026). **Claude Code** Checked against 2.1.283 (`latest`); `stable` is 2.1.292 on 2026-10-17, a later release than the one checked. | Tip | Command | Where it is explained | | --- | --- | --- | | Raise effort before you change model | `/effort high` | [Features you haven't tried](/en/claude-code/build/features-you-havent-tried/) | | Rewind to a checkpoint instead of patching forward | Esc Esc, or `/rewind` | [Features you haven't tried](/en/claude-code/build/features-you-havent-tried/) | | Ask a side question mid-run | `/btw what does this flag do?` | [Features you haven't tried](/en/claude-code/build/features-you-havent-tried/) | | Run a shell command without a reasoning turn | `!npm test` | [Features you haven't tried](/en/claude-code/build/features-you-havent-tried/) | | See what fills a fresh session's context | `/context` | [Cost control](/en/claude-code/operate/cost-control/) | | Clear between unrelated tasks, compact with a focus | `/clear`, `/compact keep the migration plan` | [Efficiency hacks](/en/claude-code/build/efficiency-hacks/) | | Reopen the session linked to a pull request | `claude --from-pr 1234` | [Efficiency hacks](/en/claude-code/build/efficiency-hacks/) | | Hand a task to a background session | `claude --bg "fix the flaky auth test"`, then `claude attach ` | [Agent view](/en/claude-code/automate/agent-view/) | | Cap spend on a scripted run | `claude -p --max-budget-usd 5 --output-format json "…"` | [Cost control](/en/claude-code/operate/cost-control/) | | Review your own diff before you push | `/code-review` | [Review automation](/en/claude-code/ship/review-automation/) | **Codex** Checked against Codex CLI 0.157.1. | Tip | Command | Where it is explained | | --- | --- | --- | | Attach a file or run a shell command | `@src/auth.ts`, `!pytest -q` | [Efficiency hacks](/en/codex/build/efficiency-hacks/) | | Resume or fork the last session | `codex resume --last`, `codex fork --last` | [Efficiency hacks](/en/codex/build/efficiency-hacks/) | | Switch settings per job with a named profile (create `~/.codex/review.config.toml` first) | `codex --profile review` | [Efficiency hacks](/en/codex/build/efficiency-hacks/) | | Review local changes, or a branch against `main` | `codex review --uncommitted`, `codex review --base main` | [Code review](/en/codex/ship/code-review/) | | Start a parallel session in its own worktree | `codex --worktree` | [Worktrees](/en/codex/automate/worktrees/) | | Get fields a script can parse | `codex exec --output-schema schema.json -o result.json "…"` | [Non-interactive mode](/en/codex/automate/non-interactive/) | | Use a permission profile instead of `--sandbox` (beta) | `codex -c default_permissions=":workspace"` | [App mastery](/en/codex/build/app-mastery/) | | Set a finish line for a long-running task | `/goal` | [The /goal command](/en/workflows/automate/goal-command/) | **Cursor** Verified on cursor.com on 2026-08-28; menus and key bindings change often, so this tab names features only. | Tip | Feature | Where it is explained | | --- | --- | --- | | Plan before a multi-file change | Plan Mode | [Agent modes deep dive](/en/cursor-ide/build/agent-modes-deep-dive/) | | Put conventions in a rule instead of repeating them | Rules | [Project rules](/en/cursor-ide/quick-start/project-rules/) | | Run agents in parallel in isolated checkouts | Worktrees | [Agents Window](/en/cursor-ide/build/agents-window/) | | Repeat a prompt until the tests pass, with a stop condition | `/loop` bundled skill | [Test-driven development in Cursor](/en/cursor-ide/test/testing-tdd/) | | Move a long task off your machine | Cloud Agents | [Cloud Agents and Automations](/en/cursor-ide/automate/cloud-agents-automations/) | | Start agents from Slack, Linear, Sentry or a schedule | Automations | [Cloud Agents and Automations](/en/cursor-ide/automate/cloud-agents-automations/) | | Format and test after every agent edit | Hooks | [Automation workflows](/en/cursor-ide/automate/automation-workflows/) | | Get a bug review on every pull request | Bugbot | [Bugbot](/en/cursor-ide/ship/bugbot/) | More Cursor shortcuts: [Cursor time-savers](/en/cursor-ide/build/time-savers/). **Copy-paste prompt: find the tips your setup is missing** ```text Audit this repository's agent setup. Read CLAUDE.md or AGENTS.md, the project settings, MCP servers and skills. Report as a table: what loads into every session and its rough context cost, which verification commands (test, lint, typecheck) are documented, and whether a plan-first rule, a worktree setup script and a pre-push review step are missing. Change no files. Suggest at most three changes, most valuable first. ``` **Copy-paste prompt: hand off before you clear or compact** ```text Before I clear this session, write docs/handoff.md: the goal, decisions and why, files changed, the commands that prove the current state (tests, lint, typecheck) with their real output from running them now, and the next three steps. Keep it under 60 lines. ``` ## How do you know a tip helped rather than just felt faster? A tip changes how you drive the agent, never what counts as done: tests, lint and type checks still run, and a reviewer signs off on the [evidence bundle](/en/workflows/ship/evidence-bundle/). Compare a week before and after: `/usage` (spend in Claude Code, limits in Codex) and how often a change passes its gates first time. If that rate drops, drop the tip. ## When power-user tricks backfire - **A flag is "unknown".** Your install is older than this page; check `--version` and update. - **A parallel worktree fails its tests.** New worktrees lack dependencies and env files; add the setup step from [Parallel agents](/en/ecosystem/agent-tools/parallel-agents/). - **`/compact` or `/clear` lost a decision.** Run the hand-off prompt before either. - **Scripted runs overspend.** Set `--max-budget-usd` on every `claude -p` run. - **A permission profile goes too far.** Keep `:workspace` for trusted repositories; run untrusted code in a [sandbox](/en/ecosystem/agent-tools/sandboxes/). ## Where to go next after these tips - [Quick wins in your first 24 hours](/en/start/quick-wins/) — The basics these tips assume. - [Developer track](/en/start/developer/) — The ordered reading path for developers. - [Features you haven't tried in Claude Code](/en/claude-code/build/features-you-havent-tried/) — Underused Claude Code features, setup to headless. - [Reading evidence instead of code](/en/ladder/evidence-not-diffs/) — Why speed pays off only with solid verification. --- # Quick Wins in Your First 24 Hours URL: https://developertoolkit.ai/en/start/quick-wins/ Description: Ten first-day techniques for Claude Code, Codex and Cursor, each with a copy-paste prompt and a check that proves the result without reading every line. Quick wins with Claude Code, Codex and Cursor are ten first-day techniques that pay off in minutes: five need no configuration (explaining code, characterization tests, test-first bug fixes, guarded refactors, and a pre-push review), and five need 10–30 minutes of setup. Each win pairs a copy-paste prompt with a check that proves the result without reading every line. This page is for a developer who installed an agent yesterday and has not trusted it with real work yet. You have a standup in an hour, a module nobody has tested, and a stack trace from last night's deploy. The prompts below work on that code today, and every one of them ends in evidence you can check in under a minute: a test that went red then green, a cited line number, a review report. Not installed yet? Start with the [Claude Code](/en/claude-code/quick-start/), [Codex](/en/codex/quick-start/) or [Cursor](/en/cursor-ide/quick-start/) quick start. ## What you'll walk away with from your first day - Five prompts that work on your real repository with nothing configured beyond installation - Five one-time setups — an instructions file, live library docs, plan-first work, a reusable skill, and parallel worktrees — that improve every task after them - A verification habit for each technique, so you judge the agent by evidence instead of by rereading its diff - A baseline you can measure against tomorrow, instead of a feeling ## Set up your agent in five minutes Start from a clean Git working tree (`git status` shows nothing to commit). A clean tree is your undo button: whatever the agent does, `git diff` shows it and `git restore .` removes it. Stay on the tool's default model on day one. The rule this site follows is to start on the default, raise effort before switching model, and switch only when your own results say so; the [models hub](/en/ecosystem/models/) lists the current defaults and prices. **Claude Code** 1. In a terminal at the repository root, run `claude`. 2. Run `/init`. Claude Code writes a `CLAUDE.md` describing the project, its commands and its conventions. Read it now; Win 6 improves it. 3. Check the permission mode in the footer; Shift+Tab cycles through the modes, including Manual, Accept edits, Plan and Auto. Manual asks before Claude edits a file or runs a command. 4. Ask `What is this project, and which commands build, test and lint it?` A correct answer means the agent can run your checks, and every win below depends on that. **Which mode you start in** From v2.1.283 (both release channels on 2026-10-12), interactive sessions on every plan and provider start in auto mode, where a classifier reviews each action before it runs. A session starts in Manual when a settings file sets `disableAutoMode` or when its model does not support auto mode (Haiku 4.5, Sonnet 4.5 and Opus 4.5 everywhere; on Bedrock, Google Cloud and Foundry anything other than Sonnet 5 or later, Opus 4.7+, Haiku 5.5 (from v2.1.293, `latest` channel only on 2026-10-12) and Fable — so a default Foundry session starts in Manual). The [permissions and sandboxing guide](/en/workflows/harness/permissions-and-sandboxing/) covers every mode. **Codex** 1. In a terminal at the repository root, run `codex`. 2. Run `/init`. Codex writes an `AGENTS.md` with the project overview, commands and conventions. 3. Keep the default approval policy, `on-request`, for the first day: Codex asks before it leaves the sandbox. 4. Ask `What is this project, and which commands build, test and lint it?` and correct anything it gets wrong in `AGENTS.md`. **Cursor** 1. Open the repository in Cursor and open the Agent panel. 2. Leave the model selection on its default for now; Cursor changes its defaults often, so compare the picker with the [models hub](/en/ecosystem/models/). 3. Before you give it real work, open Cursor's settings, find **Run modes** (they decide which terminal commands the agent runs without asking), and choose one that stops for your approval. The [Cursor security guide](/en/cursor-ide/operate/security/) explains why. 4. Ask `What is this project, and which commands build, test and lint it?` Win 6 turns the answer into a project rule. ## First 30 minutes: five wins with no configuration These five prompts are the same in all three tools. Paste them into a Claude Code or Codex session, or into Cursor's Agent panel. Replace the file paths with a real file from your repository. ### Win 1: Understand unfamiliar code with cited line numbers A 200-line function with cryptic names is a reading problem, not a writing problem, so keep the agent read-only. The verification is built into the prompt: every claim must cite a line, and you check two of them. **Copy-paste prompt: explain a module without changing it** ```text Read src/services/paymentProcessor.ts and explain it. Do not edit any file. 1) What the module does, in three sentences. 2) The happy path and each error path, with the line numbers that implement them. 3) Inputs that are not handled (null, empty, duplicate, timeout), each with the line where it would fail. 4) Which tests cover this file today, by test name. Say "none" if none do. Cite a line number for every claim. If you are unsure, say so instead of guessing. ``` **Check it:** open two of the cited lines. If either does not say what the agent claims, discard the explanation and ask again with a smaller scope. ### Win 2: Pin down current behaviour with characterization tests Tests for untested code are a strong first task, because they make every later change checkable. Ask for tests that record what the code does *now*, bugs included, rather than what it should do. **Copy-paste prompt: characterization tests for an untested module** ```text Write characterization tests for src/utils/validation.ts using the test framework this project already uses. Record what each exported function does today, including behaviour that looks wrong; mark those tests with a comment "CURRENT BEHAVIOUR - review". Cover empty strings, null, undefined, boundary values and every thrown error. Do not change validation.ts. Run the new tests and show me the output. Then prove the tests can fail: change one comparison operator in validation.ts, run the tests, show me which test fails, and revert the change. ``` **Check it:** the last step is a one-line mutation test. If no test goes red when the code changes, the suite is decoration. The [characterization tests guide](/en/workflows/test/characterization-tests/) covers the full technique. ### Win 3: Fix a bug from the stack trace, test first Pasting a stack trace and asking for a fix works, but the fix is only proven when a test reproduced the bug first. Order matters: red, then fix, then green. **Copy-paste prompt: reproduce, then fix** ```text Here is an error from production: PASTE_STACK_TRACE_HERE 1) Find the root cause. Trace the data flow to the failing line and explain it in two sentences. 2) Write a test that reproduces this error. Run it and show me that it fails for the reason above. 3) Make the smallest fix that makes that test pass. 4) Run the full test suite and show me the result. Do not change any existing test to make it pass. ``` Replace `PASTE_STACK_TRACE_HERE` with the full trace, including the lines from your own code. Redact tokens, emails and customer identifiers from the trace before you paste it. **Check it:** you need two outputs, the new test failing before the fix and the whole suite passing after it. A fix with no failing test first may have fixed a different problem. ### Win 4: Refactor a long function behind a test gate A refactor is safe when behaviour is pinned before the structure changes. The prompt makes the agent build that pin first when it is missing. **Copy-paste prompt: behaviour-preserving refactor** ```text Refactor processOrder in src/controllers/orderController.ts into smaller functions with one responsibility each. Before changing anything, run the tests that cover processOrder. If fewer than three tests exercise it, write characterization tests first and show me they pass. Keep the exported API and all observable behaviour identical. After the refactor, run the same tests plus the type checker and the linter, and show me all three results. ``` **Check it:** the same tests pass before and after, and the type check and lint are clean. You review the shape of the new functions, not every moved line. ### Win 5: Get a review before you push Before a human reviewer sees the change, have an agent review it. The built-in review commands read the diff and report findings with file and line references. **Claude Code** Run `/code-review` in the session to review your current changes. `/security-review` runs a security-focused pass. **Codex** Run `/review` in the session, or from the shell run `codex review --uncommitted` to review staged, unstaged and untracked changes without opening a session. **Cursor** Paste the prompt below into the Agent panel. On pull requests, **Bugbot** is Cursor's reviewer for bugs, security issues and code-quality problems; check your plan before you enable it. **Copy-paste prompt: pre-push review of your own diff** ```text Review the uncommitted changes in this repository as a strict senior reviewer. Report only real problems: bugs, missing error handling, security issues, and behaviour changes that no test covers. For each finding give file, line, severity (high, medium or low), and a one-line fix. Do not edit files. If you find nothing above low severity, say so in one line. ``` **Check it:** fix every high finding, or write down why it is wrong. A review that finds nothing on a large diff is a signal to ask again with a narrower scope. ## Rest of the day: five wins that need 10 to 30 minutes of setup These take a one-time investment and improve every task after them. Do them in this order: the instructions file first, because every later win reads it. ### Win 6: Tune the instructions file the agent reads every session The file from `/init` is a draft. It becomes useful when it holds the rules the agent cannot infer from the code: which commands prove a change, which directories are off limits, and what "done" means. **Claude Code** Claude Code reads `CLAUDE.md` at the start of every session. From v2.1.277 (both release channels on 2026-10-12) it also reads `AGENTS.md` when a project has no `CLAUDE.md`, so a repository shared with Codex users can keep one file. **Codex** Codex reads `AGENTS.md`. Codex ignores `AGENTS.md` in projects you have not trusted (from 0.150.0), so trust the project when Codex asks. **Cursor** Cursor reads **Rules**. Ask the Agent to create a project rule and to tell you the file it wrote, paste the output of the prompt below into that file, and commit it. The [Cursor project rules guide](/en/cursor-ide/quick-start/project-rules/) covers scoping rules to paths. **Copy-paste prompt: turn the draft into working instructions** ```text Improve the project instructions file for this repository. Keep it under 80 lines. Include only what you cannot infer from the code: - the exact commands for build, test, lint and type check, and which of them must pass before a task is done - directories and files never to edit (generated code, vendored code, migrations already applied) - conventions that differ from the framework's defaults, each with one real file as an example Verify every command by running it. Delete any line you could not verify. Show me the diff of the file. ``` **Check it:** every command in the file ran successfully during this prompt. A shorter, verified file beats a long, guessed one; see [pruning context files](/en/workflows/context/pruning-context-files/). ### Win 7: Give the agent current library docs with Context7 Models know library APIs as of their training data. The Context7 MCP server from Upstash fetches version-specific documentation on demand. The server works without an API key; a free key raises the rate limits. **Claude Code** ```bash claude mcp add --scope user --transport http context7 https://mcp.context7.com/mcp ``` **Codex** ```bash codex mcp add context7 -- npx -y @upstash/context7-mcp ``` **Cursor** Add the server to `.cursor/mcp.json` in the repository: ```json { "mcpServers": { "context7": { "url": "https://mcp.context7.com/mcp" } } } ``` To add a key, remove the keyless entry first (`claude mcp remove context7` or `codex mcp remove context7`) and read the key from an environment variable that your secret store fills. Never type the key itself into a command: ```bash # Claude Code: the shell expands the variable, and user scope stores the value in your user config, not the repository claude mcp add --scope user --header "Authorization: Bearer $CONTEXT7_API_KEY" --transport http context7 https://mcp.context7.com/mcp # Codex: stores only the variable name and reads the key when it connects codex mcp add context7 --url https://mcp.context7.com/mcp --bearer-token-env-var CONTEXT7_API_KEY ``` In Cursor, put a keyed entry in your user-level `~/.cursor/mcp.json` instead of the project file. Never commit a key to `.cursor/mcp.json` or `.mcp.json`: both live in the repository, so the key would land in Git history. Then name the library and version in the prompt: `Use Context7 to check the current Next.js routing API for the version in package.json before you change this file.` Each MCP server adds tools the agent has to choose between, and in some clients their definitions as well, so add servers one at a time as a task needs them. The [Context7 guide](/en/ecosystem/mcp/context7/) covers pinning a library ID and the no-MCP CLI mode. ### Win 8: Plan a feature and agree acceptance criteria before code For anything larger than a bug fix, make the agent plan first and write acceptance criteria you can check. You approve three pages of plan instead of reviewing three hundred lines of wrong code. **Claude Code** Enter Plan mode with `/plan` or Shift+Tab, then paste the prompt. The agent reads and plans but does not edit. **Codex** Run `/plan` to switch to Plan mode, then paste the prompt. **Cursor** Switch the Agent to **Plan Mode**, which creates an implementation plan before writing any code, then paste the prompt. **Copy-paste prompt: plan with checkable acceptance criteria** ```text I need email notifications when an order ships. Do not write code yet. Read the order and email code first, then give me: 1) Acceptance criteria as Given/When/Then statements, each one checkable by an automated test. 2) The files you will change or add, and why. 3) The edge cases: duplicate events, email provider timeout, user without an email address. 4) An implementation order in which each step ends with a test run. Wait for my approval before implementing anything. ``` **Check it:** each acceptance criterion maps to at least one test in the final change, and the tests ran green. That mapping is what you sign off on. The [acceptance criteria guide](/en/workflows/plan/acceptance-criteria/) shows how to write criteria an agent cannot misread. ### Win 9: Save a prompt you repeat as a skill By mid-afternoon you will have pasted the Win 5 review prompt three times. A skill turns it into a named, versioned file the agent loads on demand. Skills follow the open Agent Skills format (a folder with a `SKILL.md`), which all three tools support. **Claude Code** Create `.claude/skills/pre-push-review/SKILL.md`: ```markdown --- name: pre-push-review description: Review uncommitted changes for bugs, missing error handling, security issues and untested behaviour changes before a push. --- Review the uncommitted changes as a strict senior reviewer. Report only real problems, each with file, line, severity (high, medium, low) and a one-line fix. Do not edit files. If nothing is above low severity, say so in one line. ``` Invoke it with `/pre-push-review`, or let Claude Code load it when a request matches the description. Commit the folder so the team gets it too. **Codex** Ask Codex to use its bundled `skill-creator` skill to turn the Win 5 prompt into a project skill named `pre-push-review`, then run `/skills` to confirm it is listed. Codex reads repository skills from `.agents/skills/` (checked against the 0.157.1 binary), so commit that folder. **Cursor** Cursor supports **Agent Skills**. Ask the Agent to create a project skill named `pre-push-review` from the Win 5 prompt and to tell you where it saved it, then check that it appears in the Agent's skill list and commit that folder. **Check it:** run the skill on a diff with a known bug, such as a removed null check. If the report misses it, tighten the skill text before you rely on it. Community skills install with `npx skills add OWNER/REPO`; read the `SKILL.md` before installing, because a skill is instructions your agent follows. ### Win 10: Run independent tasks in parallel worktrees Three unrelated tasks — a feature, a bug fix and a docs update — do not have to wait for each other. Each agent gets its own Git worktree, so their edits never collide and each lands as its own branch. **Claude Code** ```bash # Terminal 1 claude --worktree order-emails # Terminal 2 claude --worktree token-refresh-fix # Terminal 3 claude --worktree api-docs ``` Each session runs in its own checkout on its own branch. **Codex** ```bash # Run once per task, each in its own terminal codex --worktree ``` Each session runs in a new managed Git worktree. **Cursor** Use **Worktrees** to let local agents work in isolated Git checkouts, or hand a task to a **Cloud Agent**, which runs in an isolated cloud VM with a full development environment while you keep working locally. **Check it:** parallel work multiplies review load, so give each task a gate before you look at it: tests, type check and lint must pass on the branch. Merge the branch whose checks are green; send the others back with the failing output. Start with two tasks, not five. [Parallel agents](/en/ecosystem/agent-tools/parallel-agents/) covers the tooling beyond day one. ## How do you know the day's output is right? The habit behind every win is the same: ask for evidence, then check the evidence instead of the code. This table is the whole review workflow for your first day. | Win | Evidence you check | Time to check | | --- | --- | --- | | 1. Explain code | Two cited line numbers match the claims | 1 minute | | 2. Characterization tests | Tests pass, and one deliberate mutation turns a test red | 1 minute | | 3. Bug fix | New test fails before the fix, full suite passes after | 1 minute | | 4. Refactor | Same tests green before and after; type check and lint clean | 1 minute | | 5. Review | Every high finding fixed or rejected with a reason | 5 minutes | | 6. Instructions file | Every listed command ran during the prompt | 2 minutes | | 7. Library docs | Generated code compiles against the installed library version (type check passes) | 1 minute | | 8. Planned feature | Each acceptance criterion maps to a passing test | 5 minutes | | 9. Skill | Skill report catches a planted bug (a removed null check) | 2 minutes | | 10. Parallel work | Checks green on each branch before you open the diff | 1 minute per branch | You still own what you merge. The evidence tells you where to spend your reading: on the finding the reviewer flagged, the test that was hard to write, and the file that changed shape. [Reading evidence instead of code](/en/ladder/evidence-not-diffs/) turns this habit into a working method. ## Measure your first day against a baseline A feeling of speed is not a measurement. Controlled studies disagree: METR's late-2025 follow-up with open-source developers found point estimates of about 18% less time with AI for returning developers and 4% for new recruits, but both confidence intervals cross zero, and METR says the results are hard to interpret (METR, published 2026-02-24). Your own numbers are the only ones that apply to your codebase. | What to record | How | What it tells you | | --- | --- | --- | | Tasks closed | Count tickets merged today and on a normal day last week | Throughput | | Time per task | Start and end time for three to five tasks | Where the agent helps and where it does not | | Rework | Changes reverted or reopened within a week | Whether speed cost quality | | Coverage | Run your coverage tool before Win 2 and at the end of the day | Whether the checkable surface grew | ## When quick wins go wrong, and how to recover - **The agent edits files you did not ask it to touch.** Run `git diff --stat` to see the blast radius and `git restore ` to drop the unwanted files. In Claude Code, Esc Esc (or `/rewind`) rolls the session back to an earlier checkpoint. Then add the off-limits paths to your instructions file (Win 6). - **Tests pass, but the behaviour is wrong.** The agent wrote tests that match its own implementation. Re-run the mutation step from Win 2; if nothing goes red, write the acceptance criteria yourself (Win 8) and ask for tests from those, without showing the implementation. - **The agent changed an existing test to make it pass.** Reject the change and restore the test file. Add `Never edit an existing test to make it pass; report the conflict instead.` to your instructions file. The [protect the oracle](/en/workflows/test/protect-the-oracle/) guide covers enforcing this with hooks and CI. - **The code uses an API that no longer exists.** Install Context7 (Win 7) and name the library version in the prompt. If the error persists, paste the relevant page of the library's changelog into the prompt. - **The agent repeats the same mistake.** The session context is polluted with failed attempts. Start fresh (`/clear` in Claude Code, `/new` in Codex, a new chat in Cursor) and restate the task with the constraint the agent kept breaking. - **Parallel branches conflict at merge.** The tasks were not independent. Merge the branch with the smallest diff first, then ask the other agent to rebase onto it and re-run its checks. ## Where to go next after your first day - [Developer track](/en/start/developer/) — The ordered reading path from your tool's quick start to specs, feedback loops and evidence-based review - [Claude Code quick start](/en/claude-code/quick-start/) — Installation, configuration and your first project in the terminal agent - [Codex quick start](/en/codex/quick-start/) — The CLI, the app, AGENTS.md and your first reviewed task - [Cursor quick start](/en/cursor-ide/quick-start/) — From installation to your first agent-built feature in the IDE - [Power-user tips](/en/start/power-user-tips/) — The shortcuts and settings that matter once the basics are routine - [Workflows for all three tools](/en/workflows/) — Planning, testing, review and shipping techniques shown in Claude Code, Codex and Cursor --- # Tech lead track: move the whole team up one rung URL: https://developertoolkit.ai/en/start/tech-lead/ Description: The tech lead reading path: standardize the team's agent harness, own verification design, and run review capacity, one scorecard question at a time The tech lead track is the reading path for tech leads who need a whole team, not one power user, to ship with Claude Code, Codex, or Cursor: one engineer merges five agent pull requests a day, two refuse the tools, and review is the slowest part of delivery. It covers three jobs: standardize the harness, own verification, and run review capacity. **Baseline first: about 8 minutes, free** Take the [Tech Lead Scorecard](/en/lead-scorecard/) (25 questions) before step 1. ## What is a tech lead's job when agents write the code? Your job moves from writing code to designing the system that decides whether code ships: **Standardize the harness.** The harness is what the team shares around the model: the instructions file, permissions, MCP servers, skills, and one command that runs tests, lint, and types. Keep it in the repository; review it like code. **Own verification design.** Cheap generation moves the bottleneck to checking. DORA 2025 (Google Cloud, 23 September 2025) warns that without controls like strong automated testing, "an increase in change volume leads to instability." You choose the tests, fitness functions, and acceptance criteria that prove a change correct. **Run review capacity.** Review is a queue with fixed capacity: Faros AI's *AI Engineering Report 2026* (April 2026; 22,000 developers, vendor telemetry) measured throughput up 33.7%, median time in review up 441.5%, and incidents per pull request up 242.7%. You decide which changes a person reads and which merge on evidence. Baseline first, transfer trust last: evidence-based review without strong tests only moves the risk. ## The tech lead reading path, step by step Read the steps in order, then skip any step whose exit evidence your team already has. ## Which scorecard question does each step move? Use this as a four-week plan: pick one Harness, one Verification, and one Review row, then re-take the scorecard. Numbers follow the [answer key](/en/lead-scorecard-guide/). | Step | Question it moves | Exit evidence | | --- | --- | --- | | Frame: [One map](/en/ladder/one-map/) | Your band | Team placed on the ladder | | Review: [Level 3, you review the diffs](/en/ladder/level-3-review-diffs/) | Q6, review standards | Weekly review capacity known | | Verification: [Evidence instead of code](/en/ladder/evidence-not-diffs/) | Q8, plausible-but-wrong code | Escalation classes agreed | | Baseline: Metrics frameworks | Q11, measuring impact | Four weeks of baseline data | | People: Skeptics and seniors | Q12, skeptics and seniors | Each senior shipped one agent change | | Harness: [Adoption roadmap](/en/teams/adopt/adoption-roadmap/) | Q10, how adoption happened | One pilot repository, one exit criterion | | Harness: Agent-ready codebase | Q2 and Q4, context and onboarding | One-command bootstrap, current instructions | | Harness: [Shared agent rules](/en/cto-scorecard-guide/shared-agent-rules/) | Q1, a common agent config | Rules in the repository, reviewed like code | | Harness: Agent-ready backlog | Q5, consistent quality | Ticket template with a risk class | | Verification: Oracle strength | Q8, plausible-but-wrong code | Mutation score on agent-touched code | | Verification: Evidence bundle | Q7, automated gates | CI requires the bundle | | Verification: Fitness functions | Q5, consistent quality | Two architecture rules enforced in CI | | Review: Agent PR review | Q6 and Q15, standards and PR loop | Review time down, escaped defects flat | | Review: Review queue | Q15, the PR and merge loop | Work-in-progress limit and queue-age alert | | Review: Trust transfer | Q24, what AI cannot touch | One risk class merged on evidence | | People: Junior developers | Q18, levelling up the team | A growth plan per junior | ## Where the shared harness lives in each tool In every tool, the team's setup belongs in the repository, not on laptops. **Claude Code** - Instructions: `CLAUDE.md` in the repository. Claude Code falls back to `AGENTS.md` from v2.1.277 on both release channels (checked 2026-10-12). - Permissions: the shared `.claude/settings.json`, which ignores a `defaultMode` of `auto` or `bypassPermissions`. - MCP servers: `claude mcp add --scope project`, checked in. - Review: `/code-review` locally, `anthropics/claude-code-action@v1` in CI. Checked against Claude Code 2.1.283 on 26 September 2026. **Codex** - Instructions: `AGENTS.md`, loaded once the repository is marked trusted (since Codex CLI 0.150.0). - Guardrails: admin constraints in `requirements.toml`. - Review: `/review` in the CLI, `@codex review` on pull requests (GitHub review verified 28 August 2026), and `openai/codex-action@v1` in CI. - Headless checks: `codex -a never exec …` in a sandboxed runner (Codex CLI 0.157.1, checked 26 September 2026). **Cursor** - Instructions: project Rules, versioned with the code. - Guardrails: Hooks, plus Plugins that bundle rules, skills, MCP servers, and hooks. - Review: Bugbot on pull requests, and PR Routing & Approval, which assigns reviewers by ownership and can approve low-risk pull requests. - Cursor details last verified 28 August 2026. **Copy-paste prompt: audit the team harness in one repository** ```text Audit this repository as the shared harness for a team of eight engineers using coding agents. Report, without changing any files: 1) which agent instructions files exist (CLAUDE.md, AGENTS.md, project rules) and whether they conflict, 2) the single command that runs tests, lint, and type checks, and how long it takes, 3) which MCP servers and permission settings are checked in versus left to each engineer, 4) what CI checks every pull request, and which checks an agent-authored change could pass while still being wrong. End with the three gaps that would most change review load, each with the evidence that would show it is closed. ``` ## Why does a team rollout stall? - **One power user carries the numbers.** The team average can hide engineers still at Level 1. Recovery: pair each holdout with the power user on a real ticket. - **Review time rises after the rollout.** Recovery: cap agent pull requests in progress and route changes by risk class before adding reviewers. - **The harness drifts.** Recovery: change instructions and settings only through pull requests; re-run the audit prompt monthly. - **Trust transfers before the oracle is strong.** Recovery: return that risk class to line-by-line review until oracle strength holds. ## Where to go next as a tech lead - [Tech Lead Scorecard answer key](/en/lead-scorecard-guide/) — Every scorecard question mapped to the page that moves it - [Lead a team](/en/teams/) — Rollout, shared harness, review and flow, and people - [The developer track](/en/start/developer/) — The path your engineers follow, step by step - [Start here](/en/start/) — Pick a different role or starting point --- # Why AI Coding Tools? From Autocomplete to Agentic Engineering URL: https://developertoolkit.ai/en/start/why-ai-coding-tools/ Description: Why AI coding tools changed the job: agents write the code, so the work moves to specifying behavior and proving it with checks. Agentic engineering explained. AI coding tools matter because they stopped suggesting lines and started completing tasks: Claude Code, Codex, and Cursor read a repository, plan a change, edit files, run tests, and iterate until a check passes. The constraint moves from writing code to verifying it. Agentic engineering is the discipline built on that shift: specifying behavior and proving it with checks. Your team rolled out an agent three months ago. Pull requests per week went up, and so did the review queue: five days to first review, a senior engineer who reads every diff until 9 p.m., and a production incident traced to a test the agent rewrote to go green. Nobody is typing less carefully. The system around the typing has not changed yet, and that system is what this page is about. Developers get the loop to run today, tech leads get the bottleneck to fix, and CTOs and executives get the decision the tools force on them. If you have not picked your path yet, start on [Start here](/en/start/). ## What you'll walk away with from this agentic engineering primer - A one-screen answer to "what actually changed", mapped to the [autonomy ladder](/en/ladder/) your team is already on - A decision table for which work to hand to an agent first, based on whether a machine can say "done" - Your first verified agent loop in Claude Code, Codex, or Cursor, with three copy-paste prompts - The four artifacts you read instead of the diff, and the short list of changes a human still reads line by line - The failure modes teams hit in the first quarter, each with its recovery - The next page for your role ## What changed when AI coding tools became agents? Autocomplete predicts the next few tokens inside a function you are already writing. An agent takes a whole task, reads the code it needs, runs your commands, and reports back when a stop condition is met. The AI-written summary Andrej Karpathy published of his Sequoia Ascent talk (30 April 2026) puts the change in one line: "The unit of programming changed from typing lines of code to delegating larger 'macro actions'…" Everything from autocomplete to the agent is [AI-assisted coding](/en/glossary/ai-assisted-coding/), the umbrella term for any use of AI to help write software. Dan Shapiro's autonomy ladder (January 2026) turns that into levels you can place a workflow on. The level is decided by who reads the output, not by which tool you bought: | Level | What the agent does | What the human reads | The tools in this mode | | ----- | ------------------- | -------------------- | ---------------------- | | L0 By hand | Suggests the next few tokens (spicy autocomplete) | Every character, before it reaches disk | Inline completion in any editor | | L1 Assisted | Takes small, discrete tasks you hand it | All of it | An agent chat for one-off tasks | | L2 Paired | Writes while you steer live | Every line, as it is written | An agent chat beside your editor | | L3 Review manager | Runs a task unattended | Every diff | Claude Code, Codex, or Cursor with a task and a test command | | L4 Spec manager | Implements from a spec | Tests, evidence, and outcomes | The same tools plus acceptance criteria and CI gates | | L5 Dark factory | Specs in, releases out | No human reads the code | A pipeline of agents behind a strong oracle | Shapiro places most AI-native developers at Level 2 and calls Level 3 the level almost everyone tops out at. The reason is arithmetic: the agent writes faster than people can read. The ladder, its self-test, and what each level requires live on [the autonomy ladder](/en/ladder/). How the ladder, the lifecycle stages, and the factory stations fit together is on [one map](/en/ladder/one-map/). ## Why the bottleneck moves from writing code to verifying it The evidence does not show agents making every developer faster. It shows generation scaling while verification does not. Three sources, each dated: - **DORA 2025 report** (Google Cloud blog, 23 September 2025): "AI doesn't fix a team; it amplifies what's already there." - **Faros AI, *The Acceleration Whiplash*** (April 2026; vendor telemetry from 22,000 developers on Faros's self-selected customer base): epics completed per developer rose 66.2%, while incidents per pull request rose 242.7% and median time in review rose 441.5%. - **METR**: its 2025 randomized trial found experienced open-source developers took 19% longer with AI tools (10 July 2025). Its February 2026 update has point estimates in AI's favor, but both intervals cross zero and METR calls that data "an unreliable signal". Read together: output goes up, and whether that becomes value depends on the checks around it. The full evidence, with counter-evidence and caveats, is in [the state of agentic engineering](/en/ladder/state-of-agentic-engineering-2026/). ## What agentic engineering asks of each role The tools are the same for everyone. The work they create is different for each reader. | You are | The problem you now own | What to adopt first | Your next page | | ------- | ----------------------- | ------------------- | -------------- | | **Developer** | Handing over tasks you can check without re-reading them | An instruction file with runnable commands, and acceptance criteria on every task | [Developer track](/en/start/developer/) | | **Tech lead** | A review queue that grows faster than the team | Evidence-based review and a short list of must-read change classes | [Tech lead track](/en/start/tech-lead/) | | **CTO / VP Engineering** | Which loops may run at which level, and how to prove it | A risk-class policy per loop, and outcome metrics instead of "% of code" | [CTO track](/en/start/cto/) | | **Executive** | Cost, speed, and risk claims you cannot yet check | Three questions for your CTO (below) and a dated evidence base | [Executive track](/en/start/executive/) | **Three questions an executive can ask this week** 1. Which of our delivery loops run with an agent, and at which ladder level is each one? 2. For the loops above Level 3, what check decides "done", and who changed it last? 3. Since adoption, what happened to incidents, rollbacks, and review time, not only to pull request counts? If the answers are "all of them", "the tests", and "we measure lines of code", start with [the economics of agent-built software](/en/strategy/economics/) and [the metrics frameworks](/en/org/metrics-frameworks/). ## Which work should you hand to an agent first? Hand over work where a machine can decide "done". The question is not how hard the task is. It is how strong the oracle is: the tests, types, linters, and runtime checks that fail when the result is wrong. | Work | Oracle you usually have | Where to start it | Why | | ---- | ----------------------- | ----------------- | --- | | Dependency bumps, lint and type fixes | Compiler, type checker, existing tests | L4: agent runs, you read the checks | The check is deterministic and existed before the agent | | Tests for untested code (characterization tests) | The current behavior itself | L3: read the tests, not the code | New tests are the oracle, so a human checks them | | Features behind acceptance criteria | Contract and end-to-end tests you write first | L3 moving to L4 | Criteria become checks; see [acceptance criteria](/en/workflows/plan/acceptance-criteria/) | | Codebase comprehension and docs | A human's judgment of the answer | L2 | Useful at once; nothing to merge, so low risk | | Auth, payments, schema, data migrations | Tests cover allowed paths, not the missing one | L2 or L3, a named person reads the code | A mistake is expensive and slow to surface | | Novel architecture and product direction | None | Human-led, agent as a sparring partner | There is nothing to check against yet | A level belongs to a loop, not to a company. Your dependency-bump loop can run at Level 4 while feature work beside it stays at Level 2. ## Run your first agentic loop today The loop is the same in every tool: write down how the repository is built and tested, give the agent a task with acceptance criteria, let it run the checks, and read the evidence it returns. The commands differ. 1. **Create the instruction file.** The agent needs your real build, test, and lint commands, or it guesses. See [what goes in `CLAUDE.md` and `AGENTS.md`](/en/developer-scorecard-guide/claude-md-context/). 2. **Plan before editing.** Ask for a plan in plan mode and correct it. A wrong plan costs one message; a wrong diff costs a review. 3. **Run the task with acceptance criteria and a stop condition.** "Done" is "these checks pass", not "the agent says so". 4. **Read the evidence, then the diff only where the evidence is weak.** The section after the prompts shows what to read. **Claude Code** Run these in the repository root (Claude Code 2.1.283, checked 2026-09-26): ```bash claude # start a session; type /init to generate CLAUDE.md claude --permission-mode plan # start in plan mode; Shift+Tab also cycles modes claude --worktree # run the task in its own git worktree ``` From v2.1.283 (both release channels on 2026-10-12) an interactive session starts in auto mode on supported models, so a classifier approves actions; use `--permission-mode plan` or Shift+Tab to plan first. Claude Code reads `CLAUDE.md`. From v2.1.277 (both release channels on 2026-10-12) it also reads `AGENTS.md` when a project has no `CLAUDE.md` (v2.1.281 on Bedrock, Google Cloud, Microsoft Foundry and LLM gateways). Inside the session, `/code-review` reviews the current changes before you open a pull request. **Codex** Run these in the repository root (codex-cli 0.157.1, checked 2026-09-26): ```bash codex # start the TUI; type /init to generate AGENTS.md, /plan for plan mode codex --worktree # run the session in its own git worktree codex review --base main # non-interactive review of the branch against main ``` Codex reads `AGENTS.md` before it starts work. Codex also runs as an IDE extension, a desktop app (`codex app`, macOS and Windows), and Codex cloud (`codex cloud`, experimental). **Cursor** Cursor runs the same loop inside the editor (the Cursor 3.x line, checked 2026-08-28): 1. Put project instructions in **Rules**, including the exact build and test commands. 2. Open the Agent and switch to **Plan Mode**, which "creates detailed implementation plans before writing any code". 3. Run the task in a **Worktree** so the agent works in an isolated checkout, or hand it to a **Cloud Agent**. 4. Let **Bugbot** review the pull request before a human looks at it. ### Prompts for your first loop **Copy-paste prompt: map the repository and write the instruction file** ```text Read this repository before changing anything. Then write the project instruction file (CLAUDE.md for Claude Code, AGENTS.md for Codex, a Rule for Cursor) with: 1. What the project does, in two sentences. 2. The exact commands to install, build, run the tests, lint, and type-check. Run each one now and include only commands that succeeded; list the ones that failed separately. 3. The directory layout: where handlers, domain logic, tests, and migrations live. 4. Conventions a reviewer would reject a pull request for breaking. 5. Areas that need a human reviewer: auth, payments, schema, migrations. Keep it under 150 lines. Do not describe what the code already makes obvious. ``` **Copy-paste prompt: a task with acceptance criteria and an evidence report** ```text Task: add cursor-based pagination to GET /orders. Acceptance criteria: - GET /orders returns at most 50 items and a next_cursor field. - Passing next_cursor returns the following page with no duplicates or gaps. - The old page parameter returns HTTP 400 with a message naming next_cursor. Rules: - First, write a failing test for each criterion and show me the failure output. - Do not edit, delete, or skip existing tests, snapshots, CI files, or lint config. If one blocks you, stop and tell me why. - Stop when the new tests and the full suite pass. When you finish, report: each criterion -> the test that proves it -> pass/fail, the commands you ran with their exit codes, and every file you changed outside src/orders/. ``` **Copy-paste prompt: find the loops that are ready for delegation** ```text Audit this repository for agent readiness. Do not change any files. For each of these task types — dependency bumps, lint and type fixes, bug fixes, new API endpoints, UI changes, database migrations — tell me: 1. Which automated checks would fail if the change were wrong (name the command or CI job). 2. Whether those checks run in under 10 minutes locally. 3. Gaps: code paths with no test, tests that only snapshot output, CI steps that are allowed to fail. Then rank the task types from "safe to delegate with checks only" to "needs a human reading the code", and give the one test or CI change that would move each task type up one place. ``` ## How do you know the agent's output is right without reading every line? You read evidence first and code only where evidence cannot decide. [Reading evidence instead of code](/en/ladder/evidence-not-diffs/) sets out four artifacts, in this order: 1. **Spec delta**: which behavior changed, in sentences, compared with what you asked for. 2. **Acceptance results**: each criterion mapped to a check that ran and passed. 3. **Oracle strength**: whether the pull request touched tests, snapshots, CI, or lint config, and whether the tests would fail if the code were wrong. See [how strong your oracle is](/en/workflows/test/oracle-strength/). 4. **Runtime signals**: a preview or staging run of each acceptance path, then canary metrics after deploy. Some changes still get a named human reader every time, whatever the evidence says: authentication and authorization, money, schema, data migrations, changes to the oracle itself, and anything no check covers. Route those through `CODEOWNERS` so the forge enforces the reader. The developer who ran the agent owns the evidence; the code owner signs off on the must-read classes; the organization writes the list down once in its [autonomy and risk-class policy](/en/org/governance-autonomy/). The template that makes CI reject an incomplete pull request is the [evidence bundle](/en/workflows/ship/evidence-bundle/). ## Which AI coding tool fits how you work? All three run the loop above. They differ in where the work happens: - **Claude Code** is terminal-first, with the same agent in a desktop app, VS Code, JetBrains, the web, and headless runs (`claude -p`) for CI. - **Codex** spans a CLI, an IDE extension, a desktop app, and Codex cloud, with GitHub review through `@codex review`. - **Cursor** is editor-first, with Cloud Agents, Automations, and Bugbot for work that runs outside your editor. You can run two: one for interactive work and one in CI. The tool matters less than the loop around it. Model choices live on [the models hub](/en/ecosystem/models/), and the side-by-side comparison is on [comparing AI coding tools](/en/comparison/). ## Will agents replace developers, and is the code safe to ship? **Replacement.** The work moves from typing to specifying, verifying, and owning outcomes. What that means for skills and careers is on [your craft and career when agents write the code](/en/ladder/craft-and-career/), and what stays human is on [the human's job](/en/ladder/the-humans-job/). **Code quality.** Agent code is as trustworthy as the checks it passed, no more. Treat "the agent says it is done" as a claim and the evidence bundle as the proof. **Security and IP.** An agent runs commands with your credentials. Start with sandboxing and approval settings in [permissions and sandboxing](/en/workflows/harness/permissions-and-sandboxing/), then threat-model the whole setup with [the agent threat model](/en/org/agent-threat-model/). Code and data retention, training use, and IP questions are covered in [privacy and data handling](/en/org/privacy-data-handling/). **Cost.** Plan prices change often and live on [pricing analysis](/en/comparison/pricing-analysis/). Whether the spend pays back depends on which loops you can move up the ladder, which [the economics page](/en/strategy/economics/) turns into a model. ## What goes wrong when teams adopt AI coding tools? **Output rises and review becomes the bottleneck** **Symptom:** pull requests per developer go up, time to first review goes up faster, and people start approving without reading. **Recovery:** cap pull request size, require the four evidence artifacts before review, and move low-risk classes to evidence-only review. [Level 3](/en/ladder/level-3-review-diffs/) describes this ceiling and the way past it. **The agent makes the tests pass by changing the tests** **Symptom:** a green pipeline and a production bug, with an assertion loosened or a snapshot regenerated in the same pull request. **Recovery:** revert the test change, add test, snapshot, and CI paths to `CODEOWNERS`, and tell the agent in the instruction file to stop rather than edit a failing test. The full method is on [protecting the oracle](/en/workflows/test/protect-the-oracle/). **The instruction file is long, stale, or wrong** **Symptom:** the agent runs a test command that no longer exists, or ignores conventions buried in 600 lines. **Recovery:** keep only commands that run today and rules a reviewer enforces, rerun the first prompt above after build changes, and delete anything the code already makes obvious. **Autonomy is granted to the whole codebase at once** **Symptom:** a policy says "agents may merge", and the first incident lands in billing. **Recovery:** grant levels per loop and per risk class, starting with loops whose oracle existed before the agent. Keep broad bypass settings such as `--dangerously-bypass-approvals-and-sandbox` (Codex) or `bypassPermissions` (Claude Code) inside disposable, network-restricted sandboxes, never on a laptop with production credentials. **Success is measured as percentage of code written by agents** **Symptom:** a dashboard shows most code is agent-written while incidents and review time climb. **Recovery:** report throughput and stability together, as DORA and Faros do, and define the metrics once using [the metrics frameworks](/en/org/metrics-frameworks/). ## Where to go next with agentic engineering Pick your role track on [Start here](/en/start/), or go straight to the page that fits your next step. - [The autonomy ladder](/en/ladder/) — Place each of your loops on Level 0 to 5 and find the question that caps it - [Reading evidence instead of code](/en/ladder/evidence-not-diffs/) — The four artifacts and the must-read change classes in full - [The state of agentic engineering](/en/ladder/state-of-agentic-engineering-2026/) — Every number with its publisher, date, and caveat, plus the counter-evidence - [Quick wins in your first 24 hours](/en/start/quick-wins/) — Small, checkable tasks to hand to an agent today ---