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.
npx skills add darellchua2/opencode-config-template --skill opencode-repo-setup-skillgit clone --depth 1 https://github.com/darellchua2/opencode-config-templateWrote 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.
[](https://agentmods.dev/skills/darellchua2/opencode-config-template/opencode-repo-setup-skill)<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/opencode-repo-setup-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/opencode-repo-setup-skill/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.
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/opencode-repo-setup-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/opencode-repo-setup-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00064 | $0.03240 |
| Opus 5.5 | $0.00026 | $0.01296 |
| Sonnet 5.5 | $0.00013 | $0.00648 |
| Haiku 4.5 | $0.00006 | $0.00324 |
Grade B, and why
opencode-repo-setup-skill 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 2mo 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
- **"Backend: wasm" (5–10x slower)** — install native build tools (`sudo apt install build-essential python3 make`; macOS: `xcode-select --install`; Windows: WSL, or VS Build Tools then `npm rebuild better-sqlite3`), the How it starts
The opening of the file, as written. The whole thing — 187 lines — stays where its author put it; the contents beside it link to each section on GitHub.
What I do
I am the interactive frontend for per-project MCP enablement. The global deploy ships most MCP servers disabled (zero always-on schema cost); this skill is how a specific repo opts in. I run in the primary session of the TARGET project (not the configurator repo):
- Detect — scan the repo for setup signals
- Ask — present a question-tool menu of opt-in servers + extras
- Write — merge-write ONLY the delta into
<repo>/opencode.json - Init — optionally run
codegraph init -i - Report — enabled set, estimated token cost, revert instructions
I never edit the global ~/.config/opencode/config.json. Opencode merges project config over global with project wins semantics, so a one-key delta is all that's needed.
When to use me
- User says "set up MCP for this repo", "enable Jira/Atlassian here", "project-level opencode setup"
- A marker rule fired (user AGENTS.md may say: if a repo's AGENTS.md mentions Jira/MCP needs, offer this skill)
- First session in a repo that carries its own
.opencode/— offer to review/extend it
Step 1 — Detect
Cheap, read-only scans (no network):
| Signal | Check | Suggests |
|---|---|---|
| Existing project config | <repo>/opencode.json exists |
Idempotent mode: show current overrides, offer to extend |
| CodeGraph index | <repo>/.codegraph/ exists |
codegraph already enabled locally; no action |
| Jira usage | AGENTS.md/README mentions Jira keys (PROJ-123), JIRA env vars, atlassian refs |
offer atlassian enable |
| GitHub-centric | .github/, gh in scripts |
gh CLI usually suffices; no MCP needed |
| Docs-heavy | .docx/.pptx/.pdf in repo |
offer markitdown/docling packs |
| Frontend | package.json with next/react |
offer next-devtools |
| Python | pyproject.toml |
nothing MCP-specific by default |
| GitHub repo | .github/ or GitHub remote present AND .github/ISSUE_TEMPLATE/ absent |
offer issue-template scaffold (Step 2 extras) |
Report findings in one table, then go to Step 2.
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.
- 2mo ago Changed · +17 lines ec03cf949999
- 2mo ago Changed a98cf2bc6fea
- 2mo ago Changed · +9 lines 94b9537c8b2d
- 2mo ago Changed · +4 lines f6f4d05f3b14
- 2mo ago Changed · +2 lines 49ad1034638e
- 3mo ago First seen · 155 lines · 64 tokens per session scan B db1770dfbadc
opencode-repo-setup-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 64 tokens to every session and 3,240 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
opencode-repo-setup-skill compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| opencode-repo-setup-skilldarellchua2/opencode-config-template | Skill | 6 | 2mo ago | Apache-2.0 | B | 64 | Claude Code, Codex |
| local-ai-agentsmicrosoft/ai-agents-for-beginners | Skill | 82k | today | MIT | A | 200 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 102k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 396k | today | MIT | A | 36 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | yesterday | CC0-1.0 | A | 113 | Claude Code, Codex |
| systematic-debuggingobra/superpowers | Skill | 333k | 7d ago | MIT | A | 21 | Claude Code |