Install the "fs-fixture" agent skill from https://github.com/privatenumber/fs-fixture/tree/master/skills/fs-fixture into .claude/skills/fs-fixture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fs-fixture", then confirm the skill loads.
Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Type this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
skills CLI
$ npx skills add privatenumber/fs-fixture --skill fs-fixture -a codex
Project install goes to .agents/skills/; add -g for ~/.codex/skills/.
Install the "fs-fixture" agent skill from https://github.com/privatenumber/fs-fixture/tree/master/skills/fs-fixture into .agents/skills/fs-fixture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fs-fixture", then confirm the skill loads.
Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add privatenumber/fs-fixture --skill fs-fixture -a cursor
Project install goes to .agents/skills/; add -g for ~/.cursor/skills/.
Install the "fs-fixture" agent skill from https://github.com/privatenumber/fs-fixture/tree/master/skills/fs-fixture into .cursor/skills/fs-fixture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fs-fixture", then confirm the skill loads.
Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
skills CLI
$ npx skills add privatenumber/fs-fixture --skill fs-fixture -a gemini-cli
Project install goes to .agents/skills/; add -g for ~/.gemini/skills/.
Install the "fs-fixture" agent skill from https://github.com/privatenumber/fs-fixture/tree/master/skills/fs-fixture into .gemini/skills/fs-fixture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fs-fixture", then confirm the skill loads.
Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Installs for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
skills CLI
$ npx skills add privatenumber/fs-fixture --skill fs-fixture -a github-copilot
Project install goes to .agents/skills/; add -g for ~/.copilot/skills/.
Install the "fs-fixture" agent skill from https://github.com/privatenumber/fs-fixture/tree/master/skills/fs-fixture into .github/skills/fs-fixture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fs-fixture", then confirm the skill loads.
GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add privatenumber/fs-fixture --skill fs-fixture -a opencode
OpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
Install the "fs-fixture" agent skill from https://github.com/privatenumber/fs-fixture/tree/master/skills/fs-fixture into .opencode/skills/fs-fixture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fs-fixture", then confirm the skill loads.
OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Facts
Skill name
fs-fixture
GitHub stars
100
Token cost
~1.2k tokens
SKILL.md length
345 words
Files
1
Skills in repo
1
Repo updated
First seen
Licence
MIT
At a glance
Create disposable file system test fixtures from objects, templates, or empty directories with automatic cleanup.
Writing tests that need temporary files
SKILL.md covers Quick Start, createFixture(source?, options?), FsFixture Methods and FileTree Values, plus 2 more sections
Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
JSON fixtures on disk
What it does
Fs Fixture is an agent skill from privatenumber/fs-fixture. Create disposable file system test fixtures from objects, templates, or empty directories with automatic cleanup. Use when writing tests that need temporary files, directories, symlinks, or JSON fixtures on disk. Keywords - fs, tmp, temp, fixture, testing utility, cleanup, dispose.
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Testing & QA, covering Test data and fixtures. The repository describes itself as: Simple API to create test fixtures on disk. The licence is MIT.
When your agent uses it
Writing tests that need temporary files
JSON fixtures on disk
Example prompts
“/fs-fixture”
What it can do on your machine
Read from SKILL.md and the folder at commit 121f1b9. It shows what the files ask for, not the result of running them.
Tool permissions
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Runs code
No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).
From the folder's file list and the shell code blocks in SKILL.md.
Network
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Credentials
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Context cost
Fs Fixture loads about 1.2k tokens when it runs. Until then it costs about 73 tokens; SKILL.md has 345 words of instructions outside code blocks.
Always· name and description, kept in context so the agent knows when to use it
~73
When it runs· the whole SKILL.md, loaded when a task matches
~1.2k
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
Safety
Auto-check passed
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
Download SKILL.mdSave it as .claude/skills/fs-fixture/SKILL.md (or your agent's skills folder).
name
fs-fixture
description
Create disposable file system test fixtures from objects, templates, or empty directories with automatic cleanup. Use when writing tests that need temporary files, directories, symlinks, or JSON fixtures on disk. Keywords - fs, tmp, temp, fixture, testing utility, cleanup, dispose.
Quick Start
ts
import { createFixture } from 'fs-fixture'
// From object — keys are paths, values are content
const fixture = await createFixture({
'package.json': JSON.stringify({ name: 'test' }),
'src/index.js': 'export default 42',
})
// Use fixture.path, fixture.readFile(), etc.
await fixture.rm() // Cleanup when done
Auto-cleanup with using (TypeScript 5.2+):
ts
await using fixture = await createFixture({ 'file.txt': 'content' })
// Automatically cleaned up when scope exits
createFixture(source?, options?)
Source
Behavior
{ path: content }
Create files from object. Nested objects create directories.
'./path'
Copy template directory into fixture
(fixture) => ...
Run complex, imperative, or ordered setup and optionally return a FileTree
(omitted)
Empty temporary directory
Option
Type
Default
Description
tempDir
string | URL
os.tmpdir()
Custom parent directory
templateFilter
(src, dest) => boolean
—
Filter files when copying template
FsFixture Methods
Method
Description
fixture.path
Absolute path to fixture root
getPath(...paths)
Resolve path relative to fixture root
exists(path?)
Check existence (returns boolean)
readFile(path, encoding?)
Read file — 'utf8' returns string, omit for Buffer
writeFile(path, content)
Write string or Buffer
readJson<T>(path)
Read and parse JSON with type parameter
writeJson(path, data, space?)
Write JSON (default: 2-space indent, 0 for minified)
readdir(), readdir(path, options?)
List fixture root or directory. Pass '' for root options. { withFileTypes: true } returns Dirent[].
The initializer receives the fixture before it is returned. It contains setup with the fixture it configures and can return a FileTree to create after setup completes. Returned files overwrite regular files created during setup, but the tree does not replace the fixture directory. If setup fails, fs-fixture removes the fixture before it rethrows the error.
Fs Fixture next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
Interact with Nocturne's local dev-only API: seed a loginable tenant preloaded with realistic sample data, obtain a browser session (loginLink) or bearer token headlessly, export/re-seed the dev…
Use inside RSIBench-Data when testing whether an automation agent can improve a target model on a configured benchmark through synthetic Tinker SFT data, Tinker sampling, and E2B-based Harbor…
A skill your agent uses when the user needs to design evaluation datasets, create test cases, stratify samples, generate adversarial examples, extract eval dimensions from traces/specs, or build a…
Builds and maintains a repo's own verification harness (verify CLI, doctor, worktree isolation, feature map, seed data) and a reproduce-first bug handoff.
Create disposable file system test fixtures from objects, templates, or empty directories with automatic cleanup. Fs Fixture is an agent skill from privatenumber/fs-fixture. Create disposable file system test fixtures from objects, templates, or empty directories with automatic cleanup.
When should I use Fs Fixture?
Fs Fixture fits situations like: writing tests that need temporary files; JSON fixtures on disk.
How do I install Fs Fixture in Claude Code?
Run `npx skills add privatenumber/fs-fixture --skill fs-fixture -a claude-code`. Or copy the skill folder (skills/fs-fixture in privatenumber/fs-fixture) into .claude/skills/fs-fixture in your project. Claude Code loads it when a task matches its description.
How do I install Fs Fixture in Codex?
Run `npx skills add privatenumber/fs-fixture --skill fs-fixture -a codex`. Or copy the skill folder (skills/fs-fixture in privatenumber/fs-fixture) into .agents/skills/fs-fixture in your project. Codex loads it when a task matches its description.
Can I use Fs Fixture in Cursor, Gemini CLI or GitHub Copilot?
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add privatenumber/fs-fixture --skill fs-fixture -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fs-fixture, .gemini/skills/fs-fixture, .github/skills/fs-fixture and .opencode/skills/fs-fixture in your project.
What does Fs Fixture need to run?
SKILL.md names no scripts, command-line tools or credentials: Fs Fixture is instructions for the agent only.
Does Fs Fixture access the network?
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Is Fs Fixture safe to install?
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
What licence does Fs Fixture use?
Fs Fixture is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
How many tokens does Fs Fixture use?
About 1.2k tokens (SKILL.md is roughly 4.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
What are the alternatives to Fs Fixture?
Skills that share tags, products or a category with Fs Fixture: Dev Tenant API (nightscout/nocturne, 139 stars), Rsibench Data Factory (evolvent-ai/RSIBench-Data, 171 stars), Eval Design (agentscope-ai/OpenJudge, 871 stars) and Data Generation (Red-Hat-AI-Innovation-Team/sdg_hub, 164 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Who maintains Fs Fixture?
privatenumber (a GitHub user) maintains it in privatenumber/fs-fixture, which has 100 GitHub stars. The repository was last updated on September 3, 2026.
Source: privatenumber/fs-fixture on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.