Agent Skillssuperlinked/sie › extract-entities

extract-entities

GitHub

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

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

Trigger Scenarios

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

Install

npx skills add superlinked/sie --skill extract-entities -g -y
More Options

Non-standard path

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

Use without installing

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.

Version History

  • 1c7bbe8 Current 2026-09-08 17:33

Same Skill Collection

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

Metadata

Files
0
Version
1c7bbe8
Hash
dca501df
Indexed
2026-09-08 17:33

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-09 01:16
浙ICP备14020137号-1 $Гость$