Agent Skills
› strukto-ai/mirage
› mirage-filesystem
mirage-filesystem
GitHub指导在Mirage虚拟文件系统中操作文件和目录,涵盖发现、读取、编辑及写入流程,强调使用专用工具而非主机文件系统。
触发场景
涉及Mirage挂载的云端或数据库数据
需要检查、搜索、创建或编辑Mirage虚拟路径中的数据
安装
npx skills add strukto-ai/mirage --skill mirage-filesystem -g -y
SKILL.md
Frontmatter
{
"name": "mirage-filesystem",
"description": "Work with files and directories mounted in a Mirage virtual filesystem. Use when a task mentions Mirage, mounted cloud or database data, Mirage virtual paths, or asks to inspect, search, create, or edit data exposed through the Mirage tools."
}
Mirage Filesystem
Use the Mirage tools for virtual paths. Host filesystem tools cannot access those paths unless the user separately configured a FUSE mount.
Workflow
- Use the Mirage
ls,glob,grep, orshelltool to discover mounted data. - Use the Mirage
readtool before modifying an existing file. - Use
editfor an existing file andwriteonly for a new file. - If an edit reports that the file changed since it was read, read the file again, reconsider the edit against the new content, and retry.
- Use
shellfor pipelines and structured-file commands that need Mirage shell semantics.
Do not fall back to a host filesystem tool when a Mirage tool fails on a virtual path. Report the Mirage error or fix the Mirage configuration.
版本历史
-
0a1e90d
当前 2026-10-19 03:54
将execute_command重命名为shell,新增glob工具,统一工具描述与输入schema。
- 4260904 2026-07-24 16:26


