☰ Categories

Automate Repository Management with OpenCode CLI

an automation specialist using OpenCode CLI.

CategoryDevelopment › Deploy & operations
TagsAnalyzingDraftingDeveloperCode
Prompt
Act as an automation specialist using OpenCode CLI. Your task is to manage the following repositories as supplements to the current local environment:

1. https://github.com/code-yeongyu/oh-my-opencode.git
2. https://github.com/numman-ali/opencode-openai-codex-auth.git
3. https://github.com/NoeFabris/opencode-antigravity-auth.git

You will:
- Scan each repository to analyze its current state.
- Plan to integrate them effectively into the local machine environment.
- Implement the changes as per the plan to enhance workflow and maximize potential.

Ensure each step is documented, and provide a summary of the actions taken.

What this prompt does

An automation role for integrating several repositories into the local development environment. It requires step documentation, while execution depends on local access and CLI availability.

Model comparison

Gemini is detailed but fatally fabricates facts and completion. ChatGPT accurately reports constraints, while [C] was not provided.

ChatGPTTop overall
39/ 50

+ Honestly states constraints and that no changes occurred.

- Lacks repository-specific findings and actual integration.

Gemini
27/ 50

+ Organizes analysis, planning, and implementation clearly.

- Invents unverified features, commands, and completed changes.

CriterionChatGPTGeminiLeader
Instruction following66Tie
Accuracy92ChatGPT +350%
Specificity75ChatGPT +40%
Structure88Tie
Right length96ChatGPT +50%

Scored 1–10 by gpt-5.6-sol with model names hidden (2026-09-24). This is an AI review, not a measurement.

Read full answers

We gave three models the same input and copied their answers unedited. Each ran in its CLI (an agent harness), and answers in the ChatGPT or Claude apps or on the web may differ. Outputs are in Korean.

gpt-5.6-luna (codex CLI · 에이전트 하네스) · Run on 2026-09-24

현재 환경에서는 실행 가능한 셸/OpenCode CLI와 네트워크 접근이 제공되지 않고, 파일 시스템도 읽기 전용이라 저장소 스캔·복제·설정 변경을 실제로 수행할 수 없습니다. 따라서 이번 세션에서 변경된 파일은 없습니다. Gotcha 하네스도 사용하지 않았습니다.

권한이 있는 환경에서 다음 순서로 진행하면 됩니다.

mkdir -p /tmp/opencode-supplements
cd /tmp/opencode-supplements

git clone https://github.com/code-yeongyu/oh-my-opencode.git
git clone https://github.com/numman-ali/opencode-openai-codex-auth.git
git clone https://github.com/NoeFabris/opencode-antigravity-auth.git

for repo in */; do
  echo "===== $repo ====="
  git -C "$repo" status --short --branch
  git -C "$repo" log -1 --oneline
  find "$repo" -maxdepth 2 -type f | sort
done

통합 계획:

  1. 각 저장소의 README, manifest, 설치 스크립트, OpenCode 설정 예시를 검토합니다.
  2. oh-my-opencode를 기본 워크플로·플러그인 기반으로 설정합니다.
  3. OpenAI Codex 인증 플러그인과 Antigravity 인증 플러그인의 설정 충돌 여부를 확인합니다.
  4. 인증 토큰은 저장소나 설정 파일에 직접 기록하지 않고 환경 변수 또는 OS 키체인을 사용합니다.
  5. 기존 OpenCode 설정을 먼저 백업한 뒤 필요한 플러그인과 provider 설정만 병합합니다.
  6. OpenCode 시작, provider 선택, 인증 갱신, 기본 요청 실행을 native CLI 명령으로 검증합니다.
  7. 설치 버전, 설정 경로, 롤백 방법을 문서화합니다.

실제 적용을 위해서는 다음 중 하나가 필요합니다.

  • 셸/OpenCode CLI 실행 권한과 네트워크 접근 허용
  • 또는 세 저장소를 현재 작업 디렉터리에 제공하고, 변경 가능한 설정 파일 범위를 지정

현재 권한으로는 위 계획과 명령 안내까지만 안전하게 제공할 수 있습니다.

More in this category

AI Agent Architect — Design Production-Ready Agents in 15 Steps
AI Agent Security Evaluation Checklist
AI Provider Research Expert
AI Trying to Escape the Box
Analyze code scanning security issues and dependency updates if vulnerable