bruce-doc-converter

bruce-doc-converter is a skill for Claude Code, Codex from bruc3van/bruce-doc-converter. It costs 130 tokens per session (1,472 once invoked), scanned A, original, MIT.

A two-way document converter for Word, Excel, PowerPoint, PDF, and Markdown files. It can turn office documents and PDFs into Markdown that AI tools can read, and turn Markdown back into Word documents with Mermaid diagrams rendered as images.

In plain words
What is it for?
Converting, reading, exporting, or analysing DOCX, XLSX, PPTX, PDF, and Markdown files, including rendering Mermaid diagrams in DOCX output.
Why use it?
It removes the need to manually copy content from common document formats into an AI-friendly form. It also helps turn generated Markdown into a shareable Word file.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Converting, reading, exporting, or analysing DOCX, XLSX, PPTX, PDF, and Markdown files, including rendering Mermaid diagrams in DOCX output.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bruc3van/bruce-doc-converter/bruce-doc-converter-skill
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add bruc3van/bruce-doc-converter --skill bruce-doc-converter-skill
Clone the repo
git clone --depth 1 https://github.com/bruc3van/bruce-doc-converter

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bruce-doc-converter

README.md
[![agentmods](https://agentmods.dev/badge/skills/bruc3van/bruce-doc-converter/bruce-doc-converter-skill/github.svg)](https://agentmods.dev/skills/bruc3van/bruce-doc-converter/bruce-doc-converter-skill)
Your own site
<a href="https://agentmods.dev/skills/bruc3van/bruce-doc-converter/bruce-doc-converter-skill"><img src="https://agentmods.dev/badge/skills/bruc3van/bruce-doc-converter/bruce-doc-converter-skill/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bruce-doc-converter

Your own site · 80×15
<a href="https://agentmods.dev/skills/bruc3van/bruce-doc-converter/bruce-doc-converter-skill"><img src="https://agentmods.dev/badge/skills/bruc3van/bruce-doc-converter/bruce-doc-converter-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 130 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,472 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00130 $0.01472
Opus 5.5 $0.00052 $0.00589
Sonnet 5.5 $0.00026 $0.00294
Haiku 4.5 $0.00013 $0.00147

Measured 1mo ago against content hash 3fc8ccaf3159, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bruce-doc-converter scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

bruce-doc-converter-skill/SKILL.md · 69 lines

How it starts

The opening of the file, as written. The whole thing — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Bruce Doc Converter

Run the local bdc CLI through a command execution tool. It prints JSON on stdout; progress logs may appear on stderr.

Prepare the CLI (once per session)

Check installation and updates the first time you convert in a session; later conversions reuse the same entry point without checking again.

  1. Run bdc --help-json. If the command is missing, look for an existing virtual environment (.venv/bin/bdc, or .venv\Scripts\bdc on Windows) before concluding it is not installed; otherwise install it following Install and update.
  2. Read cli_version and install (source, auto_upgrade, upgrade_command). CLIs before 0.2.2 have no install field; identify the installation as described in the reference.
  3. When the network is available, find the latest stable release: python -m pip index versions bruce-doc-converter (first line). Compare semantic versions, not strings; never downgrade or choose a pre-release.
  4. If a newer release exists:
    • auto_upgrade: true (pipx, uv tool, pip --user): run upgrade_command, re-run bdc --help-json to confirm, and tell the user the old and new versions.
    • venv: this may be a project dependency. Tell the user an update exists and run upgrade_command only after they agree.
    • system or source (a development checkout): tell the user; do not modify it.
    • A version the user or host pinned stays as is; only mention the update.
  5. Offline, a failed query, or a host policy that forbids installs: keep using the installed version and say that updates were not checked. Follow the host's install approval and audit rules; do not bypass them to get a newer version.

After an upgrade, the next Markdown to Word conversion may return DEPENDENCY_INSTALL_REQUIRED; run its next_command (bdc setup-node) and retry.

Convert

Office/PDF to Markdown

bdc convert "<file>"
bdc convert "<file>" --content preview      # large files: return a preview, full text is still written
bdc convert "<file>" --extract-images true  # also save embedded images
bdc batch "<directory>"

Read the full file on GitHub · 69 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · -99 lines · +31 tokens per session 3fc8ccaf3159
  2. 1mo ago Changed · +12 lines a4984a2f4a6f
  3. 2mo ago First seen · 156 lines · 99 tokens per session scan A 723288a3e971

Subscribe to this mod's changes

bruce-doc-converter is a skill published in the GitHub repository bruc3van/bruce-doc-converter (60 stars, last pushed 1mo ago), licensed MIT. It adds 130 tokens to every session and 1,472 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

bruce-doc-converter compared with skills from other repositories

bruce-doc-converter next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bruce-doc-converterbruc3van/bruce-doc-converterSkill601mo agoMITA130Claude Code, Codex
doc-readerHKUDS/Vibe-TradingSkill38kyesterdayMITA65Claude Code, Codex
surfsense-documentsMODSetter/SurfSenseSkill17ktodayApache-2.0A80Claude Code, Codex
xberg-extracting-tablesxberg-io/xbergSkill9.5ktodayMITA36Claude Code
skill-doc-deliverynyldn/claude-octopusSkill4.4ktodayMITA29Claude Code
report-generatorforyourhealth111-pixel/Vibe-SkillsSkill3.8k2d agoApache-2.0A24Claude Code
kordocchrisryugj/kordocSkill2.9kyesterdayMITA253Claude Code