opencode-troubleshooting

opencode-troubleshooting is a skill for Claude Code, Codex from Timmy6942025/opencode-builder-skill. It costs 118 tokens per session (4,620 once invoked), scanned C, original, MIT.

A troubleshooting guide for OpenCode, an AI coding assistant available as a command-line tool, terminal interface, web interface, and desktop app. It covers logs, stored data, connection problems, plugins, models, and common startup or authentication errors.

In plain words
What is it for?
Use it to inspect logs, resolve desktop and CLI issues, fix authentication or provider errors, troubleshoot plugins and caches, and investigate platform-specific problems.
Why use it?
It gives developers a structured way to diagnose why OpenCode will not start, cannot connect, cannot find a model, or has an unresponsive interface. It points to logs and targeted fixes before suggesting a storage reset.

Skill for Claude CodeCodex

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

Good fit Use it to inspect logs, resolve desktop and CLI issues, fix authentication or provider errors, troubleshoot plugins and caches, and investigate platform-specific problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/timmy6942025/opencode-builder-skill/opencode-troubleshooting
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 Timmy6942025/opencode-builder-skill --skill opencode-troubleshooting
Clone the repo
git clone --depth 1 https://github.com/Timmy6942025/opencode-builder-skill

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/timmy6942025/opencode-builder-skill/opencode-troubleshooting"><img src="https://agentmods.dev/badge/skills/timmy6942025/opencode-builder-skill/opencode-troubleshooting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,620 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00118 $0.04620
Opus 5.5 $0.00047 $0.01848
Sonnet 5.5 $0.00024 $0.00924
Haiku 4.5 $0.00012 $0.00462

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

Security

Grade C, and why

opencode-troubleshooting scanned grade C with 2 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.

Recursive force deletehighDestructive command

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

rm -rf ~/.local/share/opencode

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Try `curl https://api.openai.com/v1/models` (or equivalent for your provider)
skills/opencode-troubleshooting/SKILL.md · 604 lines

How it starts

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

OpenCode Troubleshooting

📚 Official Docs: For the latest information, always refer to the official documentation: https://opencode.ai/docs/troubleshooting/

OpenCode is an AI-powered coding assistant available as a CLI, TUI, web interface, and desktop app. When something goes wrong — the app won't start, models fail to load, authentication breaks, or the UI is unresponsive — this skill provides comprehensive diagnostic and resolution procedures. Start by checking logs and storage, then work through the specific issue category.


Table of Contents


Logs

Log files are the first place to look when diagnosing any issue with OpenCode. They contain detailed information about startup, provider connections, API calls, errors, and internal state transitions.

Log File Locations

Platform Path
macOS ~/.local/share/opencode/log/
Linux ~/.local/share/opencode/log/
Windows Press WIN+R and paste %USERPROFILE%\.local\share\opencode\log

Read the full file on GitHub · 604 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. 1mo ago First seen · 604 lines · 118 tokens per session scan C cc8e567f0778

Subscribe to this mod's changes

opencode-troubleshooting is a skill published in the GitHub repository Timmy6942025/opencode-builder-skill (2 stars, last pushed 4mo ago), licensed MIT. It adds 118 tokens to every session and 4,620 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). 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

ast-grep

Searches and rewrites code by AST shape across 25 languages. Use when the target is a syntax pattern (every call/class/import shaped like X, a codemod, a YAML rule) rather than literal text; for plain strings, comments, or filenames, use rg.

code-yeongyu/oh-my-openagent · 61 tokens

debugging

Runs a hypothesis-driven debugging loop across any language or binary, escalating to orthogonal oracle angles and locking the fix with a failing test. Use for crashes, silent failures, hangs, wrong responses, memory leaks, async misbehavior, or reverse engineering.

code-yeongyu/oh-my-openagent · 53 tokens

lcx-doctor

Diagnose LazyCodex and Codex CLI installation health against the latest sources. Use whenever the user asks for a doctor or health check, says LazyCodex, lazycodex-ai, omo-codex, or Codex behaves oddly after an install, update, or config change, suspects a stale, drifted, or broken setup, or wants the local install…

code-yeongyu/oh-my-openagent · 93 tokens

lcx-report-bug

Create a high-signal bug issue or PR in the repo that owns the defect. Use this whenever the user asks to report, file, open, or triage a LazyCodex, lazycodex-ai, omo-codex, Codex plugin, or upstream Codex CLI bug, especially when they need source-backed root cause, reproduction steps, fix guidance, and GitHub routing.

code-yeongyu/oh-my-openagent · 85 tokens

remove-deadcode

Remove unused code from this project with ultrawork mode, LSP-verified safety, atomic commits. Triggers: remove dead code, dead code, cleanup, remove unused.

code-yeongyu/oh-my-openagent · 41 tokens

lsp

Use when Codex needs language-server diagnostics, definitions, references, symbols, or rename safety checks in the current workspace.

code-yeongyu/oh-my-openagent · 27 tokens