Agent skill

Regenerate Model Fixture

by dxos in dxos/dxos

Regenerate cached LLM responses for tests that replay model fixtures.

Custom licenceAuto-check passedTesting & QA

Install Regenerate Model Fixture

skills CLI
$ npx skills add dxos/dxos --skill regenerate-model-fixture -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install dxos/dxos regenerate-model-fixture --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/dxos/dxos.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/regenerate-model-fixture .claude/skills/regenerate-model-fixture && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
regenerate-model-fixture
GitHub stars
526
Token cost
~1.1k tokens
SKILL.md length
473 words
Files
1
Skills in repo
41
Repo updated
First seen
Licence
Custom licence

At a glance

Regenerate cached LLM responses for tests that replay model fixtures.

  • Tests fail with No memoized conversation found for the given prompt
  • SKILL.md covers Gating (one place:…, How regeneration works…, Regenerate all model-fixture… and Shared ID generation (do not…, plus 3 more sections
  • Calls pnpm; needs DX_ANTHROPIC_API_KEY and ANTHROPIC_API_KEY
  • Adding model-fixture tests

What it does

Regenerate Model Fixture is an agent skill from dxos/dxos. Regenerate cached LLM responses for tests that replay model fixtures. Use when tests fail with "No memoized conversation found for the given prompt", when fixing or adding model-fixture tests, or when the user asks to regenerate or update the LLM conversation cache.

Its SKILL.md is about 1.1k 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. It works with Anthropic API and Vitest. The repository describes itself as: TypeScript implementation of the DXOS protocols, SDK, toolchain and Composer.

When your agent uses it

  • Tests fail with No memoized conversation found for the given prompt
  • Adding model-fixture tests
  • The user asks to regenerate
  • Update the LLM conversation cache

Example prompts

  • “No memoized conversation found for the given prompt”
  • “/regenerate-model-fixture”

Requirements

  • A credential in DX_ANTHROPIC_API_KEY
  • A credential in ANTHROPIC_API_KEY

What it can do on your machine

Read from SKILL.md and the folder at commit 085dcb1. 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

    Shell commands in SKILL.md call:

    • pnpm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pnpm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • DX_ANTHROPIC_API_KEY
    • ANTHROPIC_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Regenerate Model Fixture loads about 1.1k tokens when it runs. Until then it costs about 73 tokens; SKILL.md has 473 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.1k

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.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 473 words (~1,119 tokens).

“Tests in this repo replay recorded LLM turns ("model fixtures") stored under .store/conversations//.json committed to git. Suites carry the model-fixture vitest tag and are skipped by default (no key needed). When prompts or behavior change, a stale fixture fails the…”

— opening of SKILL.md by dxos, Custom licence
name
regenerate-model-fixture

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/regenerate-model-fixture of dxos/dxos.

Open the folder on GitHubat commit 085dcb1

Compare with similar skills

Regenerate Model 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.

Regenerate Model Fixture compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Regenerate Model Fixture this skilldxos/dxos526—~1.1kAutomated safety check: PassCustom licence
Test Writing WorkflowiOfficeAI/AionUi33k1 repos~1.2kAutomated safety check: PassApache-2.0
Vitestsupabase/supabase111k12 repos~1.1kAutomated safety check: PassApache-2.0
Test GuardamElnagdy/guard-skills1.3k2 repos~2.1kAutomated safety check: PassMIT
Adding LLM MCP ToolsTriliumNext/Trilium38k—~2.5kAutomated safety check: PassAGPL-3.0
Concept Page Test Writerleonardomso/33-js-concepts67k—~5.5kAutomated safety check: PassMIT

Similar skills

  • Test Writing Workflow

    iOfficeAI/AionUi

    Sets the test-writing workflow for the repository: risk-first scenario lists, behavior-focused Vitest tests, a full run before each commit and a coverage target.

    33k GitHub starsUsed in 1 repo~1.2k tokens
    Testing & QAAuto-check passed
  • Vitest

    supabase/supabase

    Official

    Vitest API and config reference (Jest-compatible) — mocking with vi., spies, fake timers, coverage configuration, fixtures, snapshots, and test filtering.

    111k GitHub starsUsed in 12 repos~1.1k tokens
    Testing & QAAuto-check passed
  • Test Guard

    amElnagdy/guard-skills

    Reviews newly written or edited tests against nine rules that cut test bloat, such as mock-heavy checks and near-duplicate cases, before they are committed.

    1.3k GitHub starsUsed in 2 repos~2.1k tokens
    Testing & QAAuto-check passed
  • Adding LLM MCP Tools

    TriliumNext/Trilium

    A skill your agent uses when adding, changing, or reviewing an LLM/MCP tool in Trilium (the defineTools definitions under packages/trilium-core/src/services/llm/tools/ —…

    38k GitHub stars~2.5k tokensUpdated today
    Testing & QAAuto-check passed
  • Concept Page Test Writer

    leonardomso/33-js-concepts

    Generates Vitest tests for every runnable code example on a JavaScript concept documentation page, following a four-phase extraction and conversion process.

    67k GitHub stars~5.5k tokensUpdated 1 mo ago
    Testing & QAAuto-check passed
  • Archestra Dev Testing

    archestra-ai/archestra

    A skill your agent uses for test selection and quality across backend, frontend, and e2e; load its backend reference for Vitest projects, mocking, DB fixtures, and performance.

    4.4k GitHub stars~3.2k tokensUpdated yesterday
    Testing & QAAuto-check passed

More from dxos/dxos

All 41 skills in this repo
  • Run the rule-driven agentic code review — discover rule blocks in the repo's .mdl files, prepare per-rule review groups (full project by default; diff-only with --pr-only), spawn one focused Sonnet…

    526 GitHub stars~4.5k tokensUpdated yesterday
    Auto-check passed
  • Forensically inspect and repair Composer browser profiles — offline (Chrome OPFS / SQLite extract) or live via /recovery.html debug port.

    526 GitHub stars~3.1k tokensUpdated yesterday
    Auto-check passed
  • Migrate Oxfmt

    dxos/dxos

    Guide for migrating a project from Prettier or Biome to Oxfmt.

    526 GitHub starsUsed in 3 repos~2.2k tokens
    Auto-check passed
  • Moon

    dxos/dxos

    This skill should be used when the user asks to "configure moon", "set up moonrepo", "create moon tasks", "run moon commands", "configure moon workspace", "add moon project", "moon ci setup", "moon…

    526 GitHub stars~2.1k tokensUpdated yesterday
    Auto-check passed
  • Reference for SubductionPolicy (the four hooks authorizeConnect, authorizeFetch, authorizePut, filterAuthorizedFetch passed via Subduction.hydrate(..., policy) or new Repo({ subductionPolicy })).

    526 GitHub stars~3.4k tokensUpdated yesterday
    Auto-check passed
  • Autocue

    dxos/dxos

    Record a demo of the running app that the agent drives itself — a .mdl QA test or an ad-hoc walkthrough — as a captioned .webm (or a screenshot), trimmed of dead air and ready to attach.

    526 GitHub stars~13k tokensUpdated yesterday
    Auto-check: notes

Categories

Questions about Regenerate Model Fixture

What does Regenerate Model Fixture do?

Regenerate cached LLM responses for tests that replay model fixtures. Regenerate Model Fixture is an agent skill from dxos/dxos. Regenerate cached LLM responses for tests that replay model fixtures.

When should I use Regenerate Model Fixture?

Regenerate Model Fixture fits situations like: tests fail with No memoized conversation found for the given prompt; adding model-fixture tests; the user asks to regenerate; update the LLM conversation cache.

How do I install Regenerate Model Fixture in Claude Code?

Run `npx skills add dxos/dxos --skill regenerate-model-fixture -a claude-code`. Or copy the skill folder (.agents/skills/regenerate-model-fixture in dxos/dxos) into .claude/skills/regenerate-model-fixture in your project. Claude Code loads it when a task matches its description.

How do I install Regenerate Model Fixture in Codex?

Run `npx skills add dxos/dxos --skill regenerate-model-fixture -a codex`. Or copy the skill folder (.agents/skills/regenerate-model-fixture in dxos/dxos) into .agents/skills/regenerate-model-fixture in your project. Codex loads it when a task matches its description.

Can I use Regenerate Model 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 dxos/dxos --skill regenerate-model-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/regenerate-model-fixture, .gemini/skills/regenerate-model-fixture, .github/skills/regenerate-model-fixture and .opencode/skills/regenerate-model-fixture in your project.

What does Regenerate Model Fixture need to run?

Going by SKILL.md and its folder, Regenerate Model Fixture needs the command-line tools its instructions call (pnpm) and credentials named DX_ANTHROPIC_API_KEY and ANTHROPIC_API_KEY. Our summary lists: A credential in DX_ANTHROPIC_API_KEY; A credential in ANTHROPIC_API_KEY.

Does Regenerate Model 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 Regenerate Model 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 Regenerate Model Fixture use?

Regenerate Model Fixture has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Regenerate Model Fixture use?

About 1.1k tokens (SKILL.md is roughly 4.5k 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 Regenerate Model Fixture?

Skills that share tags, products or a category with Regenerate Model Fixture: Test Writing Workflow (iOfficeAI/AionUi, 33k stars), Vitest (supabase/supabase, 111k stars), Test Guard (amElnagdy/guard-skills, 1.3k stars) and Adding LLM MCP Tools (TriliumNext/Trilium, 38k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Regenerate Model Fixture?

dxos (a GitHub organization) maintains it in dxos/dxos, which has 526 GitHub stars. The repository holds 41 skills in this directory. The repository was last updated on October 10, 2026.

Source: dxos/dxos on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.