Skip to main content
Prompts OpenCode CLI Repo Integrator

model tool_use user risk: high

OpenCode CLI Repo Integrator

The prompt directs the model to act as an automation specialist using OpenCode CLI to scan three specified GitHub repositories, plan their integration into the local machine enviro…

  • Policy sensitive
  • Human review
  • External action: high

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.

REQUIRED CONTEXT

  • repository URLs

ROLES & RULES

Role assignments

  • Act as an automation specialist using OpenCode CLI.
  1. Scan each repository to analyze its current state.
  2. Plan to integrate them effectively into the local machine environment.
  3. Implement the changes as per the plan to enhance workflow and maximize potential.
  4. Ensure each step is documented.
  5. Provide a summary of the actions taken.

EXPECTED OUTPUT

Format
structured_report
Constraints
  • each step documented
  • provide summary

SUCCESS CRITERIA

  • Scan each repository to analyze its current state.
  • Plan to integrate repositories into local environment.
  • Implement changes to enhance workflow.
  • Document each step.
  • Provide summary of actions taken.

FAILURE MODES

  • May attempt real modifications to local environment which is impossible.
  • May not handle repository access or compatibility issues.
  • Assumes availability of OpenCode CLI locally.

CAVEATS

Dependencies
  • https://github.com/code-yeongyu/oh-my-opencode.git
  • https://github.com/numman-ali/opencode-openai-codex-auth.git
  • https://github.com/NoeFabris/opencode-antigravity-auth.git
  • Current local machine environment
  • OpenCode CLI
Missing context
  • Definition or documentation for OpenCode CLI.
  • Details on the current local environment (e.g., OS, existing setup).
  • Specific goals or success criteria for integration.
  • Constraints like permissions or compatibility requirements.
Ambiguities
  • What is OpenCode CLI?
  • What is the 'current local environment'?
  • What does 'integrate effectively' entail specifically?
  • 'Enhance workflow and maximize potential' is vague.

QUALITY

OVERALL
0.50
CLARITY
0.80
SPECIFICITY
0.60
REUSABILITY
0.20
COMPLETENESS
0.50

IMPROVEMENT SUGGESTIONS

  • Replace hardcoded repository URLs with placeholders (e.g., {repo_urls}) for reusability.
  • Add a brief explanation or link to OpenCode CLI documentation.
  • Specify the local environment and desired integration outcomes.
  • Define a structured output format for documentation and summary.
  • Include examples of expected integration steps.

USAGE

Copy the prompt above and paste it into your AI of choice — Claude, ChatGPT, Gemini, or anywhere else you're working. Replace any placeholder sections with your own context, then ask for the output.

MORE FOR MODEL