merchGent: Skill for OpenCode

.opencode/skills/plugin-creator/SKILL.md

plugin-creator is a skill for OpenCode from grahamton/merchGent. It costs 15 tokens per session (268 once invoked), scanned A, original, MIT.

A guide for creating OpenCode plugins, which are JavaScript or TypeScript modules that add behavior to the OpenCode coding agent. It explains where project and global plugins live and how npm plugins are configured.

In plain words
What is it for?
Use it to create local OpenCode plugins, configure npm plugins, and determine where OpenCode will load them.
Why use it?
It removes uncertainty about the plugin file format, installation locations, loading order, and configuration.

Skill for OpenCode

Written for OpenCode: installed under .opencode/. Also seen: mentions OpenCode.

This is grahamton/merchGent's own configuration. It tells OpenCode how to work on merchGent itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything merchGent configures →

Reuse

Borrowing it

Nothing to install: this file belongs to grahamton/merchGent. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/grahamton/merchGent/main/.opencode/skills/plugin-creator/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/grahamton/merchGent

Made for: OpenCode.

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 plugin-creator

README.md
[![agentmods](https://agentmods.dev/badge/skills/grahamton/merchgent/plugin-creator/github.svg)](https://agentmods.dev/skills/grahamton/merchgent/plugin-creator)
Your own site
<a href="https://agentmods.dev/skills/grahamton/merchgent/plugin-creator"><img src="https://agentmods.dev/badge/skills/grahamton/merchgent/plugin-creator/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 plugin-creator

Your own site · 80×15
<a href="https://agentmods.dev/skills/grahamton/merchgent/plugin-creator"><img src="https://agentmods.dev/badge/skills/grahamton/merchgent/plugin-creator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 268 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original 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.00015 $0.00268
Opus 5.5 $0.00006 $0.00107
Sonnet 5.5 $0.00003 $0.00054
Haiku 4.5 $0.00002 $0.00027

Measured 1mo ago against content hash 6482c369ae50, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

plugin-creator scanned grade A with 0 findings 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 1mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.opencode/skills/plugin-creator/SKILL.md · 42 lines

What it actually says

Quick Usage (Already Configured)

Where plugins live

  • Project plugins: .opencode/plugins/*.js or .opencode/plugins/*.ts
  • Global plugins: ~/.config/opencode/plugins/*.js or .ts

Load from npm

Add npm plugin packages in opencode.json:

{
  "$schema": "https://opencode.ai/config.json",
  "plugin": ["opencode-helicone-session", "opencode-wakatime"]
}

Minimal plugin template

export const MyPlugin = async ({ project, client, $, directory, worktree }) => {
  return {
    // Hook implementations go here
  }
}

Notes from OpenCode docs

  • Plugins are JS/TS modules exporting one or more plugin functions.
  • Local plugins are loaded directly from the plugin directory.
  • NPM plugins are installed via Bun at startup and cached in ~/.cache/opencode/node_modules/.
  • Load order: global config → project config → global plugins → project plugins.

Reference

Follow the official OpenCode plugin docs: https://opencode.ai/docs/plugins/ Use the docs as the escape hatch when unsure.

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 42 lines · 15 tokens per session scan A 6482c369ae50

Subscribe to this mod's changes

plugin-creator is a skill published in the GitHub repository grahamton/merchGent (0 stars, last pushed 6mo ago), licensed MIT. It adds 15 tokens to every session and 268 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. 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

video-research

Use video-research MCP tools for evidence-aware video/document analysis, cited research, academic discovery, and knowledge queries when that server is connected.

Galbaz1/video-research-mcp · 32 tokens

ffmpeg-production

FFmpeg video/audio processing — conversion, scaling, compression, trimming, concatenation, AI post-processing. Not for audio ducking/voice mixing (tts-production) or Remotion rendering.

Galbaz1/video-research-mcp · 42 tokens

video-to-skill

Author an ordinary host skill from retained video or demonstration observations, then validate its source provenance, timestamped evidence, assets, rights declarations and retained task-run bindings before producing a local deterministic .skill archive. Use when deriving reusable instructions from a recording; task…

Galbaz1/video-research-mcp · 65 tokens

mlflow-traces

Use when working with MLflow traces: debugging via MCP tools, analyzing performance, logging feedback, writing custom scorers/evaluations, or cleaning up trace data.

Galbaz1/video-research-mcp · 37 tokens

tts-production

Produces voiceover audio via ElevenLabs TTS API. Activates for TTS generation, voice tuning, audio ducking, or multilingual narration — not for voice AI agents, transcription, or music.

Galbaz1/video-research-mcp · 43 tokens

video-explainer

Teaches Claude how to use the video explainer tools to create explainer videos from research content. Activates when working with video synthesis, explainer creation, or the video-explainer MCP server.

Galbaz1/video-research-mcp · 46 tokens