← 返回 Skills 市场
pandoc-docx
作者
fuyabing6803
· GitHub ↗
· v1.0.0
· MIT-0
151
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install pandoc-docx
功能描述
支持使用 pandoc 在 Word (.docx) 与 Markdown 及多种格式之间进行双向转换,保留主要格式和图片。
安全使用建议
This skill appears to do what it says: local document conversions using pandoc and optional local tools (libreoffice, pdftotext, texlive). It does not request credentials or contact external servers. Before using: 1) run ./scripts/check-deps.sh to verify required tools are installed; 2) review the scripts if you will convert sensitive documents (doc-edit's replace uses sed without escaping and could alter content unexpectedly); 3) keep backups of original files before running bulk/replace operations; 4) note the package.json metadata is a bit misleading (lists system packages and Node engines) but that is a packaging issue, not a network/credential risk. If you want extra caution, run the scripts in an isolated environment or a disposable VM/container.
功能分析
Type: OpenClaw Skill
Name: pandoc-docx
Version: 1.0.0
The skill bundle provides document conversion utilities using pandoc but contains significant command injection vulnerabilities due to improper input sanitization. Specifically, `scripts/doc-edit.sh` uses unsanitized variables in a `sed` command, which can be exploited for remote code execution (RCE) via the `e` flag. Additionally, `scripts/doc-read.sh` and `scripts/doc-write.sh` pass format arguments directly to `pandoc`, which could allow for argument injection. While these appear to be unintentional security flaws rather than deliberate malware, they pose a high risk to the environment.
能力评估
Purpose & Capability
Name/description match the scripts and SKILL.md: the bundle is a pandoc-based docx↔markdown converter and the scripts call pandoc/libreoffice/pdftotext as expected. Minor oddity: package.json declares system packages (pandoc, libreoffice, poppler-utils, texlive) under dependencies/optionalDependencies and Node engine requirements despite the skill being implemented as bash scripts — this is a packaging metadata mismatch but does not change the runtime behavior.
Instruction Scope
SKILL.md and the scripts only read and write local files and invoke local tools (pandoc, libreoffice, pdftotext). They do not send data to external endpoints. Attention: doc-edit.sh uses sed with unescaped user-supplied patterns/replacements (simple string substitution) which can produce unexpected results or command failures for complex inputs; users should be careful when using replace operations on sensitive documents and keep backups.
Install Mechanism
No install spec or remote downloads; this is an instruction-only skill with local shell scripts. No third-party archive downloads or URL-based installs are present.
Credentials
No environment variables, credentials, or config paths are required. The scripts only check for and call standard command-line tools (pandoc, libreoffice, pdftotext, tex).
Persistence & Privilege
Skill is not force-included (always:false) and does not request elevated persistent privileges or modify other skills or global agent configuration.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install pandoc-docx - 安装完成后,直接呼叫该 Skill 的名称或使用
/pandoc-docx触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of pandoc-docx skill.
- Enables bidirectional conversion between Word (.docx) and Markdown using pandoc.
- Supports format conversion among .docx, .md, .pdf, .txt, .html, and .epub.
- Includes scripts for reading, writing, converting, and editing documents, with batch processing and image extraction.
- Dependency and compatibility details provided, including optional tools for .doc and PDF support.
- Documents usage scenarios, best practices, and potential format conversion limitations.
元数据
常见问题
pandoc-docx 是什么?
支持使用 pandoc 在 Word (.docx) 与 Markdown 及多种格式之间进行双向转换,保留主要格式和图片。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 151 次。
如何安装 pandoc-docx?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install pandoc-docx」即可一键安装,无需额外配置。
pandoc-docx 是免费的吗?
是的,pandoc-docx 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
pandoc-docx 支持哪些平台?
pandoc-docx 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 pandoc-docx?
由 fuyabing6803(@mo-yuhua)开发并维护,当前版本 v1.0.0。
推荐 Skills