doc

doc is a skill for Codex from EthanYoQ/Skill-hub. It costs 47 tokens per session (704 once invoked), scanned B, a copy of doc, MIT.

A workflow for reading, creating, and editing DOCX files, the document format used by Microsoft Word. It uses structured editing and visual rendering to check layout, tables, diagrams, and page breaks.

In plain words
What is it for?
Use it for DOCX documents whose wording or visual layout needs review or editing. It can convert or render documents for visual checks and keeps temporary files separate from final outputs.
Why use it?
Text extraction alone can miss broken formatting or misplaced content. Rendering the document provides a way to review how the finished file actually looks.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it for DOCX documents whose wording or visual layout needs review or editing. It can convert or render documents for visual checks and keeps temporary files separate from final outputs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ethanyoq/skill-hub/doc
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 EthanYoQ/Skill-hub --skill doc
Clone the repo
git clone --depth 1 https://github.com/EthanYoQ/Skill-hub

Made for: 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 doc

README.md
[![agentmods](https://agentmods.dev/badge/skills/ethanyoq/skill-hub/doc/github.svg)](https://agentmods.dev/skills/ethanyoq/skill-hub/doc)
Your own site
<a href="https://agentmods.dev/skills/ethanyoq/skill-hub/doc"><img src="https://agentmods.dev/badge/skills/ethanyoq/skill-hub/doc/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 doc

Your own site · 80×15
<a href="https://agentmods.dev/skills/ethanyoq/skill-hub/doc"><img src="https://agentmods.dev/badge/skills/ethanyoq/skill-hub/doc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 704 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.00047 $0.00704
Opus 5.5 $0.00019 $0.00282
Sonnet 5.5 $0.00009 $0.00141
Haiku 4.5 $0.00005 $0.00070

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

Security

Grade B, and why

doc scanned grade B with 1 finding 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 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/render_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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo apt-get install -y libreoffice poppler-utils
Origin

This is a copy

100% identical to doc — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

archives/user-installed-skills/doc/6dec3cfb66491505/doc/SKILL.md · 81 lines

How it starts

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

DOCX Skill

When to use

  • Read or review DOCX content where layout matters (tables, diagrams, pagination).
  • Create or edit DOCX files with professional formatting.
  • Validate visual layout before delivery.

Workflow

  1. Prefer visual review (layout, tables, diagrams).
    • If soffice and pdftoppm are available, convert DOCX -> PDF -> PNGs.
    • Or use scripts/render_docx.py (requires pdf2image and Poppler).
    • If these tools are missing, install them or ask the user to review rendered pages locally.
  2. Use python-docx for edits and structured creation (headings, styles, tables, lists).
  3. After each meaningful change, re-render and inspect the pages.
  4. If visual review is not possible, extract text with python-docx as a fallback and call out layout risk.
  5. Keep intermediate outputs organized and clean up after final approval.

Temp and output conventions

  • Use tmp/docs/ for intermediate files; delete when done.
  • Write final artifacts under output/doc/ when working in this repo.
  • Keep filenames stable and descriptive.

Dependencies (install if missing)

Prefer uv for dependency management.

Python packages:

uv pip install python-docx pdf2image

If uv is unavailable:

python3 -m pip install python-docx pdf2image

System tools (for rendering):

# macOS (Homebrew)
brew install libreoffice poppler

# Ubuntu/Debian
sudo apt-get install -y libreoffice poppler-utils

If installation isn't possible in this environment, tell the user which dependency is missing and how to install it locally.

Environment

No required environment variables.

Rendering commands

DOCX -> PDF:

soffice -env:UserInstallation=file:///tmp/lo_profile_$$ --headless --convert-to pdf --outdir $OUTDIR $INPUT_DOCX

PDF -> PNGs:

pdftoppm -png $OUTDIR/$BASENAME.pdf $OUTDIR/$BASENAME

Bundled helper:

python3 scripts/render_docx.py /path/to/file.docx --output_dir /tmp/docx_pages

Quality expectations

  • Deliver a client-ready document: consistent typography, spacing, margins, and clear hierarchy.
  • Avoid formatting defects: clipped/overlapping text, broken tables, unreadable characters, or default-template styling.
  • Charts, tables, and visuals must be legible in rendered pages with correct alignment.
  • Use ASCII hyphens only. Avoid U+2011 (non-breaking hyphen) and other Unicode dashes.
  • Citations and references must be human-readable; never leave tool tokens or placeholder strings.

Read the full file on GitHub · 81 lines

Files

What ships with it

6 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. 2mo ago First seen · 81 lines · 47 tokens per session scan B 0a635585817d

Subscribe to this mod's changes

doc is a skill published in the GitHub repository EthanYoQ/Skill-hub (12 stars, last pushed 2d ago), licensed MIT. It adds 47 tokens to every session and 704 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). It is 100% identical to doc, differing in 0 lines, and is treated as a copy.

Related

doc compared with skills from other repositories

doc next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docEthanYoQ/Skill-hubSkill122d agoMITB47Codex
wikiSethGammon/CitadelSkill9433d agoMITA56Claude Code
debriefspacedock-dev/spacedockSkill873d agoApache-2.0A59Claude Code
document-processorvignesh2027/Claude-Agentic-Skills2.0-versionSkill43mo agoMITA65Claude Code, Codex
create-proposalHarmeet10000/skillsSkill86mo agoMITA8Claude Code, Codex
contract-generatorinbharatai/claude-skillsSkill448mo agoMITA25Claude Code, Codex
docxinbharatai/claude-skillsSkill448mo agoMITA35Claude Code, Codex