CLI & Skills
title: CLI & Skills subtitle: Automate browsers and manage workflows from the command line slug: integrations/cli
The 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
Set your API key:
Optionally run the interactive setup wizard to configure your environment:
Command reference
Services
Browser automation
All browser commands operate on an active session. Create one first, then run actions against it.
Every browser command supports --json for machine-readable output, and --session / --cdp to target a specific session. If omitted, the CLI uses the last active session automatically.
Workflows
Credentials
Credentials are created interactively via stdin so secrets never appear in shell history.
Note: 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:
Other
CLI vs MCP: when to use which
The CLI and MCP server share the same underlying logic. The CLI is for humans and scripts; MCP is for AI assistants that call tools programmatically.
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
Skills are plain markdown files. You can load them into any AI coding tool that supports custom instructions:
Claude Code — add the skill path as a custom instructions file or use skyvern setup claude-code which configures MCP (the richer integration path).
Codex — copy the skill into your project’s .codex/skills/ directory:
Any tool — point your tool at the file path returned by 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
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
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
Browser commands require an active session. Create one first:
Or specify a session explicitly:

