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 skills add zhagqn/agentwork --skill anydocgit clone --depth 1 https://github.com/zhagqn/agentworkWrote 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/zhagqn/agentwork/anydoc)<a href="https://agentmods.dev/skills/zhagqn/agentwork/anydoc"><img src="https://agentmods.dev/badge/skills/zhagqn/agentwork/anydoc/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/zhagqn/agentwork/anydoc"><img src="https://agentmods.dev/badge/skills/zhagqn/agentwork/anydoc.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.00037 | $0.00498 |
| Opus 5.5 | $0.00015 | $0.00199 |
| Sonnet 5.5 | $0.00007 | $0.00100 |
| Haiku 4.5 | $0.00004 | $0.00050 |
Grade A, and why
anydoc 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 1mo 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
anydoc 文档解析
这是 agentwork 的默认文档输入能力。仅当任务需要读取二进制办公文件时使用;纯文本、代码和已有 Markdown 不需要经过 anydoc。
项目级延迟安装
运行需要 Node.js >=20。先检查项目是否已有 CLI:
npx --no-install @firecrawl/anydoc --help
如果缺失且项目允许安装,遵循已有包管理器和锁文件约定;使用 npm 的项目在根目录执行:
npm install --save-dev @firecrawl/[email protected]
禁止全局安装。非 Node 项目先确定项目内的依赖目录,不直接改变项目技术栈。安装前遵守项目联网策略;离线环境使用内部 npm 镜像或已缓存的包。
--help 不加载原生 binding,成功不代表转换可用。首次使用时先转换一个小型本地样例并检查输出。
转换与归档
mkdir -p .tmp/anydoc
npx --no-install @firecrawl/anydoc INPUT -o .tmp/anydoc/OUTPUT.md
保留原文件;CLI 默认只输出 Markdown,写入 .tmp/anydoc/ 或项目约定的归档目录;需要元数据时再另行提取。记录 anydoc 版本、输入路径、格式和失败原因。转换结果用于分析和索引,不替代原始文件,也不保证版式保真。
OCR 与失败边界
默认禁止 hosted OCR。扫描或图片型 PDF 转换失败时记录 needsOcr,优先使用当前 agent 已有的视觉能力读取页面或页面图像。视觉不可用或文档过大时,说明限制并考虑分批处理,不自动转交外部服务。只有用户明确授权将当前资料发送给指定外部 OCR 服务后,才可转交;--ocr hosted 会上传文档。失败文件记录实际错误并继续处理其他输入,不绕过密码或安全策略。
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.
- 1mo ago Changed · +2 lines 2aecb3c655fd
- 1mo ago First seen · 37 lines · 37 tokens per session scan A c1b486853b5b
anydoc is a skill published in the GitHub repository zhagqn/agentwork (90 stars, last pushed 3d ago), licensed MIT. It adds 37 tokens to every session and 498 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-09-10.
anydoc compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| anydoczhagqn/agentwork | Skill | 90 | 3d ago | MIT | A | 37 | Claude Code, Codex |
| orbit-notionnexu-io/open-design | Skill | 106k | yesterday | Apache-2.0 | A | 117 | Claude Code, Codex |
| instrument-data-to-allotropeanthropics/knowledge-work-plugins | Skill | 35k | 2d ago | Apache-2.0 | A | 123 | Claude Code |
| apify-youtube-transcript-scrapersickn33/agentic-awesome-skills | Skill | 49k | yesterday | MIT | A | 48 | Claude Code |
| legal-holdanthropics/claude-for-legal | Skill | 9.9k | 3d ago | Apache-2.0 | A | 68 | Claude Code |
| ppt-reviewOrkas-AI/Orkas | Skill | 9.0k | yesterday | MIT | A | 2 | Claude Code, Codex |
| feishuHmbown/CodeWhale | Skill | 41k | 5d ago | MIT | A | 33 | Claude Code, Codex |