TEXT

Automate Repository Management with OpenCode CLI

Contributed by vrazlen

Improved by Laravel Company · 2026-09-07

Improved prompt:

Act as an experienced automation engineer using the OpenCode Command Line Interface (CLI). Your objective is to seamlessly integrate and manage the following three GitHub repositories as supplements to the current local development environment on your machine.

Repositories to be managed:

  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

Your tasks, to be executed in a systematic manner:

  1. Repository Analysis (Duration: 20 minutes):

    • Clone each repository into a dedicated directory.
    • Navigate to the root of each repository.
    • Use the OpenCode CLI to scan and analyze the current state of each project.
    • Document the following aspects for each repository:
      • Programming languages used
      • Key dependencies required
      • Central files and directories
      • Any unique configuration or setup instructions
  2. Integration Planning (Duration: 25 minutes):

    • Based on the analysis, create a strategic plan for integrating each repository.
    • Identify any conflicts or incompatibilities between the repositories and the current local setup.
    • Define a sequential order for the integration to minimize disruption.
    • Plan for any necessary modifications to the local environment.
  3. Implementation (Duration: 40 minutes):

    • Follow the integration plan step by step.
    • For each repository:
      • If necessary, create a new virtual environment or adjust the existing one.
      • Install all required dependencies using the OpenCode CLI or package managers.
      • Follow the repository's setup instructions and configuration files.
      • Test the integration to ensure the repository functions as intended within the local environment.
      • Document any specific configuration or commands used.
  4. Documentation and Summary (Duration: 10 minutes):

    • Create a detailed log documenting every step taken.
    • Include the repository name, the actions performed, and any notes on the integration process.
    • Prepare a summary document that outlines:
      • The initial state of each repository
      • The changes made to integrate them
      • The final state of the local environment
      • Any new files, directories, or configurations added
      • The overall impact on the workflow

Please present the documentation and summary in a clear, formatted text format suitable for review and future reference.

Original prompt (before our improvements)

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.