← ClaudeAtlas

opencodelisted

Delegate coding tasks (features, refactors, PR reviews) to the OpenCode CLI from bash; use when offloading coding work to the open-source opencode agent.
aashutosh396/mindpalace · ★ 0 · AI & Automation · score 78
Install: claude install-skill aashutosh396/mindpalace
# OpenCode CLI Use [OpenCode](https://opencode.ai) as an autonomous coding worker driven from bash. OpenCode is a provider-agnostic, open-source AI coding agent with a TUI and a non-interactive `run` mode. Use `opencode run` for one-shot tasks (no TTY needed); drive the interactive TUI through tmux when you need multi-turn sessions. ## When to Use - User explicitly asks to use OpenCode - You want an external coding agent to implement/refactor/review code - You need long-running coding sessions with progress checks - You want parallel task execution in isolated workdirs/worktrees ## Prerequisites - OpenCode installed: `npm i -g opencode-ai@latest` or `brew install anomalyco/tap/opencode` - Auth configured: `opencode auth login` or set provider env vars (OPENROUTER_API_KEY, etc.) - Verify: `opencode auth list` should show at least one provider - Git repository for code tasks (recommended) - A TTY (run inside tmux) for the interactive TUI; `opencode run` needs no TTY ## Binary Resolution (Important) Shell environments may resolve different OpenCode binaries. If behavior differs between shells, check: ```bash which -a opencode opencode --version ``` If needed, pin an explicit binary path: ```bash cd ~/project && "$HOME/.opencode/bin/opencode" run '...' ``` ## One-Shot Tasks Use `opencode run` for bounded, non-interactive tasks: ```bash cd ~/project && opencode run 'Add retry logic to API calls and update tests' ``` Attach context files with `-f`: ```bash cd ~/proje