← 返回 Skills 市场
jakliao

Feishu Book Match

作者 xingxiuye · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
126
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install feishu-book-match
功能描述
Fill book match results (匹配结果) and Amazon links (书籍链接) into a Feishu Bitable by querying Amazon with ISBN. Use when asked to match books, fill 匹配结果, 填充书籍链接,...
使用说明 (SKILL.md)

Feishu Book Match

Fill 匹配结果 (match color) and 书籍链接 (Amazon detail link) for books in a Feishu Bitable by querying Amazon UK/US with ISBN.

Step-by-Step Workflow

1. Parse the Bitable URL

Use feishu_bitable_get_meta on the Feishu wiki/base URL to get app_token and table_id.

2. Confirm Field IDs

Use feishu_bitable_list_fields to find the field IDs. Expected field names:

  • ISBN → field_id (e.g. fldbjxXubv)
  • Title → field_id (e.g. fld8AkZOXn)
  • Author → field_id (e.g. fldEVOXS5u)
  • 匹配结果 → field_id (e.g. fldrgtxF6l)
  • 书籍链接 → field_id (e.g. fldxZrhJeG)

3. Find Unprocessed Records

Use feishu_bitable_list_records with page_size=100. Filter to records where 匹配结果 is empty. Process in batches.

4. Query Amazon (Browser Relay)

Use Chrome browser relay (profile: "chrome-relay"):

Step A: Amazon UK search URL: https://www.amazon.co.uk/s?k={ISBN}

Step B: Check results

  • If page shows "No results for your search query in Books" → try Amazon US: https://www.amazon.com/s?k={ISBN}
  • If Amazon US also shows no results → mark 匹配结果 = 🔴 未匹配 → update Bitable → stop for this ISBN

Step C: Get first result info Take the first search result (usually div[data-cy="title-recipe"]). Extract:

  • Title: from the heading inside div[data-cy="title-recipe"] or h2 a span
  • Author: from the author line (often contains by text or a link)

5. Determine Match Color

Compare Amazon result with Excel Title and Author:

  • 🟢 完全一致 (green): Title AND Author both match exactly
  • 🟡 可能一致 (yellow): Title matches, Author similar or slightly different
  • 🔴 很可能不同 (red): Title or Author clearly different

Common causes of yellow:

  • Amazon shows audiobook narrator alongside author (e.g., "Ian Rankin and James Macpherson" where Macpherson is the narrator)
  • Slight title variations (subtitle differences, punctuation)
  • Author name formatting differences

6. Get Detail Link

Execute in the browser tab:

() => {
  const el = document.querySelector('div[data-cy="title-recipe"] a');
  return el ? el.href : null;
}

Strip query parameters — keep only the clean path:

# FROM: https://www.amazon.co.uk/Art-Edible-Flowers-.../dp/B07BQD9D5N?ref=...&dib=...
# TO:   https://www.amazon.co.uk/Art-Edible-Flowers-.../dp/B07BQD9D5N

7. Update Bitable Record

Use feishu_bitable_update_record:

{
  "匹配结果": "完全一致",
  "书籍链接": "https://www.amazon.co.uk/.../dp/ASIN"
}

Known Field IDs (RIVERSIDE_BOOKS Table)

Field field_id
ISBN fldbjxXubv
Title fld8AkZOXn
Author fldEVOXS5u
匹配结果 fldrgtxF6l
书籍链接 fldxZrhJeG

These are stable for the specific table tblskx3DEQkwhc9r. Always verify with feishu_bitable_list_fields if unsure.

Batch Processing

For large tables (2000+ records):

  1. Process in batches of 20–50
  2. Use feishu_bitable_list_records with page_token for pagination
  3. Filter out already-processed records (匹配结果 not empty)
  4. Report progress after each batch
  5. Use background exec or cron if the task needs to run unattended

Tips

  • ISBN normalization: Some ISBNs have dashes; Amazon search works better with dashes removed (e.g., 978-08578347689780857834768)
  • CD/audiobook: Category 1 = "CD" often indicates audiobook — author on Amazon may differ (narrator vs author)
  • No results on .co.uk: Always fall back to .com before marking as unmatched
  • Chrome relay tab reuse: If a tab is already on the right URL, navigate to the new ISBN URL directly rather than opening a new tab
安全使用建议
This skill appears to do what it says: scrape Amazon search results by ISBN and update a Feishu Bitable. Before installing: (1) verify that the platform's Feishu bitable permissions granted to the skill are limited to the specific table/fields it needs; (2) run it against a copy of your table first to confirm it writes only intended fields; (3) confirm that the browser relay/profile used for Amazon searches is isolated (no personal Amazon session cookies) to avoid personalized or private data leakage; (4) be mindful of Amazon's scraping/rate-limit policies and avoid unattended high-volume runs unless you have permission; (5) if you require stronger assurance, request the skill author to add explicit notes about relay isolation and any expected result formats.
功能分析
Type: OpenClaw Skill Name: feishu-book-match Version: 1.0.0 The skill bundle provides a legitimate workflow for an AI agent to synchronize book data between Feishu Bitable and Amazon. It uses standard browser automation (Chrome relay) and Feishu API tools to search for ISBNs, compare titles/authors, and update records. No evidence of malicious intent, data exfiltration, or unauthorized execution was found in SKILL.md or _meta.json.
能力评估
Purpose & Capability
Name/description match the actions in SKILL.md: the skill reads Feishu table metadata/records, scrapes Amazon search results by ISBN, determines a match color, and updates the Bitable. No unrelated credentials, binaries, or installs are requested.
Instruction Scope
Instructions stay within the stated task (list fields, list records, open Amazon search pages in the provided browser relay, extract title/author/link, and update records). Caution: the instructions call for executing JavaScript in a browser relay on third-party pages (Amazon) which could access cookies or other page state if the relay profile is not isolated; the SKILL.md does not mention any isolation, rate limiting, or explicit handling of personalized results.
Install Mechanism
No install spec or external downloads — instruction-only skill (lowest install risk).
Credentials
No environment variables, secrets, or config paths are requested. The required Feishu bitable operations are appropriate for the described task.
Persistence & Privilege
always is false and the skill is user-invocable; it does not request permanent presence or system-wide configuration changes. It does mention background/cron usage as an operational suggestion but does not demand persistent privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install feishu-book-match
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /feishu-book-match 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: fill 匹配结果 and 书籍链接 in Feishu Bitable by querying Amazon UK/US with ISBN
元数据
Slug feishu-book-match
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Feishu Book Match 是什么?

Fill book match results (匹配结果) and Amazon links (书籍链接) into a Feishu Bitable by querying Amazon with ISBN. Use when asked to match books, fill 匹配结果, 填充书籍链接,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 126 次。

如何安装 Feishu Book Match?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install feishu-book-match」即可一键安装,无需额外配置。

Feishu Book Match 是免费的吗?

是的,Feishu Book Match 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Feishu Book Match 支持哪些平台?

Feishu Book Match 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Feishu Book Match?

由 xingxiuye(@jakliao)开发并维护,当前版本 v1.0.0。

💬 留言讨论