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.
npx agentmods add skills/wowyuarm/file-ops-skill/file-opsnpx skills add wowyuarm/file-ops-skill --skill file-opsgit clone --depth 1 https://github.com/wowyuarm/file-ops-skillWrote 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/wowyuarm/file-ops-skill/file-ops)<a href="https://agentmods.dev/skills/wowyuarm/file-ops-skill/file-ops"><img src="https://agentmods.dev/badge/skills/wowyuarm/file-ops-skill/file-ops.svg" alt="Measured on agentmods" 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.00108 | $0.00595 |
| Opus 5 | $0.00054 | $0.00298 |
| Sonnet 5 | $0.00022 | $0.00119 |
| Haiku 4.5 | $0.00011 | $0.00060 |
Grade A, and why
file-ops 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 6d 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.
What it actually says
File Ops
Workflow
- Run health check to discover available operations and missing dependencies:
.venv/bin/python <SKILL_DIR>/scripts/file_ops.py health - Run the appropriate command with explicit paths:
.venv/bin/python <SKILL_DIR>/scripts/file_ops.py <command> --input /path/to/file [options] - Read the JSON result and report the output path, metadata, or extracted text to the user.
- If a dependency is missing, surface the exact gap from the health report or error message.
Replace <SKILL_DIR> with the absolute path to this skill directory. The script must be invoked
with the Python interpreter from the skill's own .venv (located at <SKILL_DIR>/.venv).
Run <SKILL_DIR>/scripts/setup.sh if the .venv does not exist.
Commands
| Command | Purpose | Key flags |
|---|---|---|
health |
Report runtime capabilities | (none) |
convert |
Convert file format | --input, --to, --output, --sheet, --overwrite |
inspect |
Return file metadata as JSON | --input |
archive |
Create or extract zip | --input (multi), --output, --extract |
extract-text |
Extract readable text | --input |
Supported Conversions
- Image formats:
png,jpg,jpeg,webp,gif,bmp,tiff pdf -> docxxlsx -> csvxls -> csv(requires xlrd, not installed by default)docx -> pdf(requires LibreOffice)html/md/markdown -> pdf(requires wkhtmltopdf)
Notes
- All operations are path-based. Do not wrap file content in base64 unless the user explicitly asks.
- Run
healthbefore promising support for optional conversions or operations. - For Excel conversion,
--sheetaccepts a sheet name or zero-based index. - If a conversion or operation is unavailable, surface the exact dependency gap instead of falling back silently.
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.
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.
- 6d ago First seen · 55 lines · 108 tokens per session scan A 14d05dde7828
file-ops is a skill published in the GitHub repository wowyuarm/file-ops-skill (24 stars, last pushed 5mo ago), licensed MIT. It adds 108 tokens to every session and 595 once invoked, about $0.0005 per session on Opus 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.
Other skills, from other repositories
doc-reader
Read any common document/data file — PDF, Word (.docx), Excel (.xlsx/.xls), PowerPoint (.pptx), images (OCR), CSV/TSV, plain text, JSON/YAML/TOML, HTML/XML, and most source-code files. Use the readdocument tool.
markdown-converter
Markdown conversion: PDF, Office, HTML, data, OCR, audio, ZIP, YouTube.
skill-doc-delivery
Convert markdown to DOCX, PPTX, XLSX, PDF office documents — use when you need exportable deliverables.
unified-deliverable-workflow
Generate spreadsheets, diagrams, and PDF reports with iteration budgeting and error recovery.
document-python-direct-exec
Use direct Python execution for reliable spreadsheet and document/PDF generation operations.
document-direct-python
Use direct Python execution for reliable document creation including spreadsheets, PDFs, and structured reports.