Claude Skill Installation
CBrowser offers two different skills for two different platforms. Make sure you install the right one.
Claude.ai Skill (Web Interface)
For: Users of claude.ai in a web browser. Works on all paid plans.
The Claude.ai Skill is a lightweight knowledge package that gives Claude context about CBrowser tools, pricing, workflows, and best practices. It works alongside the MCP connector.
What's Included
cbrowser-claudeai.skill
βββ SKILL.md # Tool tiers, pricing, workflows, key concepts
βββ scripts/
β βββ quick-audit.md # Step-by-step site audit workflow
β βββ competitive-analysis.md # Competitor comparison workflow
β βββ persona-testing.md # Multi-persona testing workflow
βββ references/
β βββ persona-index.md # All 21 personas with traits and use cases
β βββ ctc-guide.md # CTC score interpretation guide
β βββ tool-categories.md # All 120 tools organized by category
βββ assets/
βββ example-prompts.md # Ready-to-use prompts for common tasks
Installation
- Add the MCP connector: Customize β Connectors β "Add custom connector"
- Paste:
https://demo.cbrowser.ai/mcp - Download the CBrowser Skill (.skill)
- Go to Customize β Skills β Upload the zip
- Start a new conversation and test your site
This is NOT the Claude Code skill. The Claude.ai Skill is a knowledge file for the web interface. It does not include CLI tools, workflow routing, or persistent memory. For the Claude Code terminal app, see below.
Claude Code Skill (CLI Terminal App)
For: Users of Claude Code, the terminal CLI app. Not for Claude.ai web.
The Claude Code Skill is a full CLI integration with workflow routing, TypeScript tools, constitutional safety, persistent memory, and session management.
Installation Methods
Method 1: curl Script (Recommended)
One-line installation that downloads all skill files:
curl -fsSL https://raw.githubusercontent.com/alexandriashai/cbrowser/main/scripts/install-skill.sh | bash
Method 2: npx Command
If you already have npm installed:
npx cbrowser install-skill
Method 3: Manual Installation
Clone the repo and copy the skill directory:
git clone https://github.com/alexandriashai/cbrowser.git /tmp/cbrowser
cp -r /tmp/cbrowser/skill ~/.claude/skills/CBrowser
Post-Installation Setup
1. Register the Skill
Add CBrowser to your skill index at ~/.claude/skills/skill-index.json:
{
"CBrowser": "~/.claude/skills/CBrowser/SKILL.md"
}
If the file doesn't exist, create it:
mkdir -p ~/.claude/skills
echo '{"CBrowser": "~/.claude/skills/CBrowser/SKILL.md"}' > ~/.claude/skills/skill-index.json
2. Install npm Package
The skill requires the cbrowser npm package:
npm install -g cbrowser
3. Install Playwright Browsers
# Install all browsers (recommended for cross-browser testing)
npx playwright install
# Or just Chromium
npx playwright install chromium
Skill Structure
After installation, ~/.claude/skills/CBrowser/ contains:
~/.claude/skills/CBrowser/
β
βββ SKILL.md # Main skill file (entry point)
β βββ Workflow routing, trigger phrases, CLI reference
β
βββ Context Files (loaded on demand)
β βββ Philosophy.md # Constitutional safety principles
β β βββ Action zones (Green/Yellow/Red/Black)
β βββ AIVision.md # AI selector documentation
β β βββ Natural language, visual, ARIA, semantic modes
β βββ SessionManagement.md # Session persistence
β β βββ Cookies, localStorage, URL restoration
β βββ Credentials.md # Credential vault
β β βββ Encrypted storage, 2FA/TOTP support
β βββ Personas.md # Persona framework
β βββ Built-in + custom personas, cognitive traits
β
βββ Workflows/ # Task-specific workflows
β βββ Navigate.md # Smart navigation with AI wait detection
β βββ Interact.md # AI-guided click, fill, submit
β βββ Extract.md # Intelligent data extraction
β βββ Authenticate.md # Login handling with credential vault
β βββ Test.md # Test scenarios and assertions
β βββ Journey.md # Autonomous persona exploration
β
βββ Tools/
β βββ CBrowser.ts # TypeScript CLI wrapper
β βββ Invokes npx cbrowser with skill integration
β
βββ .memory/ # Persistent storage (survives sessions)
βββ sessions/ # Saved browser sessions
β βββ {name}.json # Cookies + localStorage + URL
βββ selectors/ # Learned selector mappings
β βββ Self-healing selector cache
βββ personas/ # Custom personas
β βββ {name}.json # Persona definitions
βββ scenarios/ # Test scenarios
β βββ {name}.txt # NL test scripts
βββ audit/ # Action audit logs
βββ Constitutional safety audit trail
Architecture Diagram
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Claude Code β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β User: "Test checkout as elderly user" β β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β β
β βΌ β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β SKILL.md (Entry Point) β β
β β βββ Trigger: "journey", "run as", "simulate" β β
β β βββ Route to: Workflows/Journey.md β β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β β
β βΌ β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β Workflows/Journey.md β β
β β βββ Load: Personas.md β elderly-user β β
β β βββ Invoke: npx cbrowser cognitive-journey β β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β CBrowser npm Package β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β Cognitive User Simulation β β
β β βββ patience, frustration, confusion tracking β β
β β βββ Abandonment detection β β
β β βββ Constitutional safety verification β β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β β
β βΌ β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β Playwright (Browser Automation) β β
β β βββ Chromium / Firefox / WebKit β β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Using CBrowser as a Claude Code Skill
Once installed, you can use CBrowser in Claude Code with natural language:
Workflow Triggers
| Trigger Phrase | Workflow | Action |
|---|---|---|
| "navigate to", "go to", "open" | Navigate | Smart navigation with AI wait detection |
| "extract", "scrape", "get content" | Extract | Intelligent data extraction |
| "click", "fill", "submit" | Interact | AI-guided interactions |
| "login", "authenticate", "sign in" | Authenticate | Handle login flows |
| "test", "run test", "validate" | Test | Run test scenarios |
| "journey", "run as", "simulate" | Journey | Autonomous persona exploration |
Examples
User: "Navigate to example.com and click the login button"
β CBrowser Navigate workflow β Interact workflow
User: "Test the checkout flow as an elderly user"
β CBrowser Journey workflow with elderly-user persona
User: "Compare the staging and production sites visually"
β CBrowser A/B comparison workflow
Updating the Skill
To update to the latest version:
# Re-run the installer (it will ask to update)
curl -fsSL https://raw.githubusercontent.com/alexandriashai/cbrowser/main/scripts/install-skill.sh | bash
# Update the npm package
npm update -g cbrowser
Troubleshooting
Skill Not Recognized
Check that the skill index is correct:
cat ~/.claude/skills/skill-index.json
Should contain:
{"CBrowser": "~/.claude/skills/CBrowser/SKILL.md"}
CLI Commands Not Working
Verify the npm package is installed globally:
which cbrowser
# Should output a path, e.g., /usr/local/bin/cbrowser
npx cbrowser --version
# Should output the current version number
Browser Not Starting
Install Playwright browsers:
npx playwright install
Permission Issues
The skill directory should be owned by your user:
ls -la ~/.claude/skills/CBrowser/
# Should show your user, not root
# Fix if needed:
sudo chown -R $(whoami) ~/.claude/skills/CBrowser/
See Also
- Getting-Started - General quickstart
- Constitutional-Safety - Safety principles
- Persona-Testing - User perspective testing
Copyright: (c) 2026 Alexa Eden.
License: MIT License
Contact: [email protected]