opencode-configure

opencode-configure is a skill for Claude Code, Codex from pantheon-org/tekhne. It costs 58 tokens per session (1,870 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.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.svg" alt="Measured on agentmods" 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 1,870 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.01870
Opus 5 $0.00029 $0.00935
Sonnet 5 $0.00012 $0.00374
Haiku 4.5 $0.00006 $0.00187

Measured 8d ago against content hash 320f59b5afc1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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 8d 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 · 230 lines

How it starts

The opening of the file, as written. The whole thing — 230 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 · 230 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. 8d 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 today), licensed MIT. It adds 58 tokens to every session and 1,870 once invoked, about $0.0003 per session on Opus 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

Other skills, from other repositories

claude-md-improver

Audit and improve CLAUDE.md files in repositories. Use when user asks to check, audit, update, improve, or fix CLAUDE.md files. Scans for all CLAUDE.md files, evaluates quality against templates, outputs quality report, then makes targeted updates. Also use when the user mentions "CLAUDE.md maintenance" or "project…

anthropics/claude-plugins-official · 82 tokens

gke-workload-security

Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running cluster security audits (auditcluster.sh), configuring Workload Identity Federation (impersonation, KSA/GSA binding, and pod setup), enforcing Network Policies (default-deny…

google/skills · 181 tokens

gke-reliability

Improves GKE workload reliability, using PDBs, health probes, and topology spread constraints. Use when configuring GKE workload reliability, setting up PDBs, or configuring GKE health probes (liveness, readiness, startup). Don't use for disaster recovery setup or full cluster backups (use gke-backup-dr instead).

google/skills · 73 tokens

atlas-obscura

Search Atlas Obscura for weird, wonderful, and hidden gem places near any destination. Find the interesting stuff, not boring plaques. Search by coordinates, get full details with descriptions and images.

borski/travel-hacking-toolkit · 44 tokens

cf-validate

A validator for 1C configuration source files. It checks the XML structure and the files and objects that make up a 1C business-application configuration.

Nikolay-Shirokov/cc-1c-skills · 31 tokens

agent-code-generator

Generates Agent definitions (.md files) based on user intent and standard templates.

majiayu000/claude-skill-registry · 20 tokens