본문으로 건너뛰기
cccskills
무료GitHub에 공개

opencode-delegation

Delegates tasks to OpenCode (opencode run) via delegation-core. Use when delegation-core selects OpenCode or a provider-agnostic harness is wanted.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

OpenCode Delegation

Overview

OpenCode is an open-source, provider-agnostic terminal agent published as npm opencode-ai. Its scripting entry point is opencode run, which takes the prompt as positional arguments.

Being provider-agnostic makes it the most flexible entry in the registry: the model behind it is whatever the local OpenCode config selects, including a local one.

When To Use

  • delegation-core selected opencode for the task
  • A provider the registry does not model directly is wanted, and OpenCode already has it configured
  • A local or self-hosted model should serve the request

When NOT To Use

  • No provider credentials are configured. opencode auth list shows what is present
  • A specific model must be pinned from this side. Model choice belongs to OpenCode's own config, not to the delegation call

Prerequisites

Installation

npm install -g opencode-ai@latest

Homebrew, pnpm, bun, scoop and chocolatey are also documented upstream.

Authentication

Credentials resolve per provider through environment variables such as ANTHROPIC_API_KEY or OPENAI_API_KEY, through a .env file, or through opencode auth login. Stored credentials are written to ~/.local/share/opencode/auth.json, and the config file supports {env:VARIABLE_NAME} interpolation.

Verification runs opencode auth list, because there is no single variable to check when the provider set is open-ended.

Quick Start

Using the shared delegation executor

uv run python scripts/delegation_executor.py opencode "Find the bug" \
  --files src/

Through the Makefile

make -C plugins/conjure delegate-opencode PROMPT='Find the bug'

Direct CLI usage

opencode run "Explain the use of context in this package"

Smart Delegation

opencode declares the code_execution strength and ranks last among the network providers in the candidate order, ahead only of the local glimmer service. It declares no model ids, since model choice belongs to OpenCode's own configuration.

OpenCode-Specific Details

PropertyValue
Binaryopencode
Packageopencode-ai
Headless formopencode run <prompt>
Prompt deliverypositional
Version probeopencode --version
Auth probeopencode auth list

opencode run --file <path> attaches a file upstream, but this service inlines file context into the prompt instead, which keeps one delivery path across every provider that lacks an @path syntax.

opencode serve starts a headless HTTP server that opencode run --attach <url> can target, and it honors OPENCODE_SERVER_PASSWORD. That path is not modeled here: the registry spawns a process per delegation rather than holding a server.

An output-format flag is documented for the session list, export and db subcommands, but not confirmed for run, so none is declared.

Exit Criteria

  • opencode resolves on PATH and answers opencode --version
  • opencode auth list shows at least one configured provider
  • The built command is opencode run <prompt> with the prompt last and no prompt flag before it
  • File context was inlined into the prompt rather than passed with --file
  • Output saved to delegations/opencode/YYYYMMDD_HHMMSS.md
  • This skill ran because delegation-core selected opencode

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Shapes turns action-first: action leads, steps numbered, state restated. Use for ADHD-friendly output. Do not use to trim tokens; use response-compression.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

athola/claude-night-market3422026년 10월 17일 업데이트

Inverts burden of proof for code additions. Use when reviewing PRs, planning refactors, or running unbloat to challenge every addition's necessity.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

athola/claude-night-market3422026년 10월 17일 업데이트

Tracks per-agent token usage and flags waste in parallel dispatch. Use when evaluating parallel agent efficiency or after a multi-agent run.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

athola/claude-night-market3422026년 10월 17일 업데이트

Coordinates Claude agent teams via filesystem protocol. Use when orchestrating parallel agents with task dependencies. Do not use for single-agent tasks.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

athola/claude-night-market3422026년 10월 17일 업데이트

Evaluates API surface design, consistency, and exemplar alignment. Use when reviewing public API changes or before releasing a new API surface.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

athola/claude-night-market3422026년 10월 17일 업데이트

Selects architecture paradigm via research before scaffolding. Use when architecture is undecided and the choice needs justification and documentation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

athola/claude-night-market3422026년 10월 17일 업데이트

athola의 스킬 모두 보기

이 스킬의 문제 신고