Skip to content
క
kagitha
/
quiz
/
opencode-tutorial
Subscribe
Index
⌘K
AI NOTEBOOK · QUIZ 16 · BEGINNER
Using OpenCode, step by step
QUESTION 01 / 06
You want OpenCode to suggest an approach without changing your project files. Which agent do you use?
A
Build
B
Plan
C
General
D
Reviewer
SCORE SO FAR · 0 / 0
Share this quiz ↗
You want OpenCode to suggest an approach without changing your project files. Which agent do you use?
— Plan. Plan looks around and proposes steps without editing your project files. Switch to Build with Shift+Tab when you're ready for the changes.
Which key cycles between OpenCode's agents?
— Shift+Tab. Shift+Tab cycles agents. F2 cycles recently used models, and /agents opens the agent list.
Out of the box, what does OpenCode 2 do before editing files or running commands?
— Mostly just does it. The default policy allows almost everything; reading .env files is the main thing it asks about. Add permission rules with effect ask to review each step while you learn.
You don't like the changes OpenCode just made. What is the quickest way back?
— /undo. /undo reverts your last message and the work that followed, and puts your message back so you can reword it. /redo restores it.
Where does OpenCode read your project's rules, like how to build and test?
— AGENTS.md. AGENTS.md in the project folder is loaded at the start of every session. Keep it short, because every line is sent with every step.
In a permission list, a broad "ask" rule for shell comes first and an "allow" rule for git diff comes after. What happens when OpenCode runs git diff?
— It is allowed without asking. The last matching rule wins, so the specific allow rule placed after the broad ask rule decides.
kagitha
Close
✕
Search everything — articles, videos, chapters, agents, books
01
AI
02
Java
03
System Design
04
Series
05
Manga
06
The Lab
07
Videos
08
Quizzes
09
Books
10
Resume