Tool Combos

Cline + Claude: an AI coding agent in VS Code that asks before every change

Cline works inside your editor like a colleague who can read the project, propose a plan, edit files and run terminal commands. The difference from autocomplete is scale: it can make a change across several files. The safeguard is that, by default, every edit and command waits for your approval.

By AI RightFitChecked Official sources listed below

At a glance

What you getMulti-file changes and terminal commands, each shown for approval
Typical costFree, open-source extension + your model provider's usage fees
Skill levelIntermediate
Runs onVS Code or JetBrains on your computer

What you get

Cline is open source under the Apache 2.0 licence. It can read and write files, run terminal commands and use a browser. Its README says every file edit and terminal command needs your approval, and in VS Code and JetBrains each edit appears as a diff you can review, change or revert. Changes are tracked with checkpoints so you can undo the agent's work.

It has two modes. In Plan mode it explores the code and proposes how it would make the change. In Act mode it carries the plan out. Using Plan first is the practical way to catch a misunderstanding before any file changes.

What it costs

The extension is free. Cline is not tied to one model provider: its README lists Anthropic, OpenAI, Google, OpenRouter, AWS Bedrock, local runtimes such as Ollama and LM Studio, and any OpenAI-compatible API. Its setup guide also offers its own pay-as-you-go provider or a flat monthly plan if you would rather not manage an API key.

With your own Claude API key, you pay per token: Claude Sonnet 5.5 is $2 per million input tokens and $10 per million output tokens. Agent tasks read many files and go back and forth several times, so one task can use far more tokens than a single chat message. Try a few real tasks and check the usage in the Claude Console before deciding it is cheaper than a flat subscription such as GitHub Copilot.

Set it up

  1. In VS Code press Ctrl/Cmd + Shift + X, search for Cline and install it.
  2. Open Cline from the sidebar and choose a provider. To use your own Claude key, pick Anthropic and paste an API key from the Claude Console.
  3. Leave auto-approve off to begin with, so every edit and command waits for you.

A first job to try

Switch to Plan mode and ask for a change that touches two or three files, for example:

Rename the setting 'maxItems' to 'maxResults' everywhere it is used,
including the tests and the README. Show me the plan first.

Read the plan. If it missed a file or wants to change something you did not ask for, say so before switching to Act. In Act mode, read each diff before approving, run your tests, and use the checkpoint to roll back if the result is not what you wanted.

Safety checks

  • Turn on auto-approve only for low-risk actions, and never for commands that delete files, push code or touch production.
  • Read terminal commands before approving them; an agent can misread an instruction like anyone else.
  • Keep API keys and customer data out of the files you let it read.
  • Commit your own work before a large task so you have a clean point to return to.

Sources

Related records: Cline pricing record · Claude pricing record

Setup steps and facts come from the official documentation linked on each page, checked on the date shown. We have not tested every combination on every computer; cost examples are illustrative.

Editorial policy · Report a mistake