
Universal File Opener CLI
io.github.krauqllcv1.5.1-1更新于 Oct 3, 2026
Inspect files, extract content and make guarded edits locally. Linux x86_64, glibc 2.35+.
概览
让助手检查本地文件、提取内容并进行受保护的编辑,包括陌生格式,并生成 JSON 回执。
- 功能
- 这是一个本地 CLI 和 MCP 服务器,可为助手提供任何可访问常规文件的基本信息,并对受支持的文档、图像、压缩包、媒体和文本/数据提供专用读取器。它可以筛查受支持文件中的隐藏内容和隐私风险,然后在新生成的、可复核的副本中进行定向修改。操作会写入 JSON 回执,检查结果也会报告自身的覆盖缺口。
- 适用场景
- 适合助手需要在 Linux 桌面上读取或编辑本地文件时,尤其是混合或陌生格式,并且你希望得到可复核的副本和审计回执,而不是就地修改。面向个人和小团队工作流。
- 运行要求
- 作为本地进程运行,需要 Linux x86_64 和 glibc 2.35 或更高版本;不支持 Alpine/musl。已包含 Java 运行时。也提供容器镜像。未声明认证、环境变量或请求头。仓库中的演示和评估脚本需要 Python 3.10+ 和 jsonschema。
安装
在 SourceWeft 中
- 打开 控制台中的 Universal File Opener CLI,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
UFO CLI
Your agent. Any file. UFO gives accessible regular files useful basic information, including unfamiliar formats. Dedicated readers go deeper on supported documents, images, archives, media and text/data. Screen supported files for hidden content and privacy risks, then make targeted changes in new, reviewable copies. One offline CLI and local MCP server, with JSON receipts.
Inspection reports its coverage gaps. Basic information for an unknown file does not imply a dedicated reader, editor or security inspector for its format. File and resource limits apply.
Free for individuals and small teams. Every command and supported file type is included, with no signup or watermark. Organizations with fewer than ten people and under USD 1 million in annual revenue, including funding, qualify; any organization can evaluate it free. See the eligibility details.
Website and comparison with other agent tools: https://universalfileopener.com/cli/
Install
Native Linux x86_64 installation needs glibc 2.35 or later (Ubuntu 24.04 and Debian 12 tested). Native Alpine/musl installation is unsupported. The Java runtime is included; the container option below uses its own runtime.
install.sh downloads the app image from the latest
release, checks it against the
release's SHA256SUMS and installs it under ~/.local, without sudo. The same
release has a Debian package (sudo apt install ./universal-file-opener_1.5.1_amd64.deb)
and ufo-cli-1.5.1-docker.tar, an archive of the container image for offline transfer.
Container
From a directory containing report.docx, download and run the public image:
No GitHub login is needed. The temporary mount is required. For edits, mount a
separate writable output folder at /output and select a new file there. The
container reads, edits and recognizes text; page rendering and Office-to-PDF
conversion need the application package. For a deployment pinned to an immutable
image, use the digest in the release notes.
Connect an agent
Run in the project folder. For Cursor use
ufo skill install --agent cursor --dir "$PWD". For Codex use
ufo skill install --agent codex --dir "$PWD" --replace; it adds or updates
only the marked UFO section of the project's AGENTS.md, keeping the rest.
Start a new session after installing the guide.
For an MCP client instead of the skill, ufo mcp print-config --client claude-code
prints a template. Replace its executable and folder placeholders, then merge
it into the client configuration. Printing does not register a server. Follow
the complete setup instructions.
Get your first useful result
From a clone of this repository, with Python 3.10+ and jsonschema installed:
The short example generates two fictional inputs. It collects basic information
for an unfamiliar file, finds document properties, a reviewer comment and hidden
text in a supported DOCX, and writes a clean copy. It independently checks the
saved ZIP/XML bytes, original hashes, full receipt schemas and refusal to replace
an existing output. Open first-look/START_HERE.txt to review the results.
Every notInspected gap and skipped clean category remains in the evidence.
The optional MCP check discovers tools and calls inspection over local stdio;
it does not establish that an installed assistant has connected successfully.
See a complete mixed-file editing workflow
Watch the 64-second film, then inspect and replay the workflow. A fictional change brief updates a spreadsheet model, a Word memo with native tracked revisions, and two slides in a board deck.
The film uses actual Microsoft Office exports of the downloadable files. The replay needs only Python 3 and UFO, with no agent or model API. It checks all 20 recomputed saved results, existing formulas, earlier periods, native Word revisions, original hashes and untouched package parts. Every edit matches its dry-run output hash; an intentionally stale source hash refuses. This is an edited script demonstration, not an agent recording or a timing benchmark.
Working efficiently
Read the help for the operation you need: ufo edit paragraphs --help. Locate
text with ufo find --text 'budget' --compact report.docx, then read selected
paragraphs, cells or slides with ufo text --format structure --compact.
Batch independent changes to one file, and reuse the output receipt's hash for
the next edit. Store full receipts when you need an audit record.
--compact applies to text, find, inspect --deep and edit; intake,
convert and unpack do not accept it. For MCP, read tools/list schemas:
find takes one file and report requires an output path.
Only operations that declare --expect-sha256 accept revision guards.
replace-text, PDF page edits, image transforms and archive edits do not.
Check each operation's help rather than copying another operation's flags.
Always review what a receipt skipped and inspect the output before handoff.
What is in this repository
The binaries are on the Releases page. This repository holds what you need to check them:
The other files under tools/ are the helpers these import. They need Python
3.10 or newer, jsonschema for receipt validation, and an installed UFO build.
Reviewed distribution source is also available under packaging/npm/,
packaging/linux-cli/registry/ and packaging/homebrew/. These wrappers and
descriptors target the same Linux x86_64 release. The
Homebrew tap is public:
brew install krauqllc/ufo/ufo. The release also provides a complete local
MCPB bundle for compatible Linux clients, listed in the
official MCP Registry.
Directory revision 1.5.1-1 keeps engine and bundle version 1.5.1 unchanged.
Choose only existing task folders when installing the bundle; no directories
are granted by default. npm publication awaits the publisher's 2FA; Smithery
and Glama account submission are separate pending steps.
Check it yourself
--download fetches the pinned releases of the other tools, and
--setup-libraries creates the Python library environment the comparison uses.
Both need the network once; the runs themselves do not.
License
The files here are Apache 2.0 (LICENSE, NOTICE). The binaries are licensed
under ENGINE-LICENSE.txt: free for individuals, evaluation, education,
non-commercial use, and organizations with fewer than ten people and under USD 1
million in annual revenue, including funding. Larger organizations need a
license.
Install a delivered file with ufo license install ./license.json, then run
ufo license status. A fresh file arrives for each paid period; install
renewals with ufo license install ./license.json --replace. Checks are offline.
For delivery or recovery help, contact [email protected] with the order number.
Security
Report a security problem to [email protected] with "Security" in the subject.
来源:README.md,提交 ef561c3
工具
0版本历史
1- v1.5.1-1最新Oct 3, 2026
