Core Actionbook

actionbook/rust-skills/skills/core-actionbook

作者 actionbook5c40d3ad7851無授權條款1.5K 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫6 週前更新

Internal support skill for actionbook MCP selectors used by Rust documentation research workflows. Use only when another rust-skills workflow explicitly requests actionbook-backed selectors.

僅含說明AI & Agents
AI 產生的概覽

透過 actionbook MCP 工具提供預先算好的瀏覽器操作手冊與元素選擇器,供自動化工作流程使用。

功能
這個內部支援技能說明如何使用 actionbook MCP 工具取得預先算好的瀏覽器自動化操作手冊。它描述如何依關鍵字搜尋操作、透過以 URL 為基礎的操作 ID 取得完整手冊,以及將傳回的 CSS 或 XPath 選擇器、元素類型與允許的方法搭配瀏覽器自動化工具使用。它產出結構化的頁面資訊與選擇器,而不是解析整份 HTML。
適用情境
僅在另一個 rust-skills 工作流程明確要求使用 actionbook 支援的選擇器時使用。此技能無法由使用者叫用,也不應直接觸發。
執行需求
需要 actionbook MCP 工具 search_actions 與 get_action_by_id,以及另一個瀏覽器自動化工具來執行傳回的選擇器。不包含指令碼,僅為說明文件。

Actionbook

Pre-computed action manuals for browser automation. Agents receive structured page information instead of parsing entire HTML.

Workflow

  1. search_actions - Search by keyword, returns URL-based action IDs with content previews
  2. get_action_by_id - Get full action manual with page details, DOM structure, and element selectors
  3. Execute - Use returned selectors with your browser automation tool

MCP Tools

  • search_actions - Search by keyword. Returns: URL-based action IDs, content previews, relevance scores
  • get_action_by_id - Get full action details. Returns: action content, page element selectors (CSS/XPath), element types, allowed methods (click, type, extract), document metadata

Parameters

search_actions:

  • query (required): Search keyword (e.g., "airbnb search", "google login")
  • type: vector | fulltext | hybrid (default)
  • limit: Max results (default: 5)
  • sourceIds: Filter by source IDs (comma-separated)
  • minScore: Minimum relevance score (0-1)

get_action_by_id:

  • id (required): URL-based action ID (e.g., example.com/page)

Example Response

json
{  "title": "Airbnb Search",  "url": "www.airbnb.com/search",  "elements": [    {      "name": "location_input",      "selector": "input[data-testid='structured-search-input-field-query']",      "type": "textbox",      "methods": ["type", "fill"]    }  ]}

來源與署名

來源:actionbook/rust-skills位於skills/core-actionbook提交5c40d3a

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架