opencode

opencode is a skill for Claude Code, Codex from Mte90/dotfiles. It costs 29 tokens per session (10,159 once invoked), scanned B, original, no licence file.

A guide to building plugins, tools, and extensions for OpenCode, an AI coding agent, using its extension interfaces and software development kit.

In plain words
What is it for?
Use it to create OpenCode plugins and tools, connect MCP services, integrate language servers, or work with the SDK.
Why use it?
It explains how to add custom behavior and connect OpenCode to external tools or language services.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it to create OpenCode plugins and tools, connect MCP services, integrate language servers, or work with the SDK.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mte90/dotfiles/opencode
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.

Any agent
npx skills add Mte90/dotfiles --skill opencode
Clone the repo
git clone --depth 1 https://github.com/Mte90/dotfiles

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for opencode

README.md
[![agentmods](https://agentmods.dev/badge/skills/mte90/dotfiles/opencode/github.svg)](https://agentmods.dev/skills/mte90/dotfiles/opencode)
Your own site
<a href="https://agentmods.dev/skills/mte90/dotfiles/opencode"><img src="https://agentmods.dev/badge/skills/mte90/dotfiles/opencode/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for opencode

Your own site · 80×15
<a href="https://agentmods.dev/skills/mte90/dotfiles/opencode"><img src="https://agentmods.dev/badge/skills/mte90/dotfiles/opencode.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,159 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00029 $0.10159
Opus 5 $0.00015 $0.05079
Sonnet 5 $0.00006 $0.02032
Haiku 4.5 $0.00003 $0.01016

Measured 5d ago against content hash 04eb55afea8a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade B, and why

opencode scanned grade B 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 5d ago.

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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

const response = await fetch('http://localhost:3000/api/chat', { method: 'POST',
.config/opencode/skills/opencode/SKILL.md · 1,746 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. 5d ago First seen · 1,746 lines · 29 tokens per session scan B 04eb55afea8a

Subscribe to this mod's changes

opencode is a skill published in the GitHub repository Mte90/dotfiles (51 stars, last pushed 7d ago), with no licence file. It adds 29 tokens to every session and 10,159 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (sends data to an external url). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.