← Back to Skills Marketplace
1237
Downloads
2
Stars
4
Active Installs
1
Versions
Install in OpenClaw
/install office-to-md-v2
Description
Convert PDF, DOC, DOCX, and PPTX office documents to Markdown, supporting legacy .doc files with text extraction and basic formatting preservation.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install office-to-md-v2 - After installation, invoke the skill by name or use
/office-to-md-v2 - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is 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. It is an AI Agent Skill for Claude Code / OpenClaw, with 1237 downloads so far.
How do I install Office To Md V2?
Run "/install office-to-md-v2" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Office To Md V2 free?
Yes, Office To Md V2 is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Office To Md V2 support?
Office To Md V2 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Office To Md V2?
It is built and maintained by Lkyyyy320 (@lkyyyy320); the current version is v0.1.0.
More Skills