smallnest/goclaw/actionbook
- community
Checking that the SKILL.md file is still in the repository.
This skill should be used when the user needs to automate multi-step website tasks. Activates for browser automation, web scraping, UI testing, or building AI agents. Provides complete action manuals with step-by-step instructions and verified selectors.
Install
npx vskill@latest install smallnest/goclaw/actionbookSKILL.md
When to Use This Skill
Activate this skill when the user:
- Needs to complete a multi-step task ("Send a LinkedIn message", "Book an Airbnb")
- Asks how to interact with a website ("How do I post a tweet?")
- Builds browser-based AI agents or web scrapers
- Writes E2E tests for external websites
- Navigates to any new page during browser automation
- Wants to control their existing Chrome browser (Extension mode)
Browser Modes
Actionbook supports two browser control modes:
| Mode | Flag | Use Case | |
|---|---|---|---|
| CDP (default) | (none) | Launches a dedicated browser instance via Chrome DevTools Protocol | |
| Extension | --extension | Controls the user's existing Chrome browser via a Chrome Extension + WebSocket bridge |
When to use Extension mode:
- The user wants to operate on their already-open Chrome (with existing logins, cookies, tabs)
- The task requires interacting with pages that need the user's real session state
- The user explicitly mentions their Chrome browser, extension, or existing tabs
When to use CDP mode (default):
- Clean browser environment is preferred
- Headless automation or CI/CD
- Profile-based session isolation is needed
All actionbook browser commands work identically in both modes. The only difference is adding --extension flag (or setting ACTIONBOOK_EXTENSION=1).
How to Use
Phase 1: Get Action Manual
Phase 2: Execute with Browser (CDP mode — default)
Phase 2 (alt): Execute with Extension mode
Extension mode uses identical browser commands — just add --extension. But you must follow the full lifecycle below.
Action Manual Format
Action manuals return:
- Page URL - Target page address
- Page Structure - DOM hierarchy and key sections
- UI Elements - CSS/XPath selectors with element metadata
Action Search Commands
Extension Setup & Management
Commands for managing the Chrome Extension bridge:
Setup flow (one-time):
actionbook extension install— extract extension files and register native messaging host- Open
chrome://extensions→ enable Developer mode → Load unpacked → select the path fromactionbook extension path actionbook extension serve— start bridge (keep running)- Extension auto-connects via native messaging (no manual token needed in most cases). If auto-pairing fails: copy token from
serveoutput → paste in extension popup → Save
Connection check before automation:
Browser Commands
All browser commands below work in both CDP and Extension mode.For Extension mode, add--extensionflag or setACTIONBOOK_EXTENSION=1.
Navigation
Interactions (use CSS selectors from Action Manual)
Get Information
Wait
Screenshots & Export
JavaScript & Inspection
Cookies
Global Flags
Guidelines
- Search by task description, not element name ("arxiv search papers" not "search button")
- Use Action Manual selectors first - they are pre-verified and don't require snapshot
- Prefer CSS ID selectors (
#id) over XPath when both are provided - Fallback to snapshot when selectors fail - use
actionbook browser snapshotthen CSS selectors from the output - Re-snapshot after navigation - DOM changes invalidate previous state
- Extension mode: follow the full lifecycle — pre-flight → connect → execute → cleanup (see Extension Mode Lifecycle)
- Extension mode: verify extension is installed before starting bridge; prefer auto-pair over manual token
- Extension mode: always run
browser closebefore stopping the bridge to release the debug connection - Extension mode: the user's real browser is being controlled — avoid destructive actions (clearing all cookies, closing all tabs) without confirmation
- Extension mode: L3 operations (some cookie/storage modifications) may require manual approval in the extension popup
Fallback Strategy
When Fallback is Needed
Actionbook stores pre-computed page data captured at indexing time. This data may become outdated as websites evolve:
- Selector execution failure - The returned CSS/XPath selector does not match any element
- Element mismatch - The selector matches an element with unexpected type or behavior
- Multiple selector failures - Several selectors from the same action fail consecutively
Fallback Approaches
When Action Manual selectors don't work:
- Snapshot the page -
actionbook browser snapshotto get the current accessibility tree - Inspect visually -
actionbook browser screenshotto see the current state - Inspect by coordinates -
actionbook browser inspect <x> <y>to find elements - Execute JS -
actionbook browser eval "document.querySelector(...)"for dynamic queries
When to Exit
If actionbook search returns no results or action fails unexpectedly, use other available tools to continue the task.
Examples
End-to-end with Action Manual
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinginternal/builtin_skills/actionbook/SKILL.md
Popularity
- Repository stars
- 599
- Repository forks
- 119
- 7-day trend score
- 32
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
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/smallnest/goclaw/actionbook)