opencode-ci-harness SKILL.md skillA
opencode-ci-harness from air-gapped/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add air-gapped/skills/opencode-ci-harness@git:20261019.93a4dddPins git:20261019.93a4ddd in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- air-gapped/skills
- Path
.claude/skills/opencode-ci-harness/SKILL.md- Versions recorded
- 2
- Latest version
- git:20261019.93a4ddd, committed Oct 19, 2026
- First version recorded
- Oct 14, 2026
- Size
- 10,006 bytes
- Repository stars
- 6
- License
- MIT
Run opencode (v2) CLI as a headless, fully-isolated test harness against any OpenAI-, Responses- or Messages-compatible endpoint (local inference engine or remote API), or against any provider credential already stored in an opencode profile (API key or login). Drives multi-step tool-calling scenarios, dumps NDJSON transcripts, and diagnoses model + chat-template + tool-parser failures without touching the caller's opencode profile (no MCP servers, no plugins, no project config, no shared…
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
# opencode-ci-harness Targets opencode **v2** (`opencode --version` → `v2.x`). On v1 the runner fails: v1 has no `--standalone`. ## Rules | Never | Instead | |---|---| | Call `opencode run` directly for a test | `scripts/isolated-run.sh` — sets the whole envelope | | Run without `--standalone` | The default connects to the operator's background service, which uses the operator's config, credentials and MCP servers | | Share a data dir with any other opencode process | Fresh scratch `XDG_DATA_HOME` per run (runner does it). The background service resumes unfinished sessions it finds in its data dir, without the run's permissions or step limit | | Pass/fail on `$?` | Assert on NDJSON events (`scripts/assert-tool-sequence.sh`) | | Print, log or copy a credential value | `--credential` pipes it into the scratch DB; it never touches disk outside it | | Copy an OAuth refresh token | `inject-credential.py` withholds it and refuses tokens expiring within `--timeout` + 10 min | | Use `--pure`, `--dir`, `OPENCODE_PURE`, `OPENCODE_AUTH_CONTENT`, `OPENCODE_DISABLE_DEFAULT_PLUGINS` | Removed in v2 — see `references/isolation.md` | ## Run against an endpoint ```bash …
Read the whole file at its exact version.
How to install
mdr add air-gapped/skills/opencode-ci-harness@sha256:fd652ee8db3d3d25The line at the top of this page pins the label git:20261019.93a4ddd, 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_66pl4x6d3u6s4yb6)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Oct 14, 2026 and Oct 19, 2026, about one every 6 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261019.93a4ddd latest | 2026-10-19 | 93a4ddd | 10,006 B | A | view · diff |
| git:20261014.eb093b3 | 2026-10-14 | eb093b3 | 9,563 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 (10006 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
air-gapped/skills · 6 stars · license MIT · pushed 2026-11-04 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_66pl4x6d3u6s4yb6 GET https://markdownregistry.com/api/v1/resolve?ref=air-gapped/skills/opencode-ci-harness GET https://markdownregistry.com/api/v1/blob/fd652ee8db3d3d25a27ec378fff52cae6e085f246ba2fc72a3ff3e8388492b8e
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.