flyingmouse-format
它能做什么
让你的智能体借助 FlyingMouse Format 应用,在你自己的电脑上转换和合并文件。它适合需要某个文件的其他格式,或希望将多个文件合并为一个的人。
适用场景
- ✓当你需要把文档、PDF 或图片转换为另一种文件格式时。
- ✓当你想把多张图片或多个 PDF 合并成一个 PDF 文件时。
- ✓当你需要通过 OCR 从图片或扫描页面中提取文字的时候。
技能链接
https://github.com/LaoFeng-mouse/flyingmouse-format/blob/main/agent-skill/flyingmouse-format/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请把这五张扫描照片合并成一个 PDF,并按我给出的顺序排列。”
每周 5 个新技能,1 分钟读完。
工作原理
该技能调用你电脑上已安装的 FlyingMouse Format 应用。转换由该应用完成,你的智能体会读取结果,并告诉你文件的位置。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
FlyingMouse Format
Use the bundled wrapper at scripts/flyingmouse-format.js. It locates the FlyingMouse Format application configured by the in-app “Connect to Agent” action and invokes its CLI.
Workflow
Check available targets before an unfamiliar conversion:
node scripts/flyingmouse-format.js targets <file> --jsonConvert one or more independent files:
node scripts/flyingmouse-format.js convert <files...> --to <format> --output-dir <directory> --jsonMerge images into one PDF:
node scripts/flyingmouse-format.js images-to-pdf <images...> --output <result.pdf> --jsonMerge PDFs:
node scripts/flyingmouse-format.js merge-pdfs <pdfs...> --output <result.pdf> --jsonInspect the connected application's engines and limits:
node scripts/flyingmouse-format.js capabilities --jsonUse
toolDetails.libreoffice.statusandtoolDetails.pdfStructurewhen available. Office preparation may be pending while other conversions remain available; the Lite edition omits the advanced scanned-table engine. Check runtime targets and limits before selecting a conversion, because the connected application may be an older installation.
Conversion expectations
- When the connected app exposes these targets, SRT, VTT, ASS and SSA can convert between each other or export TXT; images can use OCR to create DOCX or Markdown, and PDFs can export Markdown.
- Image OCR outputs editable text. PDF Markdown may retain simple headings and tables, but these outputs do not guarantee the original layout or illustrations. Multi-page TIFF OCR processes each page; animated image input uses the first frame and returns a warning.
- Read
outputs[].warningsalongsideoutputs[].pathand communicate review, layout, subtitle-style or timing-loss warnings to the user. Do not describe a successful output with warnings as a verified exact reproduction. - With
--json, conversion failures are reported on stderr with a nonzero exit code. PreserveerrorCodefor diagnosis; do not hide low OCR confidence, missing-engine or resource-limit errors with an unverified success claim.
Options
- Video:
--video-codec h264|h265|av1 - PDF:
--pdf-action encrypt|decrypt --password <password> - Prefer
--jsonand readoutputs[].pathfrom stdout. - Never echo or log a PDF password.
- Preserve the user's requested output directory and do not overwrite existing files without permission.
If the wrapper reports that FlyingMouse Format is missing, ask the user to open the application and use “Connect to Agent” again.
常见问题
我的文件会离开我的电脑吗?
该技能被描述为本地的离线工具,因此转换在你自己的机器上进行。
我需要先安装什么吗?
需要。在该技能运行前,必须安装 FlyingMouse Format 应用,并将其连接到你的智能体。
它可以转换成哪些格式?
这取决于已安装的应用。智能体会在转换每个文件之前检查可用的目标格式。
详情
作者的原始描述
Use FlyingMouse Format's local offline CLI to inspect supported conversions and convert images, text, documents, spreadsheets, presentations, PDFs, subtitles, archives, audio, and video. Trigger when a user asks to convert file formats, extract text with OCR, merge images into PDF, merge PDFs, inspect available target formats, or automate these operations from an agent.
热度
- GitHub 星标
- 7.0k
- 排名
- #13712
- 许可证
- —
- 更新时间
- 2026/10/14
评论
- …