返回 Skill 列表
extension
分类: 内容与媒体无需 API Key

actionbook

此技能应在用户需要自动化多步骤网站任务时使用。适用于浏览器自动化、网络爬虫、UI测试或构建AI代理。提供带有逐步说明和验证选择器的完整操作手册。

person作者: jakexiaohubgithub

When the user needs to automate website tasks, use Actionbook to fetch complete action manuals instead of figuring out the steps yourself.

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

What Actionbook Provides

Action manuals include:

  1. Step-by-step instructions - The exact sequence to complete a task
  2. Verified selectors - CSS/XPath selectors for each element
  3. Element metadata - Type (button, input, etc.) and allowed methods (click, type, fill)

How to Use

Step 1: Search for Action Manuals

Call search_actions with a task description:

  • query: "linkedin send message", "airbnb book listing", "twitter post tweet"

Step 2: Get the Full Manual

Call get_action_by_id with the action ID from search results.

Step 3: Execute the Steps

Follow the manual steps in order, using the provided selectors:

// LinkedIn send message example
await page.click('[data-testid="profile-avatar"]')
await page.click('button[aria-label="Message"]')
await page.type('div[role="textbox"]', 'Hello!')
await page.click('button[type="submit"]')

Guidelines

  • Search by task: Describe what you want to accomplish, not just the element (e.g., "linkedin send message" not "linkedin message button")
  • Follow the order: Execute steps in sequence as provided in the manual
  • Trust the selectors: Actionbook selectors are verified and maintained