Reusable profile set for OpenCode and oh-my-opencode.
git clone https://github.com/htkr/opencode-agent-profiles.git ~/project/opencode-agent-profiles
cd ~/project/opencode-agent-profiles
# Apply profile config files to ~/.config/opencode
node profiles/generate-configs.mjs
profiles/switch-profile.sh ohmyUse this when you want /home/htk/project/test/docs to always reflect this repository.
rm -rf /home/htk/project/test/docs
ln -s /home/htk/project/opencode-agent-profiles/docs /home/htk/project/test/docsVerify:
ls -l /home/htk/project/testExpected output includes:
docs -> /home/htk/project/opencode-agent-profiles/docs
profiles/model-tiers.json: single source of truth for Tier-to-model mappingprofiles/subagent-registry.json: agent role/tier/profile registryprofiles/generate-configs.mjs: regenerates profile configs from Tier and registryprofiles/switch-profile.sh: appliesohmyorvanillaprofile to~/.config/opencodeprofiles/ohmy/*: generated profile for oh-my-opencodeprofiles/vanilla/*: generated profile for OpenCode onlydocs/*: shared docs moved from/home/htk/project/test/docs
Subagent docs:
docs/subagent-management-guide.mddocs/subagent-usage-guide.md
node profiles/generate-configs.mjs
profiles/switch-profile.sh ohmy
profiles/switch-profile.sh vanillaIf you use the shell helper in ~/.bashrc, you can run:
ocm status
ocm
ocm ohmy
ocm vanilla
ocm regen