opencli-autofix SKILL.md skillA
opencli-autofix from mxyhi/ok-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add mxyhi/ok-skills/opencli-autofix@git:20261029.91108cfPins git:20261029.91108cf in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- mxyhi/ok-skills
- Path
opencli/opencli-autofix/SKILL.md- Versions recorded
- 6
- Latest version
- git:20261029.91108cf, committed Oct 29, 2026
- First version recorded
- Apr 11, 2026
- Size
- 12,977 bytes
- Repository stars
- 510
- License
- Apache-2.0
Automatically fix broken OpenCLI adapters when commands fail. Load this skill when an opencli command fails — it guides you through collecting a trace artifact, patching the adapter, retrying, and filing an upstream GitHub issue after a verified fix. Works with any AI agent.
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
# OpenCLI AutoFix — Automatic Adapter Self-Repair When an `opencli` command fails because a website changed its DOM, API, or response schema, **automatically diagnose, fix the adapter, and retry** — don't just report the error. ## Safety Boundaries **Before starting any repair, check these hard stops:** - **`AUTH_REQUIRED`** (exit code 77) — **STOP.** Do not modify code. Tell the user to log into the site in Chrome. - **`BROWSER_CONNECT`** (exit code 69) — **STOP.** Do not modify code. Tell the user to run `opencli doctor`. - **CAPTCHA / rate limiting** — **STOP.** Not an adapter issue. **Scope constraint:** - **Only modify the file at `adapterSourcePath` in the trace `summary.md` front matter** — this is the authoritative adapter location (may be `clis/<site>/` in repo or `~/.opencli/clis/<site>/` for npm installs) - **Never modify** `src/`, `extension/`, `tests/`, `package.json`, or `tsconfig.json` **Retry budget:** Max **3 repair rounds** per failure. If 3 rounds of diagnose → fix → retry don't resolve it, stop and report what was tried. ## Prerequisites ```bash opencli doctor # Verify extension + daemon connectivity ``` ## When to Use This Skill …
Read the whole file at its exact version.
How to install
mdr add mxyhi/ok-skills/opencli-autofix@sha256:3e2d8bbdc95ce721The line at the top of this page pins the label git:20261029.91108cf, 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.
[](https://markdownregistry.com/a/art_egeqzkuth3echux2)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between Apr 11, 2026 and Oct 29, 2026, about one every 40 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261029.91108cf latest | 2026-10-29 | 91108cf | 12,977 B | A | view · diff |
| git:20261018.91a194f | 2026-10-18 | 91a194f | 12,901 B | A | view · diff |
| git:20260505.68ac96f | 2026-05-05 | 68ac96f | 12,787 B | A | view · diff |
| git:20260427.26d456f | 2026-04-27 | 26d456f | 12,210 B | A | view · diff |
| git:20260415.87a17fa | 2026-04-15 | 87a17fa | 11,434 B | A | view · diff |
| git:20260411.609aeb9 | 2026-04-11 | 609aeb9 | 11,434 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (12977 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
mxyhi/ok-skills · 510 stars · license Apache-2.0 · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_egeqzkuth3echux2 GET https://markdownregistry.com/api/v1/resolve?ref=mxyhi/ok-skills/opencli-autofix GET https://markdownregistry.com/api/v1/blob/3e2d8bbdc95ce72104f0798e6ddc4d0a6fd30ec8aa0ab50166659ef33a68d9c6
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.