Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

cline

БесплатноБез исполняемых скриптовНе проверен

Cline is an open-source autonomous coding agent that runs in VS Code, JetBrains IDEs, the terminal (npm package `cline`) and a desktop app, and edits files…

TerminalSkillsот TerminalSkills★ 221 звезда на GitHub

Об этом скилле

Cline

Overview

Cline is an open-source coding agent that reads a project, edits files across it, runs shell commands and watches their output, and can call MCP tools. It ships as a VS Code extension (saoudrizwan.claude-dev), a JetBrains plugin, a CLI (npm install -g cline), a desktop app for macOS and Windows, and an SDK (@cline/sdk). All surfaces share one agent core, so rules, skills, MCP servers, checkpoints and provider settings behave the same everywhere. As of October 2026 the CLI is at 3.0.x.

Two modes matter: Plan mode explores and proposes a strategy without changing anything; Act mode executes it. In the IDE every edit and command asks for approval unless you enable auto-approve. In the CLI the default is different (see Guidelines).

Instructions

Install

# CLI
npm install -g cline
cline version

# VS Code extension
code --install-extension saoudrizwan.claude-dev

The JetBrains plugin comes from the JetBrains Marketplace (search "Cline"). The desktop app is downloaded from cline.bot/desktop.

Choose a provider and model

Cline works with its own hosted provider (sign in with cline auth cline), a ChatGPT subscription (openai-codex), or your own key for Anthropic, OpenAI, Google Gemini, OpenRouter, AWS Bedrock, GCP Vertex, Groq, Cerebras, local Ollama or LM Studio, and any OpenAI-compatible endpoint.

cline auth                                   # interactive setup
cline auth --provider anthropic --apikey "$ANTHROPIC_API_KEY" --modelid claude-sonnet-4-6
cline -P openrouter -m google/gemini-3.1-pro-preview -k "$OPENROUTER_API_KEY" "Set up Storybook"

In the IDE extensions, pick the provider and model in the Cline panel settings instead. Provider keys are stored in ~/.cline/data/settings/providers.json.

Run the CLI

cline                                        # interactive session (TUI)
cline -p "Plan a migration from Express to Hono"      # plan mode, no edits
cline --auto-approve false "Fix the failing tests"    # ask before every tool call
git diff origin/main | cline "Review these changes for bugs"
cline --json "List all TODO comments"        # NDJSON events for scripts
cline --yolo --timeout 900 "Run tests and fix failures"   # unattended, CI only

cline history lists past sessions and cline --id 8f3a91c2 resumes one. cline doctor diagnoses configuration problems.

Give it project rules

Rules are markdown files Cline loads on every task. Put them in .clinerules/ (or .cline/rules/) at the repository root; commit them. Cline also reads AGENTS.md, .cursorrules and .windsurfrules. Personal rules go in ~/Documents/Cline/Rules/ or ~/.cline/rules/; workspace rules win on conflict. Type /newrule in a session to have Cline write one for you.

# .clinerules/testing.md
- Run `npm test -- --run` after every change under src/ and fix failures before finishing.
- Never edit files in legacy/ (scheduled for removal in Q1).
- Use Vitest, not Jest, for new tests.

Add MCP servers

cline mcp                                    # list, add, edit, disable, authorize, delete
cline mcp add files --yes -- npx -y @modelcontextprotocol/server-filesystem ./docs
cline mcp add docs https://mcp.context7.com/mcp --transport http --yes
cline mcp remove files

The CLI config is ~/.cline/data/settings/cline_mcp_settings.json (override with CLINE_MCP_SETTINGS_PATH). In an IDE, open the MCP Servers icon, then Configure. An entry looks like this; set "type": "streamableHttp" for remote servers because an omitted type means legacy SSE:

{
  "mcpServers": {
    "postgres-readonly": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-postgres", "postgresql://readonly@localhost:5432/shop"],
      "disabled": false,
      "autoApprove": []
    }
  }
}

Useful slash commands

/newtask starts a fresh task with distilled context, /smol compresses history, /newrule creates a rule, /deep-planning investigates then plans before coding, /undo (CLI) or checkpoints (IDE) roll back the agent's work.

Examples

Example 1: Review a pull request in CI

User: "Have Cline comment on every PR with a review of the diff."

# .github/workflows/cline-review.yml
name: Cline review
on: pull_request
permissions: { contents: read, pull-requests: write }
jobs:
  review:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with: { fetch-depth: 0 }
      - run: npm install -g cline
      - run: cline auth --provider anthropic --apikey "$ANTHROPIC_API_KEY" --modelid claude-sonnet-4-6
        env: { ANTHROPIC_API_KEY: "${{ secrets.ANTHROPIC_API_KEY }}" }
      - run: git diff origin/${{ github.base_ref }}...HEAD | cline -p "Review for bugs and missing tests" > review.md
      - run: gh pr comment ${{ github.event.number }} --body-file review.md
        env: { GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}" }

Plan mode (-p) keeps the rev

Полный SKILL.md на GitHub

Установить cline в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

_scores.json

FAQ

Что делает скилл cline?

Cline is an open-source autonomous coding agent that runs in VS Code, JetBrains IDEs, the terminal (npm package `cline`) and a desktop app, and edits files, runs commands and uses MCP tools with your approval. Use when a user asks to set up Cline, run it headless in CI, choose a model provider, write .clinerules, connect an MCP server, switch between Plan and Act mode, control auto-approve or YOLO mode, or hand a multi-file refactor to an agent.

Как установить скилл cline?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл cline запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить cline с