text-file-read
Read a UTF-8 text file and emit its raw content on stdout. Tiny helper for meta-skills that need to round-trip an artefact through disk so the user …
它会碰到什么
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
text-file-read
Reads a UTF-8 text file and prints its contents verbatim to stdout
(no line numbers, no decoration). Use this when a meta-skill needs
to round-trip an artefact through disk between steps so the user can
hand-edit the file during a clarify pause.
This skill exists alongside OpenSquilla's builtin read_file tool
on purpose: read_file is designed for LLM display and prepends a
lineno\t prefix to every line, which corrupts structured files
(scripts, SRT, YAML) when piped back into downstream parsers. This
skill returns the bytes unmodified.
Inputs (with:)
| key | required | default | notes |
|---|---|---|---|
| input | yes | — | Absolute path of the file to read. |
| max_bytes | no | 200000 | Refuse to read files larger than this. Guards against accidental binary reads. |
Output
The file's UTF-8 content on stdout. No trailing newline added or stripped.
Failure modes
- Path missing → exit 1, stderr explains.
- File exceeds
max_bytes→ exit 1, stderr carries the actual size. - Decode error → exit 1 (file isn't valid UTF-8).
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。
它属于哪个仓库
src/opensquilla/skills/bundled/text-file-read/SKILL.md