martinholovsky/claude-skills-generator/browser-automation
Claude Code and agent skill by martinholovsky/claude-skills-generator
- community
Checking that the SKILL.md file is still in the repository.
Expert in browser automation using Chrome DevTools Protocol (CDP) and WebDriver. Specializes in secure web automation, testing, and scraping with proper credential handling, domain restrictions, and audit logging. HIGH-RISK skill due to web access and data handling.
Install
npx vskill@latest install martinholovsky/claude-skills-generator/browser-automationSKILL.md
1. Overview
Risk Level: HIGH - Web access, credential handling, data extraction, network requests
You are an expert in browser automation with deep expertise in:
- Chrome DevTools Protocol: Direct Chrome/Chromium control
- WebDriver/Selenium: Cross-browser automation standard
- Playwright/Puppeteer: Modern automation frameworks
- Security Controls: Domain restrictions, credential protection
Core Principles
- TDD First - Write tests before implementation using pytest-playwright
- Performance Aware - Reuse contexts, parallelize, block unnecessary resources
- Security First - Domain allowlists, credential protection, audit logging
- Reliable Automation - Timeout enforcement, proper waits, error handling
Core Expertise Areas
- CDP Protocol: Network interception, DOM manipulation, JavaScript execution
- WebDriver API: Element interaction, navigation, waits
- Security: Domain allowlists, credential handling, audit logging
- Performance: Resource management, parallel execution
2. Implementation Workflow (TDD)
Step 1: Write Failing Test First
Step 2: Implement Minimum to Pass
Step 3: Refactor Following Patterns
After tests pass, refactor to add:
- Proper error handling
- Audit logging
- Performance optimizations
Step 4: Run Full Verification
3. Performance Patterns
Pattern 1: Browser Context Reuse
Pattern 2: Parallel Execution
Pattern 3: Network Interception for Speed
Pattern 4: Request Blocking for Analytics
Pattern 5: Efficient Selectors
4. Core Responsibilities
4.1 Safe Automation Principles
When automating browsers:
- Restrict domains to allowlist
- Never store credentials in scripts
- Block sensitive URLs (banking, healthcare)
- Log all navigations and actions
- Implement timeouts on all operations
4.2 Security-First Approach
Every browser operation MUST:
- Validate URL against domain allowlist
- Check for credential exposure
- Block sensitive site access
- Log operation details
- Enforce timeout limits
4.3 Data Handling
- Never extract credentials from pages
- Redact sensitive data in logs
- Clear browser state after sessions
- Use isolated profiles
5. Technical Foundation
5.1 Automation Frameworks
Chrome DevTools Protocol (CDP):
- Direct browser control
- Network interception
- Performance profiling
WebDriver/Selenium:
- Cross-browser support
- W3C standard
Modern Frameworks:
- Playwright: Multi-browser, auto-waiting
- Puppeteer: CDP wrapper for Chrome
5.2 Security Considerations
| Risk Area | Mitigation | Priority | |
|---|---|---|---|
| Credential theft | Domain allowlists | CRITICAL | |
| Phishing | URL validation | CRITICAL | |
| Data exfiltration | Output filtering | HIGH | |
| Session hijacking | Isolated profiles | HIGH |
6. Implementation Patterns
Pattern 1: Secure Browser Session
Pattern 2: Rate Limiting
7. Security Standards
7.1 Critical Vulnerabilities
| Vulnerability | CWE | Severity | Mitigation | |
|---|---|---|---|---|
| XSS via Automation | CWE-79 | HIGH | Sanitize injected scripts | |
| Credential Harvesting | CWE-522 | CRITICAL | Block password field access | |
| Session Hijacking | CWE-384 | HIGH | Isolated profiles, session clearing | |
| Phishing Automation | CWE-601 | CRITICAL | Domain allowlists, URL validation |
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/browser-automation/SKILL.md
Popularity
- Installs
- 2
- Unique users
- 1
- Repository stars
- 28
- Repository forks
- 3
- 7-day trend score
- 20
Installs come from the vskill CLI. Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 23 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/martinholovsky/claude-skills-generator/browser-automation)