Skip to content
Agentmart
Submit a tool

opencode

Delegate coding to OpenCode CLI (multi-LLM open-source coding agent)

Skill by taracodlabs

IndexedApache-2.0★ 863
Write a review

Chalk Labs

Need help deploying opencode?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/taracodlabs-opencode

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Delegate coding to OpenCode CLI (multi-LLM open-source coding agent)

Use cases: ml, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/opencode

What's inside

Skill name
opencode
Description
Delegate coding to OpenCode CLI (multi-LLM open-source coding agent)
License
Apache-2.0
Instructions
108 lines in SKILL.md · view on GitHub

Before installing

  • Instructions read files in your home folder (~/.ssh, ~/.aws…)

Agent Skills spec issues

  • body: contains an absolute path from the author's machine

Files (2)

  • SKILL.md
  • skill.json

SKILL.md (first lines)

# OpenCode CLI Agent Bridge

Delegate coding tasks to OpenCode — an open-source AI coding CLI that supports multiple LLM providers (Anthropic, OpenAI, Gemini, local Ollama). Provides a terminal UI for interactive coding sessions.

## When to Use

- User wants an open-source, self-hostable AI coding agent
- User wants to use local Ollama models for coding without cloud API costs
- User wants to switch between multiple LLM providers for the same task
- Task requires a coding agent with a built-in terminal UI
- User wants to run coding sessions with custom model configurations

## How to Use

### 1. Install OpenCode

```powershell
# Install via npm
npm install -g opencode-ai

# Or install via the installer script
Invoke-WebRequest -Uri "https://opencode.ai/install" -UseBasicParsing | Invoke-Expression

# Verify
opencode --version
```

### 2. Configure providers

OpenCode reads from `~/.config/opencode/config.json`:

```powershell
$config = @{
  providers = @{
    anthropic = @{ apiKey = $env:ANTHROPIC_API_KEY }
    openai    = @{ apiKey = $env:OPENAI_API_KEY }
    ollama    = @{ baseUrl = "http://localhost:11434" }
  }
  model = "anthropic/claude-opus-4-5"
} | ConvertTo-Json -Depth 5

$configDir = "$env:USERPROFILE\.config\opencode"
New-Item -ItemType Directory -Force -Path $configDir | Out-Null
Set-Content -Path "$configDir\config.json" -Value $config
```

### 3. Run an interactive coding session

```powershell
Set-Location "C:\Users\<you>\myproject"
opencode
# Opens terminal UI — type your task in the prompt
```

### 4. Run a specific task non-interactively

```powershell
# Run task without TUI
opencode run "Add pagination to the GET /users endpoint"

# Run with a specific model
opencode run --model "openai/gpt-4o" "Refactor the auth middleware to handle OAuth2"
```

### 5. Use local Ollama model (no cloud API costs)

```powershell
# Ensure Ollama is running with a code-capable model
# ollama pull qwen2.5-coder:7b

opencode run --model "ollama/qwen2.5-coder:7b" "Write a Python script to parse CSV files"
```

### 6. Run on a specific file

```powershell
opencode run "Review and fix the error handling in" src/api/payments.ts
```

### 7. Generate a new file

```powershell
opencode run "Create a new TypeScript module at src/cache/redis.ts that wraps ioredis with:
- connect(), disconnect() methods
- get(key), set(key, value, ttlSeconds) methods
- Proper error handling and type safety"
```

## Examples

**"Use the local Qwen model to add tests to my utility functions"**
→ Use step 5 with `--model "ollama/qwen2.5-coder:7b"` and ask it to generate tests for your utils file.

**"Run an interactive coding session on my project"**
→ Use step 3 — navigate to the project first, then run `opencode` to open the TUI.

**"Refactor this module but use GPT-4o instead of Claude"**
→ Use step 4 with `--model "openai/gpt-4o"`.

## Cautions

- OpenCode requires at least one provider configured with a valid API key (or Ollama running locally)
- The TUI mode (step 3) requires a terminal that supports ANSI escape codes — works in Windows Terminal
- Local models via Ollama are free but slower and less capable than cloud models for complex refactoring
- OpenCode may request file system access — review the project scope before running on sensitive codebases
- Check https://opencode.ai for the latest install instructions as the project is actively developed

From taracodlabs/aiden, Apache-2.0.

More from taracodlabs/aiden

Signals

Stars
863
Forks
150
Open issues
12
Last commit (this folder)
Jun 29, 2026 (4 months ago)
Last release
Oct 19, 2026 (11 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from taracodlabs

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get opencode running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying opencode?

CallGet help
Cite this page

opencode skill. Agent Mart. https://agentmart.dev/skills/taracodlabs-opencode (last updated 2026-10-24)