360 Secure SkillHub
360 安全技能中心

pdf-online

核心功能:将PDF、图片、Word、PPT解析为SoMark格式的Markdown-JSON对;将该结果或用户提供的同格式内容发布到飞书、钉钉、Notion的文档、表格等载体。典型场景:多格式文件转办公平台可编辑内容,或批量发布内容到多平台。输入为待解析文件或指定格式内容,输出为目标平台的可编辑文档等,执行遵循平台规则,解析结果可复用。

soul-code
soul-code
热度 19.25
最近更新 2026-08-24 15:07:04
分类:效率依赖:代码执行 / 读写文件 / 第三方 API / 内部调用大模型应用场景:文件转换 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add pdf-online
Metadata
name
pdf-online
description
Parse PDF, image, Word, or PPT files with SoMark and publish the result to Feishu, DingTalk, or Notion as editable documents, spreadsheets, record tables, or databases. Also use when an exact matching SoMark Markdown-and-JSON pair must be imported into one or more of these platforms.

PDF Online

Route a publishing request to the existing platform adapter. This file is only the entry point: do not reproduce, merge, or improvise platform conversion rules here.

Select the platform

  • Feishu, Lark, a Feishu/Lark destination URL, cloud document, Feishu Sheet, or Bitable request: read platforms/feishu/SKILL.md completely and follow it.
  • DingTalk, Alidocs, a DingTalk destination URL, DingTalk document, online spreadsheet, or AI Table request: read platforms/dingtalk/SKILL.md completely and follow it.
  • Notion, a Notion destination URL, Notion page, or Notion database request: read platforms/notion/SKILL.md completely and follow it.
  • When exactly one platform is implied, route directly. When the platform is genuinely ambiguous, ask only which of Feishu, DingTalk, or Notion to use.
  • When the user explicitly requests multiple platforms, load only those platform modules and execute each independently.

Treat the selected platform directory as that adapter's skill directory. Resolve every scripts/..., references/..., and <skill-dir> path in its instructions relative to that platform directory, never relative to this root. Read platform-specific references only when the selected module directs it. Do not load or mix rules from an unselected platform.

Shared parsing boundary

  • Never invoke SoMark more than once for the same source in one task.
  • For every raw PDF, image, Word, or PPT source, the Agent must invoke the separately installed official somark-document-parser Skill and obtain its Markdown-and-JSON result before running a platform adapter. The adapters do not contain the parser and must not search parent or sibling directories for a parser script.
  • For one platform, give that exact pair to the selected adapter. For multiple platforms, invoke the parser Skill once and give the same pair to every selected adapter. A retry in one platform must reuse the same pair.
  • When the user explicitly supplies an exact matching Markdown-and-JSON pair, do not invoke SoMark and do not search for replacements or historical results.

Execution boundary

The selected platform module is authoritative for target-type routing, conversion, publishing, verification, recovery, degradation, and user-visible status. Keep its scripts and safety rules unchanged. A success or failure on one requested platform does not authorize creating a replacement target or rerunning SoMark for another platform.