본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

opencode-api-control-skill

malek262 제작

Web & Frontend Development
442clawskills.sh가 보고한 다운로드 수
2스타
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

A powerful skill to control Open Code CLI via a local web server API.

설명

이 스킬이 하는 일

Controls the OpenCode CLI through its local HTTP API using a set of shell scripts. Acts as an orchestrator that sends coding tasks to OpenCode, manages sessions and providers, and monitors progress without reading or modifying generated files directly. State is persisted locally so workflows can resume across runs.

Keeps orchestration separate from execution so the agent never interrupts OpenCode mid-task by poking at files, reducing errors from partial reads or conflicting writes.

사용 시점

  • Delegating a new React app build to OpenCode and tracking its progress
  • Switching between AI providers (Anthropic, Gemini) for different coding tasks
  • Running multi-phase dev workflows: plan with one session, implement in another
  • Resuming a paused coding session by loading saved project state
  • Monitoring long-running code generation with real-time event streaming

예시 워크플로

입력

User asks: Create a React dashboard app using Claude Sonnet

에이전트
  1. 1

    Run update_providers.sh to refresh the connected providers cache

  2. 2

    Run select_provider.sh with 'claude' and 'sonnet' to get provider and model IDs

  3. 3

    Create the project directory and a new session with create_session.sh

  4. 4

    Send the task via send_message.sh using the selected provider and model

  5. 5

    Run monitor_session.sh to stream progress, then get_diff.sh to summarize changes

출력

Diff summary listing added files such as src/App.tsx (+120/-0) and src/components/Dashboard.tsx (+89/-0), reported to the user without reading file contents

요구 사항

  • OpenCode CLI installed and server running on port 4099

설치

clawhub install malek262/opencode-api-control-skill

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크