Agent Skills › superlinked/sie › summarize-document

summarize-document

GitHub

通过 Superlinked MCP 服务总结大型文档,避免将全文载入上下文以节省 Token。支持 PDF、Office 等格式,自动编码并输出摘要文件。

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

Trigger Scenarios

用户要求总结长文档 询问文档内容概要 请求文档摘要或要点

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
5f21c08
Hash
09f95f18
Indexed
2026-09-08 17:34

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-08 12:20
浙ICP备14020137号-1