Bruce Doc Converter — Documentation skill for Claude Code
为 Claude Code / OpenClaw 添加双向文档转换能力.
How to install Bruce Doc Converter
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open bruc3van/bruce-doc-converter and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Bruce Doc Converter does
为 Claude Code / OpenClaw 添加双向文档转换能力。支持 Word/Excel/PPT/PDF ↔ Markdown,导出精美 Word 文档。
Alternatives in Documentation
- Docx — Create, edit, and analyze Word documents with tracked changes, comments, and formatting 94.1k ★
- Translate Doc Zh — Translate English documentation to Chinese 5.7k ★
- Ars Format Convert — ARS academic-paper format-convert mode — convert to LaTeX / DOCX / PDF / Markdown 4.5k ★
README
Bruce Doc Converter
为 Claude Code / OpenClaw 添加双向文档转换能力
[](https://github.com/anthropics/claude-code) [](https://www.python.org/downloads/) [](LICENSE)
**Bruce Doc Converter** 是一个面向 Agent 的文档转换 CLI,为 **Claude Code / OpenClaw** 添加**双向文档转换**能力:
- Office/PDF → Markdown:将 Word、Excel、PowerPoint、PDF 转换为 AI 友好的 Markdown 格式
- Markdown → Word:将 Markdown 导出为排版精美的 Word 文档,自动渲染 Mermaid 图表
安装
首先检查 `bdc` 是否已安装:
command -v bdc # macOS / Linux
where bdc # Windows
若未安装,依次尝试以下方式(成功即止):
# 1. pipx(首选,独立环境,bdc 直接可用)
pipx install bruce-doc-converter
# 2. uv(快速、独立,bdc 直接可用)
uv tool install bruce-doc-converter
# 3. pip --user(最通用,bdc 直接可用)
pip3 install --user bruce-doc-converter # macOS/Linux
pip install --user bruce-doc-converter # Windows
# 或通用写法:python3 -m pip install --user bruce-doc-converter(Windows 用 `python`)
# 4. venv 兜底(处处可用,但 bdc 不在 PATH 中)
python3 -m venv .venv
.venv/bin/pip install bruce-doc-converter
# Windows: .venv\Scripts\pip install bruce-doc-converter
**venv 提示**:使用 venv 方式安装后,下文所有 `bdc` 命令需替换为 `.venv/bin/bdc`(macOS/Linux)或 `.venv\Scripts\bdc`(Windows)。
**Windows 提示**:若 `python3` 未识别,改用 `python`。
Agent CLI 用法
bdc convert /path/to/document.docx
bdc convert /path/to/notes.md
bdc convert /path/to/notes.md --mermaid-scale 4
bdc batch /path/to/documents
CLI 默认向 stdout 输出 JSON,stderr 仅用于进度日志。
内容完整性与批量结果
# 有内容缺失或降级警告时返回失败,不生成该文件的转换结果
bdc convert budget.xlsx --strict
# 仅返回前 4000 个字符;完整正文仍保存在输出文件中
bdc convert report.docx --content preview --preview-chars 4000
# 不将正文装入 JSON;完整逐文件明细写入独立 JSONL 清单
bdc batch ./documents --content none --manifest auto --max-results 200
# 每完成一个文件即输出一行 JSON,最后输出汇总
bdc batch ./documents --content none --jsonl --manifest ./results.jsonl
`--content`
Related Skills
Karpathy Wiki Graph
Enterprise-grade knowledge base agent with interactive knowledge graph. CLI-atomic, drop-in skill for Claude C
Reader Rs
Agent 原生文档阅读、搜索与提取 CLI:PDF / Word(含 .doc)/ EPUB / Office / CSV 等 14 种格式,按页/节读、正则搜、目录批量搜;grep 语义退出码,Rust 单二进制
Doc To Markdown Skill
Claude Code skill to convert Word documents to Markdown with image preservation
Wechat Article To Md
Claude Code Skill - 抓取微信公众号文章并转换为 Markdown,自动下载图片 WeChat Article to Markdown Converter
Bob Produce Legal Doc
Produce a professional, fillable, visually verified legal PDF from approved Markdown using a project-local pri
Create Doc
Generate a professional Word document (.docx) using Python and python-docx.
Related Agents
Dev Document
Generation of documents (PDF, DOCX, XLSX, PPTX). Use to create a document, generate a report, export to PDF/Wo
Soan Tai Lieu Thuong Hieu
Xuất nội dung đã duyệt ra file Word, Excel, PowerPoint hoặc PDF đúng bộ nhận diện công ty. Gọi khi cần tạo fil
Document Scout
Use proactively for read-only fact-finding in local non-code documents and on the web: dates, deadlines, amoun