Skip to content
Back to skills

Opencode Check

ASecurity

Check whether opencode is ready to work — binary, version, both channels (glm = b.ai/glm-5.3-flash, deepseek = b.ai/deepseek-v4.1-flash by default; models — from Listik), provider credentials, what parses the event stream, and how many background jobs are already running.

  • 5 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added October 7, 2026
ai-agentspythongobash

Security analysis

A100/100

Scanned November 10, 2026

npx -y skills add dmitry-fomin/listik --skill opencode-check --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Opencode Check?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Opencode Check
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dmitry-fomin-opencode-check/badge)](https://www.skillsdirectory.com/skills/dmitry-fomin-opencode-check)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: opencode-check
description: "Check whether opencode is ready to work — binary, version, both channels (glm = b.ai/glm-5.3-flash, deepseek = b.ai/deepseek-v4.1-flash by default; models — from Listik), provider credentials, what parses the event stream, and how many background jobs are already running."
when_to_use: "Triggers — \"is opencode working\", \"check opencode\", \"why doesn't opencode answer\", \"what model does opencode use\". Run it on your own when a delegation failed at launch. This is about harness readiness, not about work in flight — \"opencode is silent\" after a background job is /opencode:opencode-jobs, and posing a task is /opencode:opencode-delegate."
allowed-tools: Bash(${CLAUDE_PLUGIN_ROOT}/scripts/opencode-run.sh *)
---

Current state of opencode:

```
!`${CLAUDE_PLUGIN_ROOT}/scripts/opencode-run.sh check || true`
```

Report readiness to the human in one paragraph — default channel, the other channel,
credentials, jobs in flight. Don't retell the whole report. `check --json` returns the same
data with keys `ready`, `binary_status`, `model_status`, `channels[].status`, `channels_source`, `channels_source_error`, `auth_status`,
`json_parser`, `running_jobs`, `state_dir`.

## Reading the output

- `binary: not found` — opencode isn't installed, or the session started before `PATH`
  changed; `broken` — the binary exists but `--version` fails.
- `not in the model catalog` means the provider isn't wired up or the model was renamed, not
  that the model does not exist; `could not check` means `opencode models` did not answer
  (usually no network). Only `deepseek` unavailable still leaves `ready: yes` — but don't
  route a run to that channel.
- `credentials: not found` — the provider key is missing; the human adds it with
  `opencode providers` (aka `opencode auth`). Never print a key value.
- `answer parser: none` is fatal: the answer is assembled from the `--format json` event
  stream, so without `python3` or `jq` runs refuse to start. `brew install jq` is the only
  external requirement of this bridge.
- Ready but a run comes back empty — that is not a readiness problem: look at
  `transcript <job-id>` to see what opencode actually did.
- `channels from: built-in fallback - …` — Listik did not give a usable channel table, so
  the shipped models are in use. **Channel models come from Listik.** The model behind each channel name is set in Listik — harness `opencode`, page «Настройки → Харнессы»; the bridge reads it with `listik harnesses opencode --json` (binary from `LISTIK_BIN`, default `listik`) once per `check`/`run`/`resume`. The models named here are the shipped defaults (по умолчанию в поставке): the script's built-in fallback, used only when Listik is unavailable or answers with an unusable table. `check` shows the source — the `channels from` line, `channels_source`/`channels_source_error` in `--json`. A channel deleted in Listik is `unknown channel` (exit 2) and the role on it is unavailable; the bridge does not revive it from the fallback. A full `provider/model` id passed with `--model` still works as before.

Diagnosis ends here: installing and authenticating are the human's actions, not yours.
Don't go checking `brew`/`npm`/`curl` on your own. Once ready, delegate via
`/opencode:opencode-delegate`. Red lines and the full script contract: `opencode-runtime`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.