opencode-fusion: Skill for OpenCode

.opencode/skills/fusion-setup/SKILL.md

fusion-setup is a skill for OpenCode from mihneaptu/opencode-fusion. It costs 166 tokens per session (6,788 once invoked), scanned A, original, MIT.

A skill for setting up or changing the opencode Fusion agent team. Fusion assigns planning, editing, searching, and optional specialist work to separate agents with different permissions.

In plain words
What is it for?
It is for installing, configuring, reconfiguring, and verifying the Fusion team and its model choices.
Why use it?
It guides configuration in opencode's global settings and helps avoid installing files where opencode will not read them.

Skill for OpenCode

Written for OpenCode: installed under .opencode/. Also seen: mentions subagents; mentions Claude Code; mentions OpenCode.

This is mihneaptu/opencode-fusion's own configuration. It tells OpenCode how to work on opencode-fusion 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 opencode-fusion configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mihneaptu/opencode-fusion. 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/mihneaptu/opencode-fusion/main/.opencode/skills/fusion-setup/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/mihneaptu/opencode-fusion

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 fusion-setup

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mihneaptu/opencode-fusion/fusion-setup"><img src="https://agentmods.dev/badge/skills/mihneaptu/opencode-fusion/fusion-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 166 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,788 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.00166 $0.06788
Opus 5.5 $0.00066 $0.02715
Sonnet 5.5 $0.00033 $0.01358
Haiku 4.5 $0.00017 $0.00679

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

Security

Grade A, and why

fusion-setup 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 2mo ago.

The scan reads SKILL.md. This mod also ships 3 executable files (plugins/fusion-audit.js, plugins/fusion-claude.js, scripts/install.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/fusion-setup/SKILL.md · 236 lines

How it starts

The opening of the file, as written. The whole thing — 236 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Fusion setup

This skill configures the Fusion agent team (a main agent, a sidekick executor, an explore searcher, and optional specialists) by writing the user's GLOBAL opencode config at ~/.config/opencode/ (on Windows: %USERPROFILE%\.config\opencode\). It does not require cloning any repository.

opencode resolves that directory as $XDG_CONFIG_HOME/opencode/ when XDG_CONFIG_HOME is set and non-empty, falling back to ~/.config/opencode/ otherwise. Every ~/.config/opencode/... path below means that resolved directory. The bundled installer in Step 4 works this out itself, so the normal flow needs no special handling; only the manual fallback in Step 4b and the verification in Step 5 need you to resolve it by hand. Installing into ~/.config/opencode/ on a machine with a different XDG_CONFIG_HOME writes a tree opencode never reads - the install looks successful and Fusion silently never loads.

What Fusion is

Fusion splits work across agents with asymmetric permissions:

  • build (main, primary): a strong model that plans, makes judgment calls, and reviews. It CANNOT edit files, search the codebase, or run arbitrary shell. Its only path to changing files is delegating to the sidekick via the task tool.
  • plan (primary): plan mode - the same planning brain as build. Produces a reviewed plan and delegates exploration, but does not execute; switch to build to carry it out. Overrides opencode's built-in plan agent so plan mode stays Fusion-aware.
  • sidekick (subagent): a cheaper, fast model with full edit and broad bash access (direct git commit/git push and common wrappers are denied as defense-in-depth - committing stays with the main agent). It executes precise specs handed to it by the main agent.
  • explore (subagent): a cheap model used for read-only codebase exploration.
  • research (subagent): read-only external research - web search and docs. No edit access.
  • design (subagent): frontend/UI implementation. Loads design skills, edits files, runs the dev/build tooling.
  • reviewer (subagent): critiques a plan before implementation and audits a diff before commit (correctness, scope, security). Read-only plus lint/test; no edit access.
  • vision (subagent): reads images/screenshots the main model cannot see and reports them as text. Only needed when the main model lacks image input.

Read the full file on GitHub · 236 lines

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. 2mo ago First seen · 236 lines · 166 tokens per session scan A a84ccc2f23e2

Subscribe to this mod's changes

fusion-setup is a skill published in the GitHub repository mihneaptu/opencode-fusion (217 stars, last pushed 2mo ago), licensed MIT. It adds 166 tokens to every session and 6,788 once invoked, about $0.0007 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-30.

Related

fusion-setup compared with skills from other repositories

fusion-setup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fusion-setupmihneaptu/opencode-fusionSkill2172mo agoMITA166OpenCode
reader-reportEZotoff/ez-omo-configSkill620d agoMITA80Claude Code, Codex
reader-reportEZotoff/ez-omo-configSkill620d agoMITA80Claude Code, Codex
debateEZotoff/ez-omo-configSkill620d agoMITA67Claude Code, Codex
update-to-latestEZotoff/ez-omo-configSkill620d agoMITA33Claude Code, Codex
debateEZotoff/ez-omo-configSkill620d agoMITA67Claude Code, Codex
patch-opencodeEZotoff/ez-omo-configSkill620d agoMITA53Claude Code, Codex