fix: remove agent: Onboarding from /onboarding command frontmatter#709
Conversation
The /onboarding command had 'agent: Onboarding' in its YAML frontmatter, causing OpenCode to try switching to the Onboarding agent on first run. Since generate-opencode-agents.sh hasn't run yet on fresh installs, the Onboarding agent doesn't exist, producing 'Agent not found' errors. Remove the agent directive so /onboarding runs on the current default agent (Build+), which is always available.
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🔍 Code Quality Report�[0;35m[MONITOR]�[0m Code Review Monitoring Report �[0;34m[INFO]�[0m Latest Quality Status: �[0;34m[INFO]�[0m Recent monitoring activity: 📈 Current Quality Metrics
Generated on: Mon Feb 9 02:00:33 UTC 2026 Generated by AI DevOps Framework Code Review Monitoring |
|



Summary
agent: Onboardingfrom the/onboardingcommand YAML frontmatter ingenerate-opencode-commands.shgenerate-opencode-agents.shwhich writes toopencode.json), causing "Agent not found" errors when OpenCode processes the/onboardingcommandRoot Cause
The
/onboardingcommand file written to~/.config/opencode/command/onboarding.mdcontained:When OpenCode reads this frontmatter, it tries to switch to the "Onboarding" agent — which only exists after
generate-opencode-agents.shhas run and written agent config intoopencode.json. On first run, that file doesn't exist.Related PRs
--agent "Onboarding"flag from opencode launch commandTesting
bash tests/test-vm-setup.sh --branch bugfix/onboarding-command-agent-frontmatter