mirage-filesystem

mirage-filesystem is a skill for Claude Code, Codex from strukto-ai/mirage. It costs 52 tokens per session (228 once invoked), scanned A, original, Apache-2.0.

A guide for working with files and folders in a Mirage virtual filesystem, a separate mounted environment for accessing cloud or database data.

In plain words
What is it for?
Use it when inspecting, searching, creating, or changing files exposed through Mirage paths and tools.
Why use it?
It prevents using ordinary computer filesystem commands where they cannot reach the mounted data and defines the safe read-and-edit workflow.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the mirage plugin — 2 skills, 1 MCP server shipped together

Good fit Use it when inspecting, searching, creating, or changing files exposed through Mirage paths and tools.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/strukto-ai/mirage/mirage-filesystem
About the project

Mirage is a virtual terminal for AI agents that presents files, command-line tools, and configurable runtimes through one interface. It helps agents access data and run computations across services with controlled visibility and actions, and the catalogue entries provide related integrations.

strukto-ai/mirage · 3,975 stars · on GitHub · strukto.ai

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add strukto-ai/mirage --skill mirage-filesystem
Clone the repo
git clone --depth 1 https://github.com/strukto-ai/mirage

Made for: Claude Code, Codex.

Or install mirage, the plugin that ships this one along with the rest of its 2 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mirage-filesystem

README.md
[![agentmods](https://agentmods.dev/badge/skills/strukto-ai/mirage/mirage-filesystem/github.svg)](https://agentmods.dev/skills/strukto-ai/mirage/mirage-filesystem)
Your own site
<a href="https://agentmods.dev/skills/strukto-ai/mirage/mirage-filesystem"><img src="https://agentmods.dev/badge/skills/strukto-ai/mirage/mirage-filesystem/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mirage-filesystem

Your own site · 80×15
<a href="https://agentmods.dev/skills/strukto-ai/mirage/mirage-filesystem"><img src="https://agentmods.dev/badge/skills/strukto-ai/mirage/mirage-filesystem.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 228 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00052 $0.00228
Opus 5.5 $0.00021 $0.00091
Sonnet 5.5 $0.00010 $0.00046
Haiku 4.5 $0.00005 $0.00023

Measured 2mo ago against content hash 9afc77866632, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mirage-filesystem scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/mirage/skills/mirage-filesystem/SKILL.md · 19 lines

What it actually says

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.

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed 9afc77866632
  2. 3mo ago First seen · 19 lines · 52 tokens per session scan A cd4084e28d6b

Subscribe to this mod's changes

mirage-filesystem is a skill published in the GitHub repository strukto-ai/mirage (3,975 stars, last pushed today), licensed Apache-2.0. It adds 52 tokens to every session and 228 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

mirage-filesystem compared with skills from other repositories

mirage-filesystem next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mirage-filesystemstrukto-ai/mirageSkill4.0ktodayApache-2.0A52Claude Code, Codex
cvex-cmd/x-cmdSkill4.8k11d agoApache-2.0A49Claude Code, Codex
test-warp-uiwarpdotdev/warpSkill66ktodayAGPL-3.0A55Claude Code
modify-settingswarpdotdev/warpSkill66ktodayAGPL-3.0A16Claude Code, Codex
claw-x-hubx-cmd/x-cmdSkill4.8k11d agoApache-2.0A41Claude Code, Codex
tui-migrate-setupwarpdotdev/warpSkill66ktodayAGPL-3.0B75Claude Code, Codex
vs-searchvolcengine/SearchCLISkill1.2k23d agoApache-2.0A27Claude Code, Codex