fake-model-faults SKILL.md skillB

fake-model-faults from different-ai/openwork is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add different-ai/openwork/fake-model-faults@git:20261002.739dae1

Pins git:20261002.739dae1 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
different-ai/openwork
Path
.opencode/skills/fake-model-faults/SKILL.md
Versions recorded
1
Latest version
git:20261002.739dae1, committed Oct 2, 2026
Size
2,584 bytes
Repository stars
24,350
License
a license file GitHub does not identify

Make the desktop's model provider fail on demand (connection refused, DNS not found, socket reset, 429, 5xx, 401, 402, stalled or cut stream) with a local fault server and test providers. Use when reproducing or designing model error and retry states without a real outage.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Fake model faults

Real provider errors come from the engine (the opencode sidecar), not from the window, so CDP network throttling cannot produce them. This skill points test providers at failures instead.

## Set up

```bash
F=.opencode/skills/fake-model-faults/scripts
node $F/fault-server.mjs &                          # 127.0.0.1:55600 (PORT=… to change)
python3 $F/fault-providers.py add                   # backs up runtime.sqlite, adds three providers
CDP_URL=http://127.0.0.1:<cdp> node .opencode/skills/drive-desktop-cdp/scripts/cdp.mjs refresh-providers   # expect 200
```

Writing the v2 engine config directly does not stick; the server rewrites it from the global runtime config within seconds. `refresh-providers` saves a dummy `fault-lab` key so the server mirrors providers immediately.

## What each model does

| Provider · model | Engine error you get |
|---|---|
| Fault Refused · `refused` | `ConnectionRefused: Unable to connect…` (closed port), with retries |
| Fault DNS · `enotfound` | `getaddrinfo ENOTFOUND …` (a `.invalid` host), with retries |
| Fault Lab · `reset` | `ECONNRESET: The socket connection was closed unexpectedly…`, with retries |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add different-ai/openwork/fake-model-faults@sha256:37c5c5d58605f08f

The line at the top of this page pins the label git:20261002.739dae1, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_6j5ibximzh47636r.svg)](https://markdownregistry.com/a/art_6j5ibximzh47636r)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Oct 2, 2026.

versioncommittedcommitsizeaudit
git:20261002.739dae1 latest2026-10-02 739dae1 2,584 BB view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No link to a raw IP address (matched: http://127.0.0.1)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (2584 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No script tag

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

different-ai/openwork · 24,350 stars · license a license file GitHub does not identify · pushed 2026-10-31 · branch dev

API

GET https://markdownregistry.com/api/v1/artifacts/art_6j5ibximzh47636r
GET https://markdownregistry.com/api/v1/resolve?ref=different-ai/openwork/fake-model-faults
GET https://markdownregistry.com/api/v1/blob/37c5c5d58605f08ffcf317ca94cc051c24caa41a8a5cee1170affa179a3c8687

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from different-ai/openwork

AGENTS.md@.github AGENTS.md file
different-ai/openwork · .github/AGENTS.md
git:20261028.06f44d2 · audit A · 24,350 stars
add-a-feature SKILL.md skill
different-ai/openwork · .opencode/skills/add-a-feature/SKILL.md · Decide whether work needs a feature flag (any change to product behavior users can see does), then declare it, roll it…
git:20261029.71802c2 · audit A · 24,350 stars
browser-automation SKILL.md skill
different-ai/openwork · .opencode/skills/browser-automation/SKILL.md · Local OpenWork Electron browser automation with CDP. Use when driving a local Electron dev app, browser_list…
git:20261015.ef455ca · audit B · 24,350 stars
create-plugin SKILL.md skill
different-ai/openwork · .opencode/skills/create-plugin/SKILL.md · Create an OpenCode plugin for OpenWork. Scaffolds the plugin file with the correct API shape, tool definitions, and…
git:20260602.20013d2 · audit A · 24,350 stars
daytona-seeded-cloud-demo SKILL.md skill
different-ai/openwork · .opencode/skills/daytona-seeded-cloud-demo/SKILL.md · Daytona seeded cloud demo, demo credentials, Acme Robotics seed. Use when the user asks to spin up, keep running, seed…
git:20260827.92f4f3f · audit B · 24,350 stars
daytona-windows-cert SKILL.md skill
different-ai/openwork · .opencode/skills/daytona-windows-cert/SKILL.md · test on Windows, enterprise CA, corporate certificate, GPO cert, TLS fetch failed, Windows sandbox, daytona windows…
git:20261015.ef455ca · audit A · 24,350 stars
daytona SKILL.md skill
different-ai/openwork · .opencode/skills/daytona/SKILL.md · Daytona CLI setup, sandbox debugging, keep a sandbox alive, secrets volume, snapshot refresh. Use when Daytona itself…
git:20261001.1cc7242 · audit A · 24,350 stars
diagnose-a-red-run SKILL.md skill
different-ai/openwork · .opencode/skills/diagnose-a-red-run/SKILL.md · Test is red, typecheck failed, CI job failed, flaky, timed out, was this already broken. Use to classify any failing…
git:20261004.134a7c7 · audit A · 24,350 stars
drive-desktop-cdp SKILL.md skill
different-ai/openwork · .opencode/skills/drive-desktop-cdp/SKILL.md · Drive the running OpenWork app over CDP from the shell, headless by default (nothing opens on screen). Evaluate JS…
git:20261015.ef455ca · audit B · 24,350 stars
dry-run-a-risky-change SKILL.md skill
different-ai/openwork · .opencode/skills/dry-run-a-risky-change/SKILL.md · Billing, plans, seats, permissions, access rules, auth, flag removals or data migrations that could lock real…
git:20261027.7fb680f · audit A · 24,350 stars
fix-design-notes SKILL.md skill
different-ai/openwork · .opencode/skills/fix-design-notes/SKILL.md · Design notes on a PR, "Design review (advisory)" in the evidence check, "worth fixing", layout.split-row, OW-LIST, a…
git:20261027.d4b32a6 · audit A · 24,350 stars
get-env-var SKILL.md skill
different-ai/openwork · .opencode/skills/get-env-var/SKILL.md · get an env var, fetch a secret, missing env var, missing token/API key, load secrets from Infisical, infisical. Fetch…
git:20261001.1cc7242 · audit A · 24,350 stars

Every file in different-ai/openwork

Browse by kind, by grade B, or by owner.