docuflow: Skill for Claude Code

.claude/skills/docuflow-using/SKILL.md

docuflow-using is a skill for Claude Code from deja111vu/docuflow. It costs 156 tokens per session (3,619 once invoked), scanned A, original, MIT.

A skill for reading, creating, editing, filling, and analyzing DOCX Word files, XLSX spreadsheets, and PDF documents through docuflow. It represents document content as Markdown or structured edits.

In plain words
What is it for?
Use it to read documents, inspect outlines or tables, create files from templates, edit document content, fill forms, search and replace text, and analyze DOCX, XLSX, or PDF files.
Why use it?
It gives an AI agent one interface for common office-document tasks instead of requiring separate handling for each file type. It also supports templates and targeted search-and-replace edits.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is deja111vu/docuflow's own configuration. It tells Claude Code how to work on docuflow itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything docuflow configures →

Reuse

Borrowing it

Nothing to install: this file belongs to deja111vu/docuflow. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/deja111vu/docuflow/main/.claude/skills/docuflow-using/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/deja111vu/docuflow

Made for: Claude Code.

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 docuflow-using

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/deja111vu/docuflow/docuflow-using"><img src="https://agentmods.dev/badge/skills/deja111vu/docuflow/docuflow-using.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 156 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,619 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.00156 $0.03619
Opus 5.5 $0.00062 $0.01448
Sonnet 5.5 $0.00031 $0.00724
Haiku 4.5 $0.00016 $0.00362

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

Security

Grade A, and why

docuflow-using 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 2mo 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.

.claude/skills/docuflow-using/SKILL.md · 279 lines

How it starts

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

docuflow — AI-agent interface for office documents

docuflow provides a unified read / create / edit interface for .docx, .xlsx, and .pdf through MCP tools (preferred for agents) or the Python API (for scripts). Markdown is the lingua franca: documents are read as markdown, edits are expressed as markdown or as structured EditPatch objects. Version 0.2.0 brought an in-place editor, run-aware search/replace, and a template-aware writer — apply_patches is now the recommended path for edits, not edit_document.


1. Before you start: discover the sandbox roots

get_sandbox_roots()  # → ["C:/Users/.../Documents/Work", ...]

Every path you pass to a tool must live inside one of the allowed roots. If the user gives you a path outside the roots, you'll get PathSecurityError. The fix is either to add a root on MCP startup, or to use relative names within an allowed directory.


2. Choosing the right tool

Task Tool Notes
Read the whole document read_document Returns markdown + outline + tables + metadata. Large JSON.
Structure only get_outline Cheaper than read_document for big files.
Tables only extract_tables
Metadata (author, pages, size) get_document_info
Create a new document from scratch create_document(path, markdown[, template_path]) Full rewrite. template_path (optional) is a reference .docx whose fonts and sectPr are inherited.
Fill a Jinja2 template render_template(template_path, output_path, data) template_path — markdown with Jinja2 + frontmatter or a .docx (in which case the formatting is inherited). Optional markdown_template inline.
List variables a template needs list_template_variables(template_path)
Targeted edits by stable IDs apply_patches(path, patches) Recommended for edits: in-place, preserves fonts, table borders, sectPr.
Bulk text replacement find_and_replace(path, find, replace[, regex]) In-place, run-aware: preserves bold/italic/color on neighbouring runs.
Rewrite a document from markdown edit_document(path, markdown) Legacy. Drops all formatting. Only use when recreating over an existing file you don't care about.

Read the full file on GitHub · 279 lines

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 · 279 lines · 156 tokens per session scan A fb79aa627550

Subscribe to this mod's changes

docuflow-using is a skill published in the GitHub repository deja111vu/docuflow (1 stars, last pushed 4mo ago), licensed MIT. It adds 156 tokens to every session and 3,619 once invoked, about $0.0006 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-31.

Related

docuflow-using compared with skills from other repositories

docuflow-using next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docuflow-usingdeja111vu/docuflowSkill14mo agoMITA156Claude Code
doc-readerHKUDS/Vibe-TradingSkill38ktodayMITA65Claude Code, Codex
surfsense-documentsMODSetter/SurfSenseSkill17ktodayApache-2.0A80Claude Code, Codex
xberg-extracting-tablesxberg-io/xbergSkill9.6ktodayMITA36Claude Code
unified-deliverable-workflowHKUDS/OpenSpaceSkill7.9k2d agoMITA22Claude Code, Codex
document-python-direct-execHKUDS/OpenSpaceSkill7.9k2d agoMITA19Claude Code, Codex
document-direct-pythonHKUDS/OpenSpaceSkill7.9k2d agoMITA20Claude Code, Codex