← 返回 Skills 市场
Docx Cn
作者
Guohongbin
· GitHub ↗
· v1.0.1
7839
总下载
1
收藏
56
当前安装
2
版本数
在 OpenClaw 中安装
/install docx-cn
功能描述
Word 文档处理 | Word Document Processing. 创建、读取、编辑 Word 文档 | Create, read, edit Word documents. 支持 .docx 格式、格式化、表格、图片 | Supports .docx format, formatting, tables...
安全使用建议
Review before installing. Use this skill only in an isolated workspace, avoid processing untrusted Office files in a shared multi-user environment, clear or protect /tmp/lo_socket_shim.so and /tmp/libreoffice_docx_profile, and prefer a version that uses private per-run temporary directories, exact macro/shim verification, timeout failures, and pinned dependencies.
功能分析
Type: OpenClaw Skill
Name: docx-cn
Version: 1.0.1
The skill bundle is classified as suspicious primarily due to the `scripts/office/soffice.py` file. This script dynamically compiles a C shim using `gcc` and then injects it into the LibreOffice process via `LD_PRELOAD`. While the C code itself appears to be a benign network shim designed to bypass sandbox restrictions for AF_UNIX sockets, the technique of dynamic code compilation and `LD_PRELOAD` is a highly privileged and powerful capability. If an attacker could inject malicious C code or manipulate the compilation process, it would lead to arbitrary code execution (RCE). This represents a critical vulnerability, even if the current intent is functional rather than malicious. Other aspects, such as extensive external command execution (`pandoc`, `pdftoppm`, `npm`) and direct XML manipulation, are expected for a document processing skill, and the use of `defusedxml` and template tag sanitization (`validators/base.py`) are positive security practices.
能力评估
Purpose & Capability
The artifacts coherently support creating, reading, editing, validating, converting, commenting on, and accepting changes in Office documents; no credential access, network exfiltration, or unrelated data collection was found.
Instruction Scope
Document operations are user-directed, but the skill invokes LibreOffice macros and conditionally applies an LD_PRELOAD native shim without clear user-facing disclosure in the main skill instructions.
Install Mechanism
There is no opaque installer, but the skill depends on external tools such as LibreOffice, pandoc, poppler, gcc when the shim is needed, and an unpinned global npm install for docx-js.
Credentials
LibreOffice integration is related to the purpose, but dynamically compiling and preloading native code to intercept libc socket behavior is unusually powerful for document conversion and is not well contained.
Persistence & Privilege
The skill reuses predictable files under /tmp, including /tmp/lo_socket_shim.so and /tmp/libreoffice_docx_profile, creating tampering and cross-run interference risk without requesting elevated privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install docx-cn - 安装完成后,直接呼叫该 Skill 的名称或使用
/docx-cn触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Added _meta.json file for skill metadata management.
- No other functionality or documentation changes.
v1.0.0
Word document processing | Word 文档处理,中英文双语
元数据
常见问题
Docx Cn 是什么?
Word 文档处理 | Word Document Processing. 创建、读取、编辑 Word 文档 | Create, read, edit Word documents. 支持 .docx 格式、格式化、表格、图片 | Supports .docx format, formatting, tables... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 7839 次。
如何安装 Docx Cn?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install docx-cn」即可一键安装,无需额外配置。
Docx Cn 是免费的吗?
是的,Docx Cn 完全免费(开源免费),可自由下载、安装和使用。
Docx Cn 支持哪些平台?
Docx Cn 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Docx Cn?
由 Guohongbin(@guohongbin-git)开发并维护,当前版本 v1.0.1。
推荐 Skills