Home/Insights/AI Tools

You've Been Using AI the Hard Way (Use This Instead)

By Ani BjörkströmPublished 25 February 2026Reviewed 17 November 20264 min video + articleAI Tools

You've Been Using AI the Hard Way (Use This Instead)
▶ Watch the full 4-minute video · with chapters & transcript

AI TOOLS

Are You Using Claude Code the Hard Way? Five Best Practices That Fix It

In short: Anthropic's newly published Claude Code best-practices documentation surfaced at least five mistakes even a working consultant was making daily.

Key takeaways

  • Anthropic's newly published Claude Code best-practices documentation surfaced at least five mistakes even a working consultant was making daily.
  • Pre-approving file edits, git commands, and test runs removes the constant permission prompts without resorting to the riskier skip-permissions mode.
  • Subagents run in their own context windows, so delegating small tasks keeps the main agent's limited context usable for longer.

Claude Code ships with safe defaults, and most people never change them — which means they work slower than necessary. After reading Anthropic's new best-practices documentation end to end, Ani Björkström, a tech consultant based in Stockholm, found at least five things she had been doing wrong and distilled them into these five fixes.

How do you stop Claude Code from asking permission constantly?

Either bypass all prompts with the dangerously-skip-permissions option, or — the safer route — explicitly allow the actions you trust: edits to files, git commands, and running tests. By default Claude asks before writing files, committing to git, running bash commands, or using MCP tools — deliberate for safety, but it slows you down massively across a session.

What are skills and subagents actually for?

Skills extend Claude's knowledge with information specific to your project; subagents offload tasks into separate context windows. A skill is a named file holding domain knowledge — for example API conventions like "kebab-case for URL paths, camelCase for JSON properties, always include pagination for list endpoints" — applied automatically when relevant or invoked with a forward slash and the skill name.

Subagents matter because the main agent's context window is limited. A subagent runs with its own context and tools — the documentation's example defines a "security reviewer" on the Opus model, instructed as a senior security engineer to check injection vulnerabilities, authentication and authorization flows, secrets in code, and insecure data handling — so delegated tasks stop cluttering the main conversation.

Why should you let Claude interview you before building?

Because Claude asks about things you have not considered yet: technical implementation, UI/UX, edge cases, and trade-offs. Instead of writing a long specification, start with a minimal prompt — "I want to build a LinkedIn scraping tool, interview me in detail using the AskUserQuestion tool" — and answer its questions.

The interview often surfaces features you had not considered, forcing real product planning before any code exists. That is cheaper than discovering the missing requirement after the build.

What do you do when Claude Code gets stuck or goes wrong?

Press ESC to stop Claude mid-action while keeping your context — useful when you return and find it has been grinding on the same task for hours. Dedicated controls then let you rewind, undo, or reset.

SituationAction in Claude Code
Claude is stuck mid-taskPress ESC once to stop the action and keep your context
You want to go a few steps backPress the ESC key twice to rewind
Claude made a change you dislikeRun /undo to reverse the last change
Starting an unrelated taskRun /clear to reset the context window

FAQ

Is it safe to skip all permission prompts?

The skip-permissions flag is explicitly labeled dangerous, so the better default is targeted allowances: file edits, git commands, and test runs. You keep most of the speed while Claude still asks before anything else.

When should I use a subagent instead of the main agent?

For small, well-defined tasks like a security review, since each subagent runs in its own context window with its own tools and model. That keeps the main agent's limited context available longer.

What is the fastest way to recover from a bad change?

Use /undo to reverse the last change, or press ESC twice to rewind a few steps. For a fresh start between tasks, /clear resets the context window entirely.

Want this working inside your finance team?

Ani Björkström

Ani Björkström — founder of QvantX Sweden AB, a Stockholm consultancy building AI solutions for banks, asset managers and finance teams. Anthropic partner. Every article starts from a real client build, minus the confidential parts. LinkedIn →