skyvern CLI gives you direct access to browser automation, workflow management, credential storage, and more — all from your terminal. Use it in shell scripts, CI/CD pipelines, or for quick one-off tasks.
Install
Command reference
Services
Browser automation
All browser commands operate on an active session. Create one first, then run actions against it.Connect your local browser to Skyvern Cloud
Expose your local Chrome to Skyvern Cloud so tasks can access localhost, internal tools, and your existing login sessions.--use-local-profile flag clones cookies and saved passwords from your Chrome profile into the served browser. Your original profile is never modified, and it works while Chrome is open.
See the full guide for all options, manual tunnel setup, and security details.
Workflows
Credentials
Credentials are created interactively via stdin so secrets never appear in shell history.credentials (plural) is used for the interactive add command; credential (singular) for list/get/delete. Both forms are intentional.
Workflow blocks
MCP setup
Register Skyvern’s MCP server with your AI coding tool in one command:skyvern quickstart or skyvern init can also configure Claude Code during the interactive MCP step. In a project directory that flow writes .mcp.json, installs .claude/skills/qa, and keeps the MCP connection fully local for localhost testing.
skyvern mcp switch updates existing Skyvern entries in Claude Code, Claude Desktop, Cursor, Windsurf, Codex, Hermes, and OpenClaw configs. It lets you choose a source from env, saved profiles, existing configs already on disk, or manual entry; creates backups before writing; and preserves the config’s current transport shape. If a tool has no Skyvern entry yet, run skyvern setup first.
Other
CLI vs MCP: when to use which
| Use case | CLI | MCP |
|---|---|---|
| Shell scripts and CI/CD | Yes | No |
| One-off browser tasks | Yes | Yes |
| AI assistant integration (Claude, Cursor, Codex) | No | Yes |
| Credential creation (secrets via stdin) | Yes | No |
| Starting/stopping services | Yes | No |
Composing with Unix pipes (--json output) | Yes | No |
| Natural language orchestration by an AI agent | No | Yes |
Skills
Skills are bundled reference markdown files that teach AI coding tools how to use Skyvern. They are not the same as MCP tools — they are documentation that an AI agent can load to learn the CLI and API.Loading skills into AI tools
Loading skills into AI tools
Skills are plain markdown files. You can load them into any AI coding tool that supports custom instructions:Claude Code — the recommended local path is Hermes — copy the skill to your active Hermes profile’s skills directory. The skill needs Hermes-compatible frontmatter (Replace the frontmatter in the copied Then move it into place: Any tool — point your tool at the file path returned by
skyvern quickstart or skyvern init, then choose Claude Code during MCP setup. That writes .mcp.json and installs bundled skills like /qa. You can also run skyvern setup claude-code later if you are configuring MCP separately.Codex — copy the skill into your project’s .codex/skills/ directory:metadata.hermes.requires_tools instead of allowed-tools):SKILL.md with:cp /tmp/skyvern-skill/SKILL.md ~/.hermes/profiles/<your-profile>/skills/skyvern-browser-automation/SKILL.mdVerify with hermes skills list | grep skyvern.OpenClaw — copy the skill into your OpenClaw workspace skills/ directory. By default that workspace lives at ~/.openclaw/workspace/, but if you’ve customized the workspace path, use that location instead.skyvern skill path skyvern.JSON output
All commands support--json for structured output, making it easy to compose with jq and other tools:
Troubleshooting
Command not found: skyvern
Command not found: skyvern
Make sure the package is installed and on your PATH:If using a virtual environment, activate it first. You can also run via module:
Authentication errors
Authentication errors
Verify your API key is set:You can also pass it directly:Get an API key from Settings in the Skyvern dashboard.
No active browser session
No active browser session
Browser commands require an active session. Create one first:Or specify a session explicitly:

