opencode-configure

opencode-configure is a skill for Claude Code, Codex from pantheon-org/tekhne. It costs 58 tokens per session (2,120 once invoked), scanned C, original, MIT.

A guide for configuring OpenCode, an AI coding tool, through project files such as opencode.json and AGENTS.md.

In plain words
What is it for?
It is for adding providers, choosing models, setting project instructions, controlling tool access, validating configuration, and troubleshooting OpenCode settings.
Why use it?
It helps keep providers, models, permissions, formatters, and environment variables configured consistently and makes common setup mistakes easier to avoid.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md; mentions OpenCode.

Good fit It is for adding providers, choosing models, setting project instructions, controlling tool access, validating configuration, and troubleshooting OpenCode settings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pantheon-org/tekhne/configure
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 pantheon-org/tekhne --skill configure
Clone the repo
git clone --depth 1 https://github.com/pantheon-org/tekhne

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-configure

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/pantheon-org/tekhne/configure"><img src="https://agentmods.dev/badge/skills/pantheon-org/tekhne/configure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,120 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00058 $0.02120
Opus 5.5 $0.00023 $0.00848
Sonnet 5.5 $0.00012 $0.00424
Haiku 4.5 $0.00006 $0.00212

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

Security

Grade C, and why

opencode-configure scanned grade C 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 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- Do not execute destructive shell commands (rm -rf, git push --force).
skills/agentic-harness/opencode-toolkit/configure/SKILL.md · 238 lines

How it starts

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

OpenCode Configuration

Navigation hub for OpenCode configuration tasks.

Information Architecture

  • Quick Start — working provider + AGENTS.md in under 2 minutes
  • When to Use / Scope — what this skill covers
  • Mindset — mental model before diving into config fields
  • Workflow — step-by-step approach
  • Configuration Examples — copy-paste provider and AGENTS.md templates
  • Gotchas & Production Caveats — field quirks and safety constraints
  • Anti-Patterns — common mistakes with WHY/BAD/GOOD

Quick Start

Add a provider — create/edit opencode.json in your project root:

{
  "providers": [
    {
      "id": "anthropic",
      "baseEnv": "ANTHROPIC_API_KEY",
      "models": [
        { "id": "claude-sonnet-4-5", "default": true }
      ]
    }
  ]
}

Add project instructions — create AGENTS.md in project root:

## Workflow Rules
- Run `npm test` after every code change.
- Never modify `package.json` without user confirmation.

Validate config:

jq . opencode.json && opencode run "test"

When to Use

  • Adding or updating providers and model preferences.
  • Editing permissions for tools, shell commands, or file access.
  • Updating formatter or instruction configuration in opencode.json.
  • Creating or refining AGENTS.md instructions.
  • Diagnosing configuration precedence or behavior mismatches.

When Not to Use

  • General coding implementation tasks.
  • Plugin/tool development outside standard config fields.
  • Agent personality design unrelated to config structure.

Mindset

  • Prefer explicit, minimal configuration changes over broad rewrites.
  • Treat permissions and secrets as security-critical defaults.
  • Validate behavior immediately after each meaningful config edit.

Scope

File Purpose
opencode.json Main OpenCode runtime configuration
AGENTS.md Project-level behavior and workflow rules
.env/shell env Provider keys and environment-backed configuration
references/*.md Deep configuration guidance

Read the full file on GitHub · 238 lines

Files

What ships with it

42 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 Changed · +8 lines 0a756914e82a
  2. 3mo ago First seen · 230 lines · 58 tokens per session scan C 320f59b5afc1

Subscribe to this mod's changes

opencode-configure is a skill published in the GitHub repository pantheon-org/tekhne (10 stars, last pushed 2d ago), licensed MIT. It adds 58 tokens to every session and 2,120 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

opencode-configure compared with skills from other repositories

opencode-configure next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
opencode-configurepantheon-org/tekhneSkill102d agoMITC58Claude Code, Codex
agent-platform-model-registrygoogle/skillsSkill25kyesterdayApache-2.0A60Claude Code, Codex
google-cloud-solution-agentic-analytics-spark-knowledge-cataloggoogle/skillsSkill25kyesterdayApache-2.0A132Claude Code, Codex
viteantfu/skillsSkill6.1k5d agoMITA49Claude Code, Codex
add-analyticsLeoYeAI/openclaw-master-skillsSkill2.2k10d agoMITA32Claude Code
remotion-best-practicesguanyang/open-agent-hubSkill1.0kyesterdayMITA116Claude Code
cwv-optimizeradobe/skillsSkill342todayApache-2.0A112Claude Code