src/skills/runtime/feishu-send-file/SKILL.md
需要把当前 workspace 里的文件回传到飞书会话时使用。优先直接调用 feishu_send_file,并让工具自己从 .msgcode/config.json 读取 runtime.current_chat_id;只有在必须显式确认 chatId 时,才读取配置文件,不要解析 session 文件名。
npx skillsauth add 42atom/msgcode feishu-send-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.
.msgcode/config.json 里的 runtime.current_chat_id优先直接调用原生工具:
feishu_send_file(filePath=<绝对路径>, message=<可选说明>)说明:
chatId 可以省略.msgcode/config.json 中的 runtime.current_chat_id.msgcode/sessions/ 文件名猜 chatIdfeishu_send_file。bash 包一层 msgcode CLI。feishu_send_file 成功前,说“已发送”。feishu_send_file 的成功回执前,不要直接结束。只有在必须显式确认 chatId 时,才调用辅助脚本:
bash ~/.config/msgcode/skills/feishu-send-file/main.sh current-chat-id --workspace "$PWD" --json这个辅助脚本 只用于读取当前 chatId,不是正式发送入口。
bash msgcode ... 伪造一条“发送文件”路径.msgcode/config.json 里没有 runtime.current_chat_id,直接报未绑定,不要猜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.