PW

pcx-wave/opencode-skill

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

20 stars 품질 43 트렌드 14

Claude Code Skill — Opencode에 delegate 코딩 작업, git diff를 통해 supervise & 50-90% Claude 토큰 사용 저장

개요

코딩 작업을 위임하고 결과를 감독하는 Claude Code 기술 - vibe-skill 및 gemini-skill과 같은 패턴. Claude Code에 /opencode를 입력하면이 기술 : 1. atomic sub-tasks(필요한 경우)로 작업할 수 있습니다. OpenCode 3.를 위한 self-contained prompt를 작성합니다. opencode-delegate 을 실행합니다. — un-interactive mode 에서 OpenCode CLI를 실행하는 스크립트 4. 스트림 구조 출력 : [읽기], [edit], [write], [search], [shell], [opencode] 5. 수정된 .py, .js, .json, .sh 파일에 post-run 문법 검사를 실행합니다. git diff 및 7에 어떤 문제 신고 구조화된 JSON 엔트리를 ~/.local/share/delegate-runs에 부여합니다.

개요(AI 번역)

Claude 관현악. OpenCode 코드. 당신은 diff를 검토합니다.

OpenCode CLI에 코딩 작업을 위임하고 결과를 감독하는 Claude Code 기술이 있습니다.


무엇 그것

클래드 코드에서 /opencode 를 입력할 때, 이 기술:

  1. atomic sub-tasks로 작업할 수 있습니다. (필요한 경우)
  2. OpenCode에 대한 자체 유지 된 프롬프트 작성
  3. 실행 opencode-delegate - 비동기 모드에서 OpenCode CLI를 실행하는 스크립트
  4. 스트림 구조 출력 : [read], [edit]], [write]], [search], [shell], [opencode]]
  5. 수정된 구문 체크를 실행 .py], .js], .json], .sh]]
  6. git diff와 당신에 어떤 문제점을 보고하십시오
  7. 구조화 된 JSON 엔트리를 ~/.local/share/delegate-runs.jsonl] (토큰, 비용, 내구, 종료 코드)

필수품

  • OpenCode CLI 설치 (opencode --version)
  • 기술이 활성화된 Claude Code
  • python3 가능 ( 스트리밍 파서 및 구문 검사용)
  • 작업에 git 저장소

설치

단계별

설치 확인

업데이트

설치가 symlinks를 사용했기 때문에, git pull는 당신이 필요로 하는 전부입니다:

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

opencode-skill

Claude orchestrates. OpenCode codes. You review the diff.

A Claude Code skill that delegates coding tasks to OpenCode CLI and supervises the result — the same pattern as vibe-skill and gemini-skill.


What it does

When you type /opencode in Claude Code, this skill:

  1. Decomposes the task into atomic sub-tasks (if needed)
  2. Writes a self-contained prompt for OpenCode
  3. Runs opencode-delegate — a script that launches OpenCode CLI in non-interactive mode
  4. Streams structured output: [read], [edit], [write], [search], [shell], [opencode]
  5. Runs post-run syntax checks on modified .py, .js, .json, .sh files automatically
  6. Reports the git diff and any issues to you
  7. Appends a structured JSON entry to ~/.local/share/delegate-runs.jsonl (tokens, cost, duration, exit code)

Prerequisites

  • OpenCode CLI installed (opencode --version)
  • Claude Code with skills enabled
  • python3 available (for the streaming parser and syntax checks)
  • A git repository to work in

Installation

git clone https://github.com/pcx-wave/opencode-skill.git && cd opencode-skill && mkdir -p ~/tools ~/.claude/skills/opencode ~/.claude/skills/opencodeon ~/.claude/skills/opencodeoff ~/.claude/skills/opencodestatus ~/.claude/skills/opencode-model-pick ~/.claude/skills/opencode-model-clear && ln -sf "$(pwd)/tools/opencode-delegate" ~/tools/opencode-delegate && ln -sf "$(pwd)/tools/delegate-report" ~/tools/delegate-report && chmod +x ~/tools/opencode-delegate ~/tools/delegate-report && ln -sf "$(pwd)/SKILL.md" ~/.claude/skills/opencode/SKILL.md && ln -sf "$(pwd)/OPENCODEON.md" ~/.claude/skills/opencodeon/SKILL.md && ln -sf "$(pwd)/OPENCODEOFF.md" ~/.claude/skills/opencodeoff/SKILL.md && ln -sf "$(pwd)/OPENCODESTATUS.md" ~/.claude/skills/opencodestatus/SKILL.md && ln -sf "$(pwd)/OPENCODEMODELPICK.md" ~/.claude/skills/opencode-model-pick/SKILL.md && ln -sf "$(pwd)/OPENCODEMODELCLEAR.md" ~/.claude/skills/opencode-model-clear/SKILL.md

Step-by-step

# 1. Clone this repo
git clone https://github.com/pcx-wave/opencode-skill.git
cd opencode-skill

# 2. Install the scripts (symlinks — stay in sync with git pull)
mkdir -p ~/tools
ln -sf "$(pwd)/tools/opencode-delegate" ~/tools/opencode-delegate
ln -sf "$(pwd)/tools/delegate-report" ~/tools/delegate-report
chmod +x ~/tools/opencode-delegate ~/tools/delegate-report

# 3. Install the skills for Claude Code
mkdir -p ~/.claude/skills/opencode ~/.claude/skills/opencodeon ~/.claude/skills/opencodeoff \
         ~/.claude/skills/opencodestatus ~/.claude/skills/opencode-model-pick ~/.claude/skills/opencode-model-clear
ln -sf "$(pwd)/SKILL.md" ~/.claude/skills/opencode/SKILL.md
GitHub에서 전체 README 보기

추천 도구

다른 키워드를 입력하거나 필터를 제거해 보세요.

설치

npx skillfish add pcx-wave/opencode-skill
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →