Agent Skills › strukto-ai/mirage › mirage-filesystem

mirage-filesystem

GitHub

提供在Mirage虚拟文件系统中操作文件的规范,指导使用专用工具进行数据发现、读取、编辑和命令执行,禁止回退到宿主机文件系统。

plugins/mirage/skills/mirage-filesystem/SKILL.md strukto-ai/mirage

触发场景

需要访问Mirage挂载的虚拟路径或云数据库数据 任务涉及Mirage虚拟路径下的文件检查、搜索、创建或编辑

安装

npx skills add strukto-ai/mirage --skill mirage-filesystem -g -y
更多选项

非标准路径

npx skills add https://github.com/strukto-ai/mirage/tree/main/plugins/mirage/skills/mirage-filesystem -g -y

不安装直接使用

npx skills use strukto-ai/mirage@mirage-filesystem

指定 Agent (Claude Code)

npx skills add strukto-ai/mirage --skill mirage-filesystem -a claude-code -g -y

安装 repo 全部 skill

npx skills add strukto-ai/mirage --all -g -y

预览 repo 内 skill

npx skills add strukto-ai/mirage --list

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

  1. Use the Mirage ls, grep, or execute_command tool to discover mounted data.
  2. Use the Mirage read tool before modifying an existing file.
  3. Use edit for an existing file and write only for a new file.
  4. 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.
  5. Use execute_command for 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.

版本历史

  • 4260904 当前 2026-07-24 16:26

同 Skill 集合

plugins/mirage/skills/mirage-vfs-authoring/SKILL.md

元信息

文件数
0
版本
f7e6d7f
Hash
cd4084e2
收录时间
2026-07-24 16:26

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-14 04:08
浙ICP备14020137号-1