Myagents Anydoc logo

Myagents Anydoc

Community
hAcKlyc
myagents-anydoc

当用户要读取、解析、提取或转换本地 Office、PDF、扫描件、图片、OpenDocument、RTF、EPUB 或 CSV,尤其需要离线 OCR、文档转 Markdown、处理加密文档或追踪转换任务时使用。通过 MyAgents 内置 `myagents anydoc` CLI 提交和管理本地异步转换;不用于 URL 抓取、目录批量处理、云 OCR、GPT/VLM 识别或文档索引。

Overview

PublisherhAcKlyc
RepositoryMyAgents
Skill namemyagents-anydoc
Stars
919
Forks
107
Bundled files
Instructions only
LicenseAGPL-3.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by hAcKlyc on GitHub. Read the source before you install it.

Installation

Install the Myagents Anydoc AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/hAcKlyc/MyAgents/tree/main/bundled-skills/myagents-anydoc
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hAcKlyc/MyAgents.git /tmp/MyAgents
mkdir -p .claude/skills
cp -r /tmp/MyAgents/bundled-skills/myagents-anydoc .claude/skills/myagents-anydoc
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Myagents Anydoc in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Myagents Anydoc on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Myagents Anydoc is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

myagents-anydoc — 本地文档转 Markdown

这是 MyAgents 随 App 发布的全离线文档转换能力。底层任务由 Desktop App 持有;CLI 退出、当前会话结束或切换 Runtime 都不会转移任务 owner。

使用顺序

  1. 先运行 myagents anydoc --help 选择命令。
  2. 调用前读取 exact leaf help,例如 myagents anydoc convert --help;参数和格式支持以当前安装版本的 help 为准,不凭记忆补参数。
  3. 需要机器读取结果时加 --json。不要为这个命令组添加 --dry-run。

核心命令

bash
myagents anydoc convert --file <input> [--output <directory>] [--password <password>] [--wait] [--json]
myagents anydoc status <job-id> [--json]
myagents anydoc wait <job-id> [--json]
myagents anydoc cancel <job-id> [--json]
myagents anydoc list [--limit <1..100>] [--json]

convert 每次只接收一个本地文件。--output 始终是输出根目录,不是 document.md 的文件地址;省略时使用当前 Workspace 的默认转换目录。没有可确认 Workspace 时,按错误提示显式传目录。

所有转换都是异步 job。默认提交后立即返回;只有用户或后续工作必须拿到结果时才用 --wait 或独立 wait。Ctrl-C 只停止本次等待,不会取消 App 持有的 job;要真正停止处理必须显式调用 cancel。

成功产物位于 <output-root>/<job-id>/document.md,并可能包含被 Markdown 相对引用的 assets/。后续读取时使用返回的实际 documentPath,不要猜 job 目录。

安全与边界

  • 只传本地普通文件;不传 URL、目录、stdin、glob 或特殊设备。
  • 密码只在用户明确提供时通过 --password 传入;不要在回复、日志或恢复命令中复述真实密码。
  • 不需要 GPT、API key、Hugging Face token、系统 Python/Node、Docker、GPU 或运行时联网。
  • 遇到失败,保留 code、suggestion 和 recovery command;按提示继续,不把 partial 目录当作成功产物。
  • 需要网页抓取、批量目录摄取、知识库索引或生成式视觉理解时,选择对应工具;AnyDoc 不承担这些能力。

常见流程

立即提交,让 Agent 稍后查询:

bash
myagents anydoc convert --file ./proposal.docx --json
myagents anydoc status <job-id> --json

当前工作必须等待结果:

bash
myagents anydoc convert --file ./scan.pdf --output ./converted --wait --json

恢复一个遗忘的任务 ID:

bash
myagents anydoc list --limit 20 --json

任何不确定项都回到 exact help:myagents anydoc <command> --help。

Frequently asked questions

What does the Myagents Anydoc AI skill do?

当用户要读取、解析、提取或转换本地 Office、PDF、扫描件、图片、OpenDocument、RTF、EPUB 或 CSV,尤其需要离线 OCR、文档转 Markdown、处理加密文档或追踪转换任务时使用。通过 MyAgents 内置 `myagents anydoc` CLI 提交和管理本地异步转换;不用于 URL 抓取、目录批量处理、云 OCR、GPT/VLM 识别或文档索引。

Why use Myagents Anydoc on TypingMind?

Because you install it once and use it with any model. Myagents Anydoc is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Myagents Anydoc in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/hAcKlyc/MyAgents/tree/main/bundled-skills/myagents-anydoc. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Myagents Anydoc?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Myagents Anydoc?

As many as you like. As long as a model supports skills, you can use Myagents Anydoc with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Myagents Anydoc AI skill free?

Yes. It is published on GitHub by hAcKlyc under the AGPL-3.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇