Four Prompt Patterns Worth Testing on Claude (None of Them Is 10x)
Claude Code Desktop: Install, First Project, and the Real Learning Curve
Setup takes minutes. The real work is deciding how much to hand over. Here is the install path, a fi...
Devesh Korde
November 14, 2026
Writing code and directing something that writes code are two different skills.
The second one doesn't announce itself. The tool is easy to start using, and it produces output that looks right. The gap between a good session and an expensive, confusing one comes down to habits you build around it.
Six of them matter most: managing tokens and budget, managing context, defining what success looks like, speaking in plain, specific language, revalidating what the agent did, and commanding it properly. Everything cited here comes from Anthropic's docs, and the one idea underneath all six is the one I keep coming back to: Claude is the co-driver. You hold the wheel.

Claude Code charges by API token consumption, and costs vary widely with model choice, codebase size, and habits like running several sessions at once. For API-billed enterprise deployments, Anthropic reports an average of about $13 per developer per active day, $150 to $250 per developer per month, and under $30 per active day for 90 percent of users. Treat that as a starting reference, not a prediction for you. Subscription plans meter usage differently.
The mechanism matters more than the average: token cost scales with context size. Every request carries the full conversation, so a one-line question at the end of a day-long session still pays for the whole history. That's why the same task can cost very different amounts depending on how you ran it.
The documented levers:
| Lever | What it does |
|---|---|
/clear between unrelated tasks | Stale context costs tokens on every later message |
| Pick the model for the job | Sonnet handles most coding tasks for less; reserve Opus for complex architecture or multi-step reasoning |
| Lower effort for simple work | Thinking tokens are billed as output tokens, and the default budget can run to tens of thousands per request |
| Offload noise | A hook can filter a huge log down to its error lines before Claude reads it |
| Delegate verbose work to subagents | Test output and doc fetches stay in the subagent's context, and only a summary returns |
| Watch the multipliers | Agent teams use about 7 times more tokens than a standard session when teammates run in plan mode |
Two habits make this practical. First, look at your numbers: /usage shows session token use, and on subscription plans it also shows plan usage with recommendations. /insights analyzes how you work, including friction points. Second, set a ceiling before you need one. Teams can cap spend at the organization, group, or member level, and API organizations can set workspace spend limits.
Also know which wall you hit. A session or weekly limit on a subscription is a usage window, and switching models won't restore it. A spend-limit message means usage credits hit a cap. A context warning isn't a limit at all. It means the conversation is nearly full.
The Claude Code best-practices guide opens with one constraint: context fills up fast, and performance degrades as it fills. As the window gets crowded, Claude may start forgetting earlier instructions or making more mistakes. The docs call context the most important resource to manage.
That one fact explains most of the advice:
/compact Focus on the API changes lets you say what to keep. You can also put compaction instructions in CLAUDE.md, and you can summarize from a chosen point using the rewind menu./btw answers without entering the conversation history.Run /context now and then and look at what's using the space. It's the quickest way to see where your tokens go.
People often talk about "rewarding" Claude, as if a prompt could hand it a score. It can't. There is no reward channel in a prompt. What you control is the signal Claude can see, and that signal decides when it stops.
The docs put it plainly: Claude stops when the work looks done. Without a check it can run, "looks done" is the only signal available, and you become the verification loop. Give it something that returns pass or fail, such as a test suite, a build exit code, a linter, or a screenshot compared against a design. Then Claude does the work, runs the check, reads the result, and iterates until it passes.
A few practices follow:
validateEmail function with these example cases, and run the tests" beats "implement email validation."One caution connects directly to the "reward" idea. Anthropic's Claude 4 prompting guide notes that frontier models can sometimes focus too heavily on making tests pass at the expense of a more general solution. Its suggested fix is to tell the model you want a solution that works for all valid inputs, that tests verify correctness rather than define it, and that it should say so if a test looks wrong or the task looks infeasible. In other words: if the only signal you give is "tests pass," say what the tests are not.

Claude doesn't need magic words. It needs precision.
Anthropic's best-practices tables show the pattern in before and after pairs:
| Instead of | Try |
|---|---|
| "add tests for foo.py" | Name the scenario and the constraints: the logged-out edge case, and no mocks |
| "why is this API weird?" | Point to a source: the file's git history |
| "add a calendar widget" | Point to an existing pattern in the codebase and say to follow it |
| "fix the login bug" | Give the symptom, the likely location, and what fixed looks like |
Some principles run underneath that:
Pointing Claude at files with @, pasting a screenshot, or piping in a log gives it facts instead of your description of the facts. That alone removes a lot of guesswork.
This is the habit the others protect.
The docs name a failure pattern: Claude produces a plausible-looking implementation that doesn't handle edge cases. The fix is to always provide verification, and the guide puts it bluntly: if you can't verify it, don't ship it.
Practical layers, from lightest to heaviest:
/verify confirms the change against the running app./code-review does this for correctness. For a plan check, write the prompt yourself: name the work, the plan, and what counts as a finding.One warning from the docs deserves attention. A reviewer told to find gaps will usually report some, even when the work is sound. Chasing every finding leads to over-engineering, such as extra abstraction, defensive code, and tests for cases that can't happen. Tell the reviewer to flag only gaps that affect correctness or the stated requirements.
And the principle behind all of it: you should be able to explain what you shipped. If a change only makes sense because Claude wrote it, you haven't reviewed it yet.
Directing an agent isn't a single prompt. It's a short workflow.
Explore, plan, implement, commit. The docs recommend separating research from coding with plan mode, so Claude doesn't solve the wrong problem. Read the plan, edit it if needed, then let Claude implement and verify against it. There's an honest exception: if you could describe the diff in one sentence, skip the plan.
Let Claude interview you for bigger work. Start with a minimal prompt, have Claude ask about edge cases and trade-offs, and write a spec. Then start a fresh session to execute it, with clean context and a written reference.
Steer early. Press Esc to stop mid-action without losing context. /rewind restores the conversation, the code, or both to an earlier checkpoint. Checkpoints only track edits made through Claude's file tools, so they don't replace git.
Match the guardrail to the risk. CLAUDE.md instructions are advisory. A hook is deterministic and guarantees the action happens, so use hooks for things that must happen every time. Permission allowlists and sandboxing let Claude move faster inside boundaries you set.
Scope subagents. Give each one a clear job and the tools it needs, and delegate noisy investigation to them.
Here is where I'd draw the line, and it's the one I'd hold most firmly. Claude can propose the architecture. You decide it. Claude can write the infrastructure code. You own what runs. Claude can follow the coding standards. You write them down. If the tool disappeared tomorrow, the project should still make sense to you.

Before you start
/clear.While it runs
/context shows what's in the window.Before you accept
The docs end their best-practices guide with a sentence I think is the honest one: the patterns are starting points, not rules. Sometimes you should let context accumulate, because you're deep in a hard problem and the history is valuable. Sometimes a vague prompt is exactly right.
The skill is noticing. When Claude produces something great, notice what you did: the prompt, the context, the mode. When it struggles, ask why. Was the context noisy, the prompt vague, the task too big for one pass?
Do that for a few weeks, and the six habits stop being a list. They become how you work.
Sources