Portable OpenCode + Codex setup inspired by my-claude-setup.
This repository is a practical starter for:
- reusable agents
- structured skills
- workspace-aware project context
- session handover workflow
- command-style execution playbooks
git clone https://github.com/<you>/my-opencode-codex-setup.git ~/Development/my-opencode-codex-setup
cd ~/Development/my-opencode-codex-setup
chmod +x install.sh
./install.shThis setup supports optional profiles:
core(stable) - default practical setupcouncil-lite(beta) - lightweight advanced orchestration layer (commands/council-lite.md)council-research(experimental) - early availability research mode under active battle testing
Common commands:
# list available profiles
./install.sh --list-profiles
# show enabled/disabled profiles and state location
./install.sh --status
# set exact profiles (dependencies auto-added)
./install.sh --profiles core,council-lite
# choose conflict behavior when target paths already exist
./install.sh --conflict-policy fail --profiles core,council-lite
./install.sh --conflict-policy skip --profiles core,council-lite
# enable or disable one profile
./install.sh --enable-profile council-lite
./install.sh --disable-profile council-lite
# start a council-lite session scaffold
./scripts/council-lite.sh run "Design safe billing webhooks"
./scripts/council-lite.sh list
./scripts/validate-council-lite.sh --latestProfile state is persisted at:
~/.config/opencode/profiles-enabled.json
For profile adoption guidance, see docs/profiles.md.
install.sh creates symlinks into ~/.config/opencode/ so edits in this repo apply immediately.
If a managed target path already exists and is not a symlink, install fails by default.
Use --conflict-policy skip to leave conflicting paths untouched and continue linking non-conflicting paths.
./install.sh --uninstall removes managed symlinks and profile state.
my-opencode-codex-setup/
├── agents/ # OpenCode agent prompt files
├── skills/ # Structured skill templates
├── commands/ # Reusable command/workflow prompts
├── scripts/ # Helper scripts (handover, workspace detection)
├── workspaces/ # Project-specific context templates
├── config/ # OpenCode config examples
├── docs/ # Migration and architecture notes
├── profiles/ # Optional profile metadata and manifests
├── install.sh
├── CONTRIBUTING.md
└── LICENSE
See docs/roadmap.md.
scripts/handover.sh- create a session handover documentscripts/git-porcelain.sh- status/save/sync/branch/pr helperscripts/ops-check.sh- stack-aware quality gate checksscripts/issue-pr-loop.sh- issue to branch to draft PR flowscripts/council-lite.sh- lightweight multi-agent session scaffoldscripts/validate-council-lite.sh- council-lite artifact structure validatorscripts/share-templates.sh- copy DM/Discord onboarding templates to clipboard
See docs/workflows-playbook.md for usage patterns.
Use docs/gpt53-opencode-playbook.md as the default runbook for GPT-5.3 + OpenCode execution to reduce rework.
- community templates in
.github/ SECURITY.mdandCODE_OF_CONDUCT.md- practical usage examples in
examples/ - release checklist in
docs/release-checklist.md - launch checklist in
docs/open-source-launch.md - friend outreach message in
docs/friend-outreach-template.md - onboarding feedback channels in
docs/onboarding-feedback.md