develop-opencode-plugins

A guide to building and extending plugins for OpenCode, a coding-agent application.

In plain words
What is it for?
Implementing OpenCode plugins, including their tools, event hooks, authentication, permissions, and the repository's helper library.
Why use it?
It explains the plugin interfaces and repository conventions so changes follow the expected structure.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/developer239/michals-opencode-cookbook/develop-opencode-plugins
Any agent
npx skills add developer239/michals-opencode-cookbook --skill develop-opencode-plugins
Clone the repo
git clone --depth 1 https://github.com/developer239/michals-opencode-cookbook

Made for: Claude Code, Codex.

Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,678 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00058 $0.09678
Opus 5 $0.00029 $0.04839
Sonnet 5 $0.00012 $0.01936
Haiku 4.5 $0.00006 $0.00968

Measured yesterday against content hash ab9775500ee7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

develop-opencode-plugins scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

The `loader` can return a `fetch` function instead of (or alongside) static credentials, letting the plugin refresh tokens per request: return `{ apiKey, async fetch(input, init) { ...inject fresh token... } }` and pair
src/skills/develop-opencode-plugins/SKILL.md · 770 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 770 lines · 58 tokens per session scan A ab9775500ee7

Subscribe to this mod's changes

develop-opencode-plugins is a skill published in the GitHub repository developer239/michals-opencode-cookbook (1 stars, last pushed 1mo ago), with no licence file. It adds 58 tokens to every session and 9,678 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

ultracite

Ultracite is a zero-config linting and formatting preset for JavaScript/TypeScript projects. Use when: (1) Setting up or initializing Ultracite in a project (ultracite init), (2) Running linting or formatting commands (check, fix, doctor), (3) Writing or reviewing JS/TS code in a project that uses Ultracite — to…

agustinusnathaniel/nextarter-tailwind · 142 tokens

next-upgrade

Upgrade Next.js to the latest version following official migration guides and codemods.

agustinusnathaniel/nextarter-tailwind · 19 tokens

regenerate-api

Regenerate the AppointMe frontend API client (orval/TanStack Query hooks + TypeScript schemas) after the backend OpenAPI surface changes. Use this whenever backend endpoints, request/response DTOs, or other contract-affecting types are added, removed, or modified — e.g. after editing files under src/AppointMe.Api…

bravodev-hub/appointme · 136 tokens

verify

Build, launch, and drive the AppointMe stack to verify a change end-to-end at its runtime surface.

bravodev-hub/appointme · 25 tokens

add-notification-feature

Adds Firebase Cloud Messaging (FCM) push notifications to one app under apps/{app}/: device token, foreground/background/terminated handling, topic subscriptions, tap-to-open-a-page routing, and image (rich) notifications. FCM only — no CleverTap.

abhinav503/flutter-agentic · 0 tokens

connect-firebase

Connects one app under apps/{app}/ to a Firebase project. Follow every step in the guide below. Notes on how this skill splits the work.

abhinav503/flutter-agentic · 0 tokens