Agent Skillsstrukto-ai/mirage › mirage-filesystem

mirage-filesystem

GitHub

指导在Mirage虚拟文件系统中进行文件操作,包括使用特定工具发现、读取、编辑数据及处理管道命令,禁止回退到宿主机文件系统。

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

Trigger Scenarios

涉及Mirage虚拟路径的文件读写 需要访问挂载的云端或数据库数据

Install

npx skills add strukto-ai/mirage --skill mirage-filesystem -g -y
More Options

Non-standard path

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

Use without installing

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.

Version History

  • 4260904 Current 2026-07-24 16:26

Metadata

Files
0
Version
8d76ca0
Hash
cd4084e2
Indexed
2026-07-24 16:26

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-21 22:05
浙ICP备14020137号-1 $Гость$