Agent Skillssuperlinked/sie › summarize-document

summarize-document

GitHub

通过 Superlinked MCP 工具高效总结长文档,避免加载全文到上下文。支持 PDF、Office 及文本格式,输出摘要文件并处理错误。

packages/sie_mcp/plugin/claude-code/summarize-document/SKILL.md superlinked/sie

Trigger Scenarios

用户请求对大文件进行总结、概览或消化内容 询问大型文档(如 PDF、扫描件)的核心内容

Install

npx skills add superlinked/sie --skill summarize-document -g -y
More Options

Non-standard path

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

Use without installing

npx skills use superlinked/sie@summarize-document

指定 Agent (Claude Code)

npx skills add superlinked/sie --skill summarize-document -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": "summarize-document",
    "description": "Summarize a long PDF, scan, office file, text file, or markdown file through the connected Superlinked MCP edge instead of reading the whole source into model context. Use when the user asks for a summary, overview, digest, or \"what does this document say\" about a large file."
}

Summarize a Document with Superlinked MCP

Use the connected Superlinked MCP server to summarize the source on the SIE cluster through the MCP summarize_document tool.

Steps

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

  2. Call the Superlinked MCP summarize_document tool:

    • 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.
  3. Write the returned summary to processed/<source-stem>.summary.md. Create processed/ if it does not exist.

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

    Summarized <source> -> processed/<source-stem>.summary.md (<summary_chars> chars)
    

    If metadata includes token_savings_estimate, include it as an estimate.

  5. Present the summary from the artifact. If the user asks for exact quotes or detailed follow-up, use parse-document and inspect only relevant sections of the parsed markdown.

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:34

Same Skill Collection

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

Metadata

Files
0
Version
1c7bbe8
Hash
09f95f18
Indexed
2026-09-08 17:34

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