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, glob, grep, or shell 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 shell 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.

版本历史

  • 0a1e90d 当前 2026-10-19 03:54

    将execute_command重命名为shell,新增glob工具,统一工具描述与输入schema。

  • 4260904 2026-07-24 16:26

同 Skill 集合

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

元信息

文件数
0
版本
bfa5c33
Hash
9afc7786
收录时间
2026-07-24 16:26

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-13 16:05
浙ICP备14020137号-1