src/skills/runtime/file/SKILL.md
# file skill 触发:读取文件、查找内容、写文件、移动/复制文件。 优先入口:原生 `read_file` 与 `bash` 常用: - `read_file("/absolute/path/to/file")` - `rg --files . | head` - `sed -n '1,120p' README.md` - `cp ./AIDOCS/report.md ./AIDOCS/report.bak.md` 说明: - `file skill` 负责文件查找、读取、写入、复制、移动。 - 本地文件操作直接使用原生工具或 shell,不要再期待 `msgcode file ...` 包装层。 - 需要批量查找时优先 `rg` / `find`;需要局部读取时优先 `read_file` 或 `sed -n`。 - 如果要把文件回传到当前飞书会话,优先直接调用 `feishu_send_file(...)`,不要再走历史 `msgcode file send`。
npx skillsauth add 42atom/msgcode src/skills/runtime/fileInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
触发:读取文件、查找内容、写文件、移动/复制文件。
优先入口:原生 read_file 与 bash
常用:
read_file("/absolute/path/to/file")rg --files . | headsed -n '1,120p' README.mdcp ./AIDOCS/report.md ./AIDOCS/report.bak.md说明:
file skill 负责文件查找、读取、写入、复制、移动。msgcode file ... 包装层。rg / find;需要局部读取时优先 read_file 或 sed -n。feishu_send_file(...),不要再走历史 msgcode file send。data-ai
This skill should be used when the model needs detailed image understanding beyond the system preview summary, and needs a provider-neutral capability index.
development
# todo skill 触发:任务记录、查看待办、标记完成。 优先入口:`~/.config/msgcode/skills/todo/main.sh` 默认 workspace:当前目录 `$PWD`(可被 `--workspace` 覆盖)。 常用: - `bash ~/.config/msgcode/skills/todo/main.sh add "补充测试报告" --json` - `bash ~/.config/msgcode/skills/todo/main.sh list --json` - `bash ~/.config/msgcode/skills/todo/main.sh done <taskId> --json`
development
# thread skill 触发:查看/切换会话线程,读取线程消息。 优先入口:`msgcode thread ...` 常用: - `msgcode thread list --json` - `msgcode thread active --json` - `msgcode thread messages <thread-id> --limit 20 --json` - `msgcode thread switch <thread-id> --json`
development
This skill should be used when the model needs to create, inspect, enable, disable, or remove recurring schedules in msgcode, or when diagnosing schedule state in the current workspace.