Agent skill · luongnv89
opencode-runner
Run coding tasks via opencode using free cloud models. Use when asked to offload work to opencode.ai or run a free model. Don't use for local models (Ollama, LM Studio), Claude/OpenAI calls, or when Claude should do the work itself.
What it needs
About 11k tokens when loaded.
What this skill does
OpenCode Runner Delegate coding tasks to opencode using free models — zero cost, fully automated. OpenCode (opencode.ai) is a terminal AI coding assistant that supports multiple providers and models. This skill automates the process of selecting the best available free model, launching the task, and reporting progress back to you. Prerequisites opencode installed: which opencode must succeed; install via npm i -g opencode-ai@latest or brew install opencode if missing Internet access: required for cloud model selection and task execution via OpenCode Zen Project context: the current working directory should be the project root for file-context tasks Critical Rules 1. Never do the task yourself. This skill exists solely to delegate work to opencode. If opencode is not installed, fails to run, or no free cloud model is available — report the problem to the user and stop. Do not fall back to editing files directly, writing code yourself, or using any other tool to accomplish the user's coding task. The whole point is that opencode does the work. 2. Only select cloud models. Never select local models (e.g., ollama/, lmstudio/, or any model running on localhost). Only select models from the opencode/ provider namespace, which are cloud-hosted on OpenCode Zen. Local models have unpredictable availability, performance, and may not support the tool-use capabilities opencode needs. 3. Always clean up after yourself. opencode spawns background processes (LSP servers, MCP servers, node workers) that persist after the task finishes. Every execution path — success, failure, error, timeout — must end with the cleanup steps in Phase 6. Orphaned opencode processes silently eat CPU and memory, and users won't notice until their machine slows to a crawl. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills luongnv89/opencode-runner