code-mate-opencode SKILL.md skillA
code-mate-opencode from cherryhq/cherry-studio is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add cherryhq/cherry-studio/code-mate-opencode@git:20261020.1744084Pins git:20261020.1744084 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- cherryhq/cherry-studio
- Path
resources/code-cli-skills/code-mate-opencode/SKILL.md- Versions recorded
- 2
- Latest version
- git:20261020.1744084, committed Oct 20, 2026
- First version recorded
- Aug 27, 2026
- Size
- 1,300 bytes
- Repository stars
- 53,286
- License
- AGPL-3.0
Run OpenCode non-interactively for coding tasks. Use when the user asks to delegate work to OpenCode.
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 ## Run 1. Set the Bash working directory to the exact project the user named and set a finite timeout, normally 10 minutes. 2. Check availability with `command -v opencode`. If it is missing, stop and ask the user to install OpenCode in Code Mate. 3. Run one task and exit: ```bash opencode run "<prompt>" --format json ``` Pass the prompt as one quoted argument. Parse stdout as a JSON event stream and treat an error event or nonzero exit as failure. Never start the interactive OpenCode UI or an authentication flow. ## Authentication And Permissions If OpenCode reports a missing provider or credentials, stop and ask the user to configure OpenCode in Code Mate. Never request, read, print, or copy credentials. Headless mode denies permission prompts by default; keep that behavior for analysis. Only when the user explicitly requests workspace changes may the command enable the minimum tools needed. Do not add `--auto` merely to avoid a denied permission. Example: ask OpenCode to inspect a failing test without editing, run the command above from that repository, and summarize the final content event and any tool errors.
Read the whole file at its exact version.
How to install
mdr add cherryhq/cherry-studio/code-mate-opencode@sha256:09b636e185a75c9aThe line at the top of this page pins the label git:20261020.1744084, 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_yl65vxtmig6bqyxf)
6 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Aug 27, 2026 and Oct 20, 2026, about one every 54 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261020.1744084 latest | 2026-10-20 | 1744084 | 1,300 B | A | view · diff |
| git:20260827.fe04823 | 2026-08-27 | fe04823 | 1,371 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 (1300 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
cherryhq/cherry-studio · 53,286 stars · license AGPL-3.0 · pushed 2026-11-05 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_yl65vxtmig6bqyxf GET https://markdownregistry.com/api/v1/resolve?ref=cherryhq/cherry-studio/code-mate-opencode GET https://markdownregistry.com/api/v1/blob/09b636e185a75c9aec2bfd22e4ce2c9f9d1ea9164fc7e97f28af4a67f4cb8e5d
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.