opencodelisted
Install: claude install-skill darshitpp/x-agent
# Cross-Agent Task Runner — OpenCode CLI
## Procedures
**Step 1: Self-Call Detection**
1. Check for `OPENCODE` environment variable, or `opencode` in process ancestry.
2. If detected, stop and inform the user:
"Cannot invoke OpenCode from within OpenCode. Use a different target CLI."
**Step 2: Execute Shared Procedure**
1. Read `references/shared-procedure.md` for the core workflow
(mode inference, context gathering, prompt construction, result presentation).
2. Read `references/cli-opencode.md` for OpenCode-specific flags, model selection
heuristics, and version compatibility matrix.
3. Follow the shared procedure using the OpenCode-specific details.