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.

Install it, pinned
mdr add cherryhq/cherry-studio/code-mate-opencode@git:20261020.1744084

Pins 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

The exact contents, by fingerprint
mdr add cherryhq/cherry-studio/code-mate-opencode@sha256:09b636e185a75c9a

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_yl65vxtmig6bqyxf.svg)](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.

versioncommittedcommitsizeaudit
git:20261020.1744084 latest2026-10-20 1744084 1,300 BA view · diff
git:20260827.fe048232026-08-27 fe04823 1,371 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the 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 (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

GitHub

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.

More from cherryhq/cherry-studio

AGENTS.md@.agents/notes AGENTS.md file
cherryhq/cherry-studio · .agents/notes/AGENTS.md
git:20261017.46ef0b8 · audit A · 53,286 stars
AGENTS.md@.agents/notes/implemented AGENTS.md file
cherryhq/cherry-studio · .agents/notes/implemented/AGENTS.md
git:20261017.46ef0b8 · audit A · 53,286 stars
AGENTS.md@.agents/notes/proposed AGENTS.md file
cherryhq/cherry-studio · .agents/notes/proposed/AGENTS.md
git:20261017.46ef0b8 · audit A · 53,286 stars
agent-notes SKILL.md skill
cherryhq/cherry-studio · .agents/skills/agent-notes/SKILL.md · Use when deciding whether a Cherry Studio change needs an Agent Note, authoring or reviewing a Spec, recording a…
git:20261017.46ef0b8 · audit A · 53,286 stars
cherry-electron-dev SKILL.md skill
cherryhq/cherry-studio · .agents/skills/cherry-electron-dev/SKILL.md · Develop, fix, profile, and test PRs in a tracked Cherry Studio Electron instance. Use for implementation, UI and…
git:20261015.08af826 · audit A · 53,286 stars
cherry-regression-test SKILL.md skill
cherryhq/cherry-studio · .agents/skills/cherry-regression-test/SKILL.md · Run Cherry Studio critical-path system regression tasks through the repository-owned Playwright E2E workflow. Use for…
git:20261103.34e909b · audit A · 53,286 stars
create-skill SKILL.md skill
cherryhq/cherry-studio · .agents/skills/create-skill/SKILL.md · Create a new skill in the current repository. Use when the user wants to create/add a new skill, or mentions creating a…
git:20260316.fe0678a · audit A · 53,286 stars
docs-governance SKILL.md skill
cherryhq/cherry-studio · .agents/skills/docs-governance/SKILL.md · Use when writing, restructuring, auditing, or reviewing Cherry Studio repository documentation, READMEs, JSDoc…
git:20261102.a500029 · audit A · 53,286 stars
find-simplifications SKILL.md skill
cherryhq/cherry-studio · .agents/skills/find-simplifications/SKILL.md · Use when asked to find or plan Cherry Studio cleanup, simplification, refactoring, dead-code removal, duplicated state…
git:20261017.46ef0b8 · audit A · 53,286 stars
gh-create-issue SKILL.md skill
cherryhq/cherry-studio · .agents/skills/gh-create-issue/SKILL.md · Use when user wants to create a GitHub issue for the current repository. Must read and follow the repository's issue…
git:20260822.5f660de · audit A · 53,286 stars
gh-create-pr SKILL.md skill
cherryhq/cherry-studio · .agents/skills/gh-create-pr/SKILL.md · Create or update GitHub pull requests using the repository-required workflow and template compliance. Use when asked to…
git:20261017.46ef0b8 · audit A · 53,286 stars
gh-pr-review SKILL.md skill
cherryhq/cherry-studio · .agents/skills/gh-pr-review/SKILL.md · Automated Cherry Studio review for local branches, PRs, commits, files, architecture docs, and repository skills. Use…
git:20260903.2c65c71 · audit A · 53,286 stars

Every file in cherryhq/cherry-studio

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