docx-placeholder-workflow

docx-placeholder-workflow is a skill for Claude Code, Codex from Bitterbot-AI/bitterbot-desktop. It costs 15 tokens per session (972 once invoked), scanned A, original, MIT.

A tool that fills marked fields in a DOCX Word template from a JSON object and writes a new document. It can also include or remove one marked conditional paragraph while keeping the template's placement and formatting structure.

In plain words
What is it for?
Use it to generate offer letters or similar DOCX files from structured data, including optional relocation text, table content, and headers or footers.
Why use it?
It removes repetitive manual editing of standard Word documents and leaves the original template unchanged. It handles fields that may be split across Word's internal text sections.

Skill for Claude CodeCodex

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

Good fit Use it to generate offer letters or similar DOCX files from structured data, including optional relocation text, table content, and headers or footers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bitterbot-ai/bitterbot-desktop/package
About the project

Bitterbot is a local-first personal AI agent that runs on a user’s devices, keeps persistent memories, performs tasks, and can exchange reusable skills with other agents. It is intended for people who want a personal assistant that remains available across conversations and activities. The catalogue entries provide instructions and agents for working with Bitterbot.

Bitterbot-AI/bitterbot-desktop · 2,482 stars · on GitHub · bitterbot.ai

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 Bitterbot-AI/bitterbot-desktop --skill package
Clone the repo
git clone --depth 1 https://github.com/Bitterbot-AI/bitterbot-desktop

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 docx-placeholder-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/bitterbot-ai/bitterbot-desktop/package/github.svg)](https://agentmods.dev/skills/bitterbot-ai/bitterbot-desktop/package)
Your own site
<a href="https://agentmods.dev/skills/bitterbot-ai/bitterbot-desktop/package"><img src="https://agentmods.dev/badge/skills/bitterbot-ai/bitterbot-desktop/package/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 docx-placeholder-workflow

Your own site · 80×15
<a href="https://agentmods.dev/skills/bitterbot-ai/bitterbot-desktop/package"><img src="https://agentmods.dev/badge/skills/bitterbot-ai/bitterbot-desktop/package.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 972 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.00015 $0.00972
Opus 5.5 $0.00006 $0.00389
Sonnet 5.5 $0.00003 $0.00194
Haiku 4.5 $0.00002 $0.00097

Measured 16d ago against content hash be791a9a18d9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

docx-placeholder-workflow 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 16d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (helpers/fill_docx.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

benchmarks/collective-learning/published/executable-learning-20261114/recipient/package/SKILL.md · 98 lines

How it starts

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

docx-placeholder-workflow

Fill a bounded DOCX offer-letter template from a JSON data object by replacing {{FIELD_NAME}} placeholders and resolving a single-paragraph conditional block, then write a new DOCX. Inputs are never modified.

When to use this skill

Use this skill when you need to:

  • Produce a filled DOCX from a template whose placeholders are uppercase names and underscores inside double braces, e.g. {{CANDIDATE_FULL_NAME}}.
  • Supply values from a flat JSON object of string values where every field the template references is present.
  • Keep or drop a conditional region written as {{IF_RELOCATION}}...{{END_IF_RELOCATION}} inside a single paragraph.

A placeholder may be split across several Word text runs within one paragraph; the helper reassembles the paragraph text, substitutes, then writes the result back while preserving the paragraph/run so the first run's formatting is kept.

Scope / applicability

  • Stories processed: body paragraphs, table cells (including nested tables), and the active default, first-page, and even-page headers and footers of every section.
  • Conditional rule: {{IF_RELOCATION}}...{{END_IF_RELOCATION}} occurs within one paragraph (possibly across runs). The enclosed content is kept only when RELOCATION_PACKAGE is exactly Yes; every other string (and no value) removes it, and the control markers are always removed. The IF_<X> marker is governed exclusively by data field <X>_PACKAGE, which is required whenever the conditional appears. A bare <X> key (e.g. RELOCATION) is unused: it never acts as an alias or fallback for <X>_PACKAGE and never affects keep/drop. If the governing <X>_PACKAGE field is absent, the helper exits nonzero and reports the missing requirement rather than inventing a default (so an unused bare RELOCATION key cannot stand in for a missing RELOCATION_PACKAGE).
  • Not in scope (first contract): tracked changes, text boxes, embedded objects, macros, encrypted files, field-code evaluation, placeholders spanning paragraph boundaries. Input values are literal strings without template delimiters.

Read the full file on GitHub · 98 lines

Files

What ships with it

1 file 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. 16d ago First seen · 98 lines · 15 tokens per session scan A be791a9a18d9

Subscribe to this mod's changes

docx-placeholder-workflow is a skill published in the GitHub repository Bitterbot-AI/bitterbot-desktop (2,482 stars, last pushed 2d ago), licensed MIT. It adds 15 tokens to every session and 972 once invoked, about $0.0001 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-11-15.

Related

docx-placeholder-workflow compared with skills from other repositories

docx-placeholder-workflow next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docx-placeholder-workflowBitterbot-AI/bitterbot-desktopSkill2.5k2d agoMITA15Claude Code, Codex
pptxasgeirtj/system_prompts_leaksSkill74k2d agoCC0-1.0A217Claude Code, Codex
libraryasgeirtj/system_prompts_leaksSkill74k2d agoCC0-1.0A116Claude Code, Codex
file-readingasgeirtj/system_prompts_leaksSkill74k2d agoCC0-1.0A154Claude Code, Codex
save-as-pdfasgeirtj/system_prompts_leaksSkill74k2d agoCC0-1.0A9Claude Code
xlsxasgeirtj/system_prompts_leaksSkill74k2d agoCC0-1.0A206Claude Code, Codex
docxasgeirtj/system_prompts_leaksSkill74k2d agoCC0-1.0A211Claude Code, Codex