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 从公开仓库中收录这些内容。

举报或申请下架