← 返回
未分类 中文

Nm Scribe Doc Importer

Import external documents (PDF, DOCX, PPTX, XLSX, HTML) into editable markdown for rewriting or project integration
将外部文档(PDF、DOCX、PPTX、XLSX、HTML)转换为可编辑的 Markdown。
athola athola 来源
未分类 clawhub v1.9.12 4 版本 100000 Key: 无需
★ 0
Stars
📥 510
下载
💾 1
安装
4
版本
#latest

概述

> Night Market Skill — ported from claude-night-market/scribe. For the full experience with agents, hooks, and commands, install the Claude Code plugin.

Document Importer

Import external documents into editable markdown.

When To Use

  • User provides a DOCX, PPTX, XLSX, PDF, or HTML file

to convert into project documentation

  • User wants to extract content from a document for

rewriting or remediation

  • User has a slide deck or spreadsheet to turn into

markdown documentation

When NOT To Use

  • Academic paper analysis: use tome:papers
  • Web article knowledge intake: use

memory-palace:knowledge-intake

  • Content already in markdown: use scribe:doc-generator

remediation mode directly

Import Workflow

Step 1: Identify Source

Determine the source document:

  • Local file path: verify it exists with Read tool
  • URL: verify accessibility
  • User description: confirm format and location

Step 2: Convert to Markdown

Apply the leyline:document-conversion protocol:

  1. Construct URI from source (file path or URL)
  2. Try the markitdown MCP tool for best quality
  3. If unavailable, use native tool fallbacks
  4. If format unsupported, inform user

Step 3: Structural Cleanup

After conversion, normalize the markdown:

  • Ensure ATX headings (# style, not setext underlines)
  • Wrap prose lines at 80 characters per

leyline:markdown-formatting

  • Fix broken tables (align columns, add headers)
  • Remove conversion artifacts (page numbers,

headers/footers, watermarks, repeated logos)

  • Preserve all substantive content

Step 4: Sanitize External Content

Apply the leyline:content-sanitization checklist:

  • Size check (truncate sections over 2000 words)
  • Strip system/instruction tags
  • Wrap in external content boundary markers

Step 5: Write Draft

Write the converted markdown to the target location.

Default: same directory as source, with .md extension.

Ask the user for target path if ambiguous.

Step 6: Hand Off to Doc-Generator (Optional)

If the user wants polishing or rewriting:

  • Invoke Skill(scribe:doc-generator) in Remediation

mode on the imported file

  • The doc-generator handles slop detection, style

application, and quality gates

Offer this step; do not assume the user wants remediation.

Output Quality

The imported markdown should:

  • Have a top-level # Title from the document title
  • Preserve the original heading hierarchy
  • Convert tables to markdown tables
  • Convert images to !alt references

(note: image files may need separate handling)

  • Convert lists faithfully
  • Mark unclear or garbled sections with

Exit Criteria

  • Source document identified and accessible
  • Conversion attempted via document-conversion protocol
  • Structural cleanup applied
  • Sanitization checklist passed
  • Draft written to target path
  • User informed of any conversion limitations

版本历史

共 4 个版本

  • v1.9.12 当前
    2026-06-19 19:47 安全 安全
  • v1.0.2
    2026-05-09 16:31 安全 安全
  • v1.0.1
    2026-05-07 04:15 安全 安全
  • v1.0.0
    2026-05-03 11:19 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

Nm Parseltongue Python Performance

athola
分析 Python 代码的性能瓶颈和内存问题
★ 0 📥 768
office-efficiency

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 464 📥 155,573
office-efficiency

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 388 📥 147,881