Agent Skillssuperlinked/sie › parse-document

parse-document

GitHub

通过 Superlinked MCP 将 PDF、扫描件或办公文件转换为 Markdown,避免直接读取原文档占用上下文。适用于用户请求解析、OCR、提取内容、总结或基于文档问答的场景。

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

Trigger Scenarios

用户要求阅读文档 用户要求解析文档 用户要求进行 OCR 识别 用户要求从文档中提取信息 用户要求总结文档内容 用户要求回答关于文档的问题

Install

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

Non-standard path

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

Use without installing

npx skills use superlinked/sie@parse-document

指定 Agent (Claude Code)

npx skills add superlinked/sie --skill parse-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": "parse-document",
    "description": "Convert a PDF, scan, image of a page, or office file to clean markdown through the connected Superlinked MCP edge, so the source document is not read into model context directly. Use when the user asks to read, parse, OCR, extract from, summarize, or answer questions about a document."
}

Parse a Document with Superlinked MCP

Use the connected Superlinked MCP server to convert the source file to markdown through the MCP docs_to_markdown tool, then work from the markdown artifact.

Steps

  1. Do not open, view, attach, or read the source document into context. Read its raw bytes only and base64-encode those bytes.

  2. Call the Superlinked MCP docs_to_markdown tool with:

    • document_base64: the base64-encoded source bytes
    • filename: the original filename
    • engine: auto unless the user explicitly asks to force docling or vl-ocr
    • ocr: leave false unless forcing the docling OCR path
  3. Write the returned markdown to processed/<source-stem>.md. Create processed/ if it does not exist.

  4. Your next message must begin with a short receipt, then answer from the artifact selectively:

    Parsed <source> -> processed/<source-stem>.md (<chars> chars)
    

    If the MCP metadata includes token-saving figures, include those figures directly under the receipt. Keep estimates marked as estimates.

  5. Answer the user's question from the artifact. Grep or read specific sections; do not read the whole markdown file unless it is small.

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/extract-entities/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
fe66cd87
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 $Гость$