← 返回 Skills 市场
lkyyyy320

Office To Md V2

作者 Lkyyyy320 · GitHub ↗ · v0.1.0
cross-platform ⚠ suspicious
1237
总下载
2
收藏
4
当前安装
1
版本数
在 OpenClaw 中安装
/install office-to-md-v2
功能描述
Convert PDF, DOC, DOCX, and PPTX office documents to Markdown, supporting legacy .doc files with text extraction and basic formatting preservation.
安全使用建议
This skill appears to do what it says (converting office files to Markdown). Before installing or running it: 1) Review and be comfortable with the PPTX converter's behavior — it writes a Python script to /tmp and may attempt to run `pip3 install python-pptx` automatically. If you prefer control, install python-pptx yourself in a controlled environment instead of letting the skill run pip. 2) Run the skill in an isolated environment (sandbox / container) until you trust it, because it executes shell commands (python3, unzip, pip3, rm -rf) and spawns child processes. 3) Update any hard-coded absolute paths in the examples/tests to avoid accidental access to host-specific paths. 4) Inspect or run `npm install` in a safe workspace to fetch Node dependencies from npmjs.org. If you need higher assurance, request the author/source or run the code review and dependency scans before using it with sensitive files.
功能分析
Type: OpenClaw Skill Name: office-to-md-v2 Version: 0.1.0 The skill is classified as suspicious due to its extensive use of `child_process.execSync` in `office-to-md/utils/pptConverter.js` to execute external commands like `python3`, `pip3`, `unzip`, and `rm`. While the `filePath` argument passed to these commands appears to be properly quoted, the use of `execSync` for auto-installing dependencies (`pip3 install python-pptx`) and running external scripts introduces a significant attack surface and supply chain risk. There is no clear evidence of intentional malicious behavior, but these high-risk capabilities could be exploited if inputs are not perfectly sanitized or if the execution environment is compromised.
能力评估
Purpose & Capability
The name/description (convert office docs to Markdown) matches the included code and docs. Converters for PDF, DOCX, legacy DOC, and PPTX are present and the declared npm dependencies (mammoth, pdf-parse, turndown, word-extractor) align with the functionality.
Instruction Scope
SKILL.md and the wrapper instruct the agent to run the included Node scripts and read/write files (expected). However the PPTX converter and examples call out shell operations: creating a Python script in /tmp, executing python3, trying to pip3 install python-pptx at runtime, running unzip and rm -rf on temporary directories, and using child_process.execSync. Those steps expand the runtime scope beyond pure Node module behavior and should be reviewed before running on sensitive hosts.
Install Mechanism
There is no formal install spec in the registry (instruction-only), but package.json and office-to-md/package.json rely on standard npm packages from npmjs.org (expected). The PPTX path includes a runtime pip3 install call (pip3 install python-pptx) invoked via execSync; that performs an external download from PyPI at runtime, which is functional but increases risk compared to declarative dependency installation.
Credentials
The skill does not request environment variables, credentials, or config paths. Example/test code references absolute paths under /root/.openclaw/workspace and a specific local .doc path (likely sample/test artifacts) but no secrets are required.
Persistence & Privilege
The skill does not request always:true, does not modify other skills, and exports a callable function. It writes temporary files (/tmp/extract_pptx.py) and output .md files next to inputs (expected behavior for a converter), but it does not assert permanent elevated privileges or persistent system-wide changes.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install office-to-md-v2
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /office-to-md-v2 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
- Initial release of office-to-md-v2 skill. - Converts PDF, DOC, DOCX, and PPTX files to Markdown format. - Adds full support for legacy .doc files using word-extractor (Chinese supported). - Integrates completely with OpenClaw, including wrapper and workflow examples. - API provides structured output, statistics, and error reporting. - Detailed installation, usage, troubleshooting, and configuration instructions included.
元数据
Slug office-to-md-v2
版本 0.1.0
许可证
累计安装 4
当前安装数 4
历史版本数 1
常见问题

Office To Md V2 是什么?

Convert PDF, DOC, DOCX, and PPTX office documents to Markdown, supporting legacy .doc files with text extraction and basic formatting preservation. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1237 次。

如何安装 Office To Md V2?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install office-to-md-v2」即可一键安装,无需额外配置。

Office To Md V2 是免费的吗?

是的,Office To Md V2 完全免费(开源免费),可自由下载、安装和使用。

Office To Md V2 支持哪些平台?

Office To Md V2 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Office To Md V2?

由 Lkyyyy320(@lkyyyy320)开发并维护,当前版本 v0.1.0。

💬 留言讨论