Home / different-ai / openwork · .opencode/skills/hunt-a-prod-error/SKILL.md · GitHub

hunt-a-prod-error skillA

hunt-a-prod-error is agent-read markdown (skill) from different-ai/openwork: A user saw internal_error, "Unexpected server error", a 500, or an opaque failure in a shipped OpenWork build. Find the cause from local logs and Sentry, name the regressing PR, file the issue, and reply where it was reported..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# Skill: Hunt a Prod Error

An opaque error has two halves. Local logs say **where** (route, status,
timing, burst shape). Sentry says **what** (the exception and stack). You need
both before naming a cause; either alone produces a guess.

## 1. Local logs: where and how often

Desktop server log (OTLP JSON, one record per request):

```
~/Library/Application Support/com.differentai.openwork/logs/openwork-server.log{,.1}
```

Engine log: `~/.local/share/opencode/log/opencode.log`.

Tally 5xx by route, then compare against the same route family that did
**not** fail. A failure rate on one route and zero on its siblings isolates the
code path; a burst of failures in the same millisecond points at a shared
event (GC, rollover, socket), not per-request data.

```bash
rg '"status":5' ~/Library/Application\ Support/com.differentai.openwork/logs/openwork-server.log* \
  | python3 -c 'import sys,json,re,collections; c=collections.Counter()
for l in sys.stdin:
  a=json.loads(l)["attributes"]; c[(a["method"], re.sub(r"(ses|ws|msg)_[A-Za-z0-9]+", r"\1_*", a["path"]), a.get("error.code"))]+=1
[print(v,k) for k,v in c.most_common()]'
```

Know the blind spot: the OpenCode proxy catch blocks in
…

Read the whole file at its exact version.

How to install

Latest version
mdr add different-ai/openwork/hunt-a-prod-error@git:20260921.bbe08f8
Exact content
mdr add different-ai/openwork/hunt-a-prod-error@sha256:5b69ac0e282279e5

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

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

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260921.bbe08f8 latest2026-09-21 bbe08f8 3,213 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3213 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 link to a raw IP address
  • pass: No script tag

Source

GitHub

different-ai/openwork · 23,724 stars · license NOASSERTION · pushed 2026-09-25 · branch dev

API

GET https://markdownregistry.com/api/v1/artifacts/art_snfl3kt5viwor6ty
GET https://markdownregistry.com/api/v1/resolve?ref=different-ai/openwork/hunt-a-prod-error
GET https://markdownregistry.com/api/v1/blob/5b69ac0e282279e5b67f756532ddd919e3bdd4406f8b6834e7a652db32d01a6e

Your agent 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.

More from different-ai/openwork

browser-automation 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:20260904.25c1014 · audit B · 23,724 stars
create-plugin 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 · 23,724 stars
daytona-seeded-cloud-demo 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 · 23,724 stars
daytona-windows-cert 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:20260904.25c1014 · audit A · 23,724 stars
daytona 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:20260905.46ba486 · audit A · 23,724 stars
diagnose-a-red-run 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:20260921.bbe08f8 · audit A · 23,724 stars
get-env-var 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:20260902.114ecbd · audit A · 23,724 stars
open-a-pr skill
different-ai/openwork · .opencode/skills/open-a-pr/SKILL.md · Open a PR, write or rewrite a PR description, "the PR body is too long", or check whether a PR description is readable…
git:20260923.b2fdf64 · audit A · 23,724 stars
openwork-models skill
different-ai/openwork · .opencode/skills/openwork-models/SKILL.md · Manage OpenWork inference model aliases, openwork model overlays, discounts, validation, and automated base model…
git:20260911.4fa0232 · audit B · 23,724 stars
preview-my-work skill
different-ai/openwork · .opencode/skills/preview-my-work/SKILL.md · Boot, reopen, update, or reset OpenWork PR previews. Discover script worlds, use configurable app-web locally or…
git:20260924.c340d9e · audit A · 23,724 stars
record-a-demo skill
different-ai/openwork · .opencode/skills/record-a-demo/SKILL.md · Screenshots, recording, and presentation artifacts.
git:20260921.bbe08f8 · audit B · 23,724 stars
release skill
different-ai/openwork · .opencode/skills/release/SKILL.md · Cut an OpenWork release, release the app, publish a new version, rerun or recover a release tag, verify release assets…
git:20260910.e2267a9 · audit A · 23,724 stars

Every file in different-ai/openwork

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