This is a workflow enforcer for Opencode that keeps Claude from writing code directly and instead orchestrates it through Opencode's plan and build agents. It handles the session setup, model selection, and authentication flow, then enforces a strict loop: always plan first, get approval, then build. If the build agent hits a question, it forces you back to planning. The core insight here is useful: separating planning from execution prevents half-baked implementations. You'll want this if you're already using Opencode and find yourself or Claude skipping the planning step or trying to answer design questions mid-build. It's basically guard rails for a two-phase workflow.

skills.sh installs
166
GitHub stars
674
last updated
Aug 21, 2026

Install

$ npx -y skills add sundial-org/awesome-openclaw-skills --skill opencode-controller --agent claude-code

Installs into .claude/skills of the current project.

Files

Opencode Controller

Core rule

Clawdbot does not write code. All planning and coding happens inside Opencode.

Pre-flight

  • Ask the user which AI provider to use.
  • Ask how the provider should be authenticated.
  • Do not proceed without confirmation.

Session management

  • Start Opencode.
  • Open session selector using: /sessions
  • If the current project already exists:
    • Select the existing session.
  • Never create a new session without user approval.

Agent (mode) control

  • Open agent selector using: /agents
  • Available agents:
    • Plan
    • Build
  • Always select Plan first.
  • Switch agents whenever required using /agents.

Model selection

  • Open model selector using: /models
  • Select the user-requested provider.
  • If authentication is required:
    • Copy the login link provided by Opencode.
    • Send it to the user.
    • Wait for confirmation before continuing.

Plan agent behavior

  • Ask Opencode to analyze the task.
  • Request a clear step-by-step plan.
  • Allow Opencode to ask clarification questions.
  • Review the plan carefully.
  • If the plan is incorrect or incomplete:
    • Ask Opencode to revise it.
  • Do not allow code generation in Plan.

Sponsors

Details

Repository
github.com/sundial-org/awesome-openclaw-skills
Categories
DevOps & CI/CD, Productivity & Planning
First seen
Jun 3, 2026

More from sundial-org/awesome-openclaw-skills

All 39
1andrelandgraf avatarnextjs-on-vercelandrelandgraf/fullstackrecipesCreate a Next.js app running on Bun, configure the development environment, and deploy to Vercel with automatic deployments on push.164skills.sh installs
2borghei avatarinformation-security-manager-iso27001borghei/claude-skillsISO 27001:2022 ISMS implementation and cybersecurity governance for HealthTech and MedTech. Use for ISMS design, risk assessment per Clause 6.1.2, Annex A contr164skills.sh installs
3incept5 avatareve-app-cliincept5/eve-skillpacksBuild agent-friendly CLIs for Eve-compatible apps. Wrap REST APIs with domain commands, auto-auth, structured errors, and --json output. Agents use CLIs instead162skills.sh installs
4pedronauck avatarfrontend-designpedronauck/skillsCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applicat157skills.sh installs
5rysweet avatargoal-seeking-agent-patternrysweet/amplihackGuides architects on when and how to use goal-seeking agents as a design pattern. This skill helps evaluate whether autonomous agents are appropriate for a give157skills.sh installs
6andrelandgraf avatarai-chatandrelandgraf/fullstackrecipesBuild a complete AI chat application with database persistence, chat list management, and automatic title generation.156skills.sh installs