Skill Agents
VS Code · MCP

Cline: open VS Code agent with MCP

Cline is a popular VS Code extension that acts as a coding agent—file edits, terminal, browser, and MCP servers—extended with `.clinerules` and task prompts you treat like skills.

Open Cline

How to set up

  1. 01
    Install Cline

    Add the Cline extension from the VS Code marketplace; configure an API provider.

  2. 02
    Add `.clinerules`

    Document stack, test commands, and directories the agent must not touch.

  3. 03
    Wire MCP (optional)

    Add MCP servers your team needs; start read-only before write tools.

  4. 04
    Bounded first task

    Try analysis-only, then enable auto-approve for terminal on a feature branch.

How to use it as a skill agent

  1. 01
    Write a task brief

    Include definition of done, `@` files, and links to issues.

  2. 02
    Use plan mode

    Review Cline’s plan before it edits when the change is risky.

  3. 03
    Approve tool calls

    Watch MCP and terminal actions; reject anything outside scope.

  4. 04
    Update clinerules

    Encode missed steps so the next developer gets the same behavior.

Core capabilities

VS Code agent

Runs inside VS Code with diff review, plan/act modes, and human approval for writes.

MCP tools

Connect GitHub, databases, browsers, and custom MCP servers for richer context.

.clinerules

Project rules file the agent reads every task—team standards without re-pasting prompts.

Bring your model

Use Anthropic, OpenAI, OpenRouter, or local models via API keys you control.

Typical use cases

Bugfix with MCP

Pull ticket details from GitHub MCP, patch, run tests, summarize for PR.

UI checks

Browser MCP to reproduce a UI bug before editing components.

Strict repos

Clinerules enforce “always run `make check` before finish.”

FAQ — Cline

Is Cline only for VS Code?

Cline targets VS Code and compatible forks. If you use JetBrains or a standalone IDE agent, compare Cursor, Windsurf, or Copilot instead.

What is MCP in Cline?

Model Context Protocol lets Cline call external tools (GitHub, Slack, browsers, etc.). Each server adds capabilities—treat them like skills with their own trust boundaries.

How do `.clinerules` relate to skills?

They are always-on project instructions—similar to AGENTS.md or SKILL.md triggers, but typically one rules file plus optional task-specific prompts.

Note: Cline is third-party open source—review extension permissions and MCP servers before connecting production credentials.