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.
curl -O https://raw.githubusercontent.com/deja111vu/docuflow/main/.claude/skills/docuflow-using/SKILL.mdgit clone --depth 1 https://github.com/deja111vu/docuflowWrote 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.
[](https://agentmods.dev/skills/deja111vu/docuflow/docuflow-using)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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. |
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.
- 2mo ago First seen · 279 lines · 156 tokens per session scan A fb79aa627550
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.
docuflow-using compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| docuflow-usingdeja111vu/docuflow | Skill | 1 | 4mo ago | MIT | A | 156 | Claude Code |
| doc-readerHKUDS/Vibe-Trading | Skill | 38k | today | MIT | A | 65 | Claude Code, Codex |
| surfsense-documentsMODSetter/SurfSense | Skill | 17k | today | Apache-2.0 | A | 80 | Claude Code, Codex |
| xberg-extracting-tablesxberg-io/xberg | Skill | 9.6k | today | MIT | A | 36 | Claude Code |
| unified-deliverable-workflowHKUDS/OpenSpace | Skill | 7.9k | 2d ago | MIT | A | 22 | Claude Code, Codex |
| document-python-direct-execHKUDS/OpenSpace | Skill | 7.9k | 2d ago | MIT | A | 19 | Claude Code, Codex |
| document-direct-pythonHKUDS/OpenSpace | Skill | 7.9k | 2d ago | MIT | A | 20 | Claude Code, Codex |