当用户需要与任何网站交互时激活 - 浏览器自动化、网页抓取、屏幕截图、表单填写、UI 测试、监控或构建 AI 代理。提供预先验证的页面操作以及分步说明和经过测试的选择器。
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install actionbook或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install actionbook⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/actionbook/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: actionbook description: Activate when the user needs to interact with any website — browser automation, web scraping, screenshots, form filling, UI testing, monitoring, or building AI agents. Provides pre-verified page actions with step-by-step instructions and tested selectors. ---
Activate when the user's request involves interacting with a website:
Activate when the user:
Actionbook is a library of pre-verified page interaction data. actionbook search finds actions matching a task description; actionbook get " returns a structured document describing a page's purpose, functional capabilities, and DOM structure with inline CSS selectors — eliminating the need for runtime page structure discovery.
actionbook search "<query>" # Search by task intent
actionbook search "<query>" --domain site.com # Filter by domain
actionbook search "<query>" --url <url> # Filter by URL
actionbook search "<query>" -p 2 -s 20 # Pagination
Returns for each result:
ID — use with actionbook get "" to retrieve full detailsType — page (full page) or area (page section)Description — page overview and function summaryURL — page where this action appliesHealth Score — selector reliability percentage (0–100%)Updated — last verified dateThe query string is the primary signal for finding the right action. Pack it with the user's full intent — not just a site name or a vague keyword.
Include in the query:
Rule of thumb: Rewrite the user's request as a single descriptive sentence and use that as the query.
| User says | Bad query | Good query | |-----------|-----------|------------| | "Book an Airbnb in Tokyo for next week" | "airbnb" | "airbnb search listings Tokyo dates check-in check-out guests" | | "Search arXiv for recent NLP papers" | "arxiv search" | "arxiv advanced search papers NLP natural language processing recent" | | "Send a LinkedIn connection request" | "linkedin" | "linkedin send connection request invite someone" | | "Post a tweet with an image" | "twitter post" | "twitter compose new tweet post with image media attachment" | | "Filter GitHub issues by label" | "github issues" | "github repository issues filter by label search issues" |
When the user provides extra context (e.g., specific dates, a city name, a topic), fold it into the query even if it won't match a stored action literally — it helps the search engine rank relevant pages higher.
# User: "Help me apply for a software engineer job on LinkedIn"
actionbook search "linkedin job search apply software engineer application form"
# User: "I need to search for machine learning papers on arXiv"
actionbook search "arxiv advanced search papers machine learning subject category"
If --domain or --url is known, always add them — they narrow results and improve precision.
# Use the ID from search results directly
actionbook get "arxiv.org:/search/advanced:default"
Returns a structured document with:
Selectors appear embedded in the structure description, e.g.:
Search Term Form Section: Contains search term input field (input[type="text"]),
field selector dropdown (select[name="searchtype"]), and submit button (button.Search)
Extract CSS selectors from the structure summary for use with browser commands.
Quick reference. Full details with all flags and options: command-reference.md.
actionbook browser open <url> # Open URL in new tab
actionbook browser goto <url> # Navigate current page
actionbook browser back / forward # History navigation
actionbook browser reload # Reload page
actionbook browser pages # List open tabs
actionbook browser switch <page_id> # Switch tab
actionbook browser close # Close browser
actionbook browser click "<selector>" # Click element
actionbook browser fill "<selector>" "text" # Clear and type
actionbook browser type "<selector>" "text" # Append text
actionbook browser select "<selector>" "value" # Select dropdown option
actionbook browser hover "<selector>" # Hover
actionbook browser press Enter # Press key
actionbook browser text # Full page text
actionbook browser text "<selector>" # Element text
actionbook browser snapshot # Accessibility tree (live page structure)
actionbook browser screenshot # Save screenshot
actionbook browser screenshot --full-page # Full page screenshot
actionbook browser wait "<selector>" # Wait for element
actionbook browser wait-nav # Wait for navigation
actionbook browser close cleans up the browser session. Skip if the user requests the browser remain open.
User request: "Search arXiv for papers about Neural Networks, search in titles only"
# 1. Search — include the full intent: site + task + subject + filter preference
actionbook search "arxiv advanced search papers neural network title field" --domain arxiv.org
# 2. Get details — read Page Structure Summary for selectors
actionbook get "arxiv.org:/search/advanced:default"
# Response includes: input[type="text"], select[name="searchtype"], button.Search, etc.
# 3. Automate using selectors from the response
actionbook browser open "https://arxiv.org/search/advanced"
actionbook browser fill "input[type='text']" "Neural Network"
actionbook browser select "select[name='searchtype']" "title"
actionbook browser click "button.Search"
actionbook browser wait-nav
actionbook browser text
actionbook browser close
Actionbook stores page data captured at indexing time. Websites evolve, so selectors may become outdated.
When a selector from actionbook get fails at runtime, actionbook browser snapshot provides the live accessibility tree with current selectors. Use selectors from the snapshot output to retry the interaction.
Selectors used in browser commands should come from actionbook get or actionbook browser snapshot output in the current session — not from prior knowledge or memory.
If actionbook search returns no results for a page, use snapshot as the primary source, or fall back to other available tools.
...
安装 行动手册 后,可以对 AI 说这些话来触发它
Help me get started with Actionbook
Explains what Actionbook does, walks through the setup, and runs a quick demo based on your current project
Use Actionbook to activate when the user needs to interact with any website — browser...
Invokes Actionbook with the right parameters and returns the result directly in the conversation
What can I do with Actionbook in my developer & devops workflow?
Lists the top use cases for Actionbook, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/actionbook/ 目录(个人级,所有项目可用),或 .claude/skills/actionbook/(项目级)。重启 AI 客户端后,用 /actionbook 主动调用,或让 AI 根据上下文自动发现并使用。
行动手册 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
行动手册 可免费安装使用。请查阅仓库了解许可证信息。
当用户需要与任何网站交互时激活 - 浏览器自动化、网页抓取、屏幕截图、表单填写、UI 测试、监控或构建 AI 代理。提供预先验证的页面操作以及分步说明和经过测试的选择器。
行动手册 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my developer & devops tasks using Actionbook
Identifies repetitive steps in your workflow and sets up Actionbook to handle them automatically