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.
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.
npx skills add strukto-ai/mirage --skill mirage-vfs-authoringgit clone --depth 1 https://github.com/strukto-ai/mirageWrote 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.
[](https://agentmods.dev/skills/strukto-ai/mirage/mirage-vfs-authoring)<a href="https://agentmods.dev/skills/strukto-ai/mirage/mirage-vfs-authoring"><img src="https://agentmods.dev/badge/skills/strukto-ai/mirage/mirage-vfs-authoring/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.
<a href="https://agentmods.dev/skills/strukto-ai/mirage/mirage-vfs-authoring"><img src="https://agentmods.dev/badge/skills/strukto-ai/mirage/mirage-vfs-authoring.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00065 | $0.02401 |
| Opus 5.5 | $0.00026 | $0.00960 |
| Sonnet 5.5 | $0.00013 | $0.00480 |
| Haiku 4.5 | $0.00006 | $0.00240 |
Grade A, and why
mirage-vfs-authoring 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 29d 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.
How it starts
The opening of the file, as written. The whole thing — 198 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Author a Mirage VFS
Deliver an adapter in the user's project, a working mount configuration, and
tests of its filesystem behavior. Subclass BaseVFS and define the functions the resource supports. A normal custom backend needs no Mirage fork.
Start from the bundled adapter
For a new backend, run python scripts/new_adapter.py --language python --output <project>/resource.py from this skill directory, or select typescript and a
.ts output. The script refuses to overwrite an existing file. The generated
adapter uses only an in-memory fixture and includes a read-contract check plus a
mounted shell smoke test. Run Python with the project's Mirage environment, or
TypeScript with its tsx runner and @struktoai/mirage-node dependency.
Replace the fixture client with the resource API, then update the fixture paths and expected bytes. Keep credentials in the application's configuration. The self-contained templates are Python and TypeScript; no repository checkout is needed to scaffold.
Establish the resource contract
Inspect the project's Mirage version, language, runtime, and existing client. Use the installed API and matching source or documentation; the interface is still evolving. Ask only for missing decisions that affect the implementation: which resources are visible, the mount prefix, credentials, and required writes.
Reuse a builtin VFS when it already represents the resource. For a new adapter, define a small example tree and what each leaf renders before implementing it. Separate stored bytes from rendered records, and distinguish a complete directory from a paginated or time-windowed view. Use stable resource identities when display names can collide or change.
Consult the relevant language's guide and runnable example, using the revision matching the target Mirage package:
- Python guide and example.
- TypeScript guide and example.
What ships with it
3 files 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.
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.
- 29d ago Changed · +22 lines 16f8a809c13c
- 1mo ago Changed · -1 lines ab5d1eb1e9b3
- 1mo ago Changed · +3 lines 174aa7f304be
- 1mo ago Changed fab23bdf7c6d
- 1mo ago Changed 050b6eb2f758
- 1mo ago Changed · -2 lines c2937d2b9312
- 1mo ago Changed · +9 lines 495c3349d6c3
- 2mo ago Changed 2aed4749d557
- 2mo ago First seen · 167 lines · 65 tokens per session scan A 5343f98a36d7
mirage-vfs-authoring is a skill published in the GitHub repository strukto-ai/mirage (3,950 stars, last pushed today), licensed Apache-2.0. It adds 65 tokens to every session and 2,401 once invoked, about $0.0003 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-09-25.
mirage-vfs-authoring compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mirage-vfs-authoringstrukto-ai/mirage | Skill | 4.0k | today | Apache-2.0 | A | 65 | Claude Code |
| wikipediax-cmd/x-cmd | Skill | 4.8k | 7d ago | Apache-2.0 | A | 49 | Claude Code, Codex |
| cvex-cmd/x-cmd | Skill | 4.8k | 7d ago | Apache-2.0 | A | 49 | Claude Code, Codex |
| claude-apiwarpdotdev/warp | Skill | 66k | today | AGPL-3.0 | A | 193 | Claude Code, Codex |
| api-less-websitex-cmd/x-cmd | Skill | 4.8k | 7d ago | Apache-2.0 | A | 27 | Claude Code, Codex |
| binance-spot-openapi-skillholon-run/uxc | Skill | 120 | 7d ago | MIT | A | 42 | Codex |
| inkbox-agent-self-signupinkbox-ai/inkbox | Skill | 107 | 5d ago | MIT | A | 43 | Claude Code |