Agent Skillssuperlinked/sie › extract-entities

extract-entities

GitHub

通过Superlinked MCP服务从文档中提取人员、组织等实体,避免加载全文,返回紧凑表格并保存至本地。

packages/sie_mcp/plugin/claude-code/extract-entities/SKILL.md superlinked/sie

触发场景

用户要求从文件中列出或提取实体 需要整理文件中的关键信息为表格

安装

npx skills add superlinked/sie --skill extract-entities -g -y
更多选项

非标准路径

npx skills add https://github.com/superlinked/sie/tree/main/packages/sie_mcp/plugin/claude-code/extract-entities -g -y

不安装直接使用

npx skills use superlinked/sie@extract-entities

指定 Agent (Claude Code)

npx skills add superlinked/sie --skill extract-entities -a claude-code -g -y

安装 repo 全部 skill

npx skills add superlinked/sie --all -g -y

预览 repo 内 skill

npx skills add superlinked/sie --list

SKILL.md

Frontmatter
{
    "name": "extract-entities",
    "description": "Extract people, organizations, dates, amounts, or custom labels from a document through the connected Superlinked MCP edge, returning a compact table instead of reading the full document into context. Use when the user asks to list, extract, or tabulate entities from a file."
}

Extract Entities with Superlinked MCP

Use the connected Superlinked MCP server to run zero-shot entity extraction on the SIE cluster through the MCP extract_entities tool.

Steps

  1. Pick labels from the user's request. Lowercase nouns work best, for example: person, organization, date, amount, contract term.

  2. Do not open, view, attach, or read the whole source document into context.

  3. Call the Superlinked MCP extract_entities tool:

    • Pass labels as a list of label strings.
    • For PDF, scan, image-of-text, DOCX, PPTX, XLSX, or HTML inputs, read raw bytes only, base64-encode them, and pass document_base64 plus filename.
    • For text or markdown inputs, read raw bytes only, base64-encode them, and pass content_base64.
    • Leave engine as auto unless the user explicitly asks to force a conversion engine.
  4. Write the returned markdown_table to processed/<source-stem>.entities.md. Create processed/ if it does not exist.

  5. Your next message must begin with a short receipt:

    Extracted <entity_count> entities from <source> -> processed/<source-stem>.entities.md
    

    Then present the entity table or the subset the user asked for.

Errors

If the MCP call fails, relay the tool error and do not retry blindly. For auth or connector errors, tell the user to reinstall the generated MCP plugin pack or rerun the generated claude mcp add ... --header 'Authorization: Bearer ...' command from INSTALL.md.

版本历史

  • 1c7bbe8 当前 2026-09-08 17:33

同 Skill 集合

packages/sie_mcp/plugin/claude-code/parse-document/SKILL.md
packages/sie_mcp/plugin/claude-code/redact-pii/SKILL.md
packages/sie_mcp/plugin/claude-code/summarize-document/SKILL.md
packages/sie_mcp/plugin/SKILL.md

元信息

文件数
0
版本
1c7bbe8
Hash
dca501df
收录时间
2026-09-08 17:33

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-09 14:27
浙ICP备14020137号-1 $访客地图$