cline

cline is an agent for coding agents from agentrhq/webcmd. It costs 0 tokens per session (1,293 once invoked), scanned A, original, Apache-2.0.

An agent that fetches setup instructions for Webcmd and follows them to configure browser automation for Cline. Cline is a coding assistant available as a VS Code extension, command-line tool, or JetBrains plugin.

In plain words
What is it for?
Use it to install Webcmd, run its environment check, add its skills to Cline, and configure the browser tools for the Cline surface you use.
Why use it?
It turns a written setup guide into an end-to-end installation and configuration process. This helps Cline use Webcmd's browser tools after checking required software and browser support.

Agent

Part of the webcmd plugin — 1 skill, 10 agents shipped together

About the project

agentrhq/webcmd is browser infrastructure for AI agents that learns website navigation and turns familiar workflows into reusable commands. Agents use it to explore websites in a browser, record site structure and actions, and later automate known tasks with less repeated navigation. Its catalogue add-ons provide agent workflows and tools for using webcmd.

agentrhq/webcmd · 1,572 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/agentrhq/webcmd/cline
Clone the repo
git clone --depth 1 https://github.com/agentrhq/webcmd

Or install webcmd, the plugin that ships this one along with the rest of its 1 skill, 10 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cline

README.md
[![agentmods](https://agentmods.dev/badge/agents/agentrhq/webcmd/cline.svg)](https://agentmods.dev/agents/agentrhq/webcmd/cline)
Your own site
<a href="https://agentmods.dev/agents/agentrhq/webcmd/cline"><img src="https://agentmods.dev/badge/agents/agentrhq/webcmd/cline.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,293 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.01293
Opus 5 $0.00000 $0.00647
Sonnet 5 $0.00000 $0.00259
Haiku 4.5 $0.00000 $0.00129

Measured 2d ago against content hash 8608eaf1c7eb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cline scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

docs/agents/cline.md · 95 lines

How it starts

The opening of the file, as written. The whole thing — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agent prompt

Fetch and follow https://raw.githubusercontent.com/agentrhq/webcmd/main/start.md to set up Webcmd end to end.

Manual

Requirements

  • Node.js 20.6+
  • The webcmd npm CLI, installed globally or in the project
  • Cline — the VS Code extension, CLI, or JetBrains plugin
  • A browser runtime; confirm with webcmd doctor before browser work

Install and configure

Install Webcmd and its skills into Cline's skill directories:

npm install -g @agentrhq/webcmd
webcmd doctor
webcmd skills add --path ~/.cline/skills

For a project-scoped setup that travels with the repo:

webcmd skills add --path .cline/skills --scope project

Cline also discovers skills in ~/.cline/skills/, .cline/skills/, and .claude/skills/. It loads skill metadata at startup and activates webcmd-browser on demand through its use_skill tool.

Restart Cline (or start a new task) after installing skills. In the extension, confirm they appear under the Skills tab (scale icon in the Cline panel).

Override default tools

Cline's web surface depends on which app you are using:

Surface Tools What to do
ClineCore (CLI, SDK, Kanban) fetch_web Prefer Webcmd over fetch_web for reading pages
IDE extension (Cline provider) web_fetch, web_search, browser_action Keep web_search; prefer Webcmd over web_fetch and browser_action on the open web

fetch_web and web_fetch are lossy fetches — HTTP with HTML-to-markdown conversion, no real browser session. Webcmd returns authenticated, JavaScript-rendered content and supports multi-step automation. Keep web_search. Webcmd has no search index of its own.

Cline has no per-tool deny list like OpenCode. Steer it with a rule in .clinerules/webcmd.md:

# Webcmd for the open web

Use Webcmd for anything on the open web — fetching, authenticated third-party sites, multi-step automation, workflows worth making reusable:

- Check `webcmd list -f json` for an adapter that covers the task; use it first.
- Otherwise run `webcmd --profile work session create "Work Project"`, then drive its returned readable ID with `webcmd --profile work --session work-project-k7 browser tabs` via `bash`.
- Run `webcmd doctor` first; use `webcmd --profile work session list` to inspect state and `webcmd --profile work session close work-project-k7` when finished.
- For login walls, use Webcmd's human handoff; never type passwords, OTPs, cookies, or credentials.

Use Cline's `web_search` to find URLs, then Webcmd to read them.

Use `browser_action` only for the app being edited: localhost dev server, console and network triage, visual checks after a change.

Do not use `fetch_web`, `web_fetch`, or `browser_action` for external third-party sites when Webcmd can handle the task.

Read the full file on GitHub · 95 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 95 lines · 0 tokens per session scan A 8608eaf1c7eb

Subscribe to this mod's changes

cline is an agent published in the GitHub repository agentrhq/webcmd (1,572 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,293 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-02.