# M01 Lab — OpenCode Quick Reference

## First-Time Setup
```bash
# Set your provider
export OPENCODE_API_KEY="your-api-key-here"

# Set your API key
export ANTHROPIC_API_KEY="sk-ant-..."    # or OPENAI_API_KEY, GOOGLE_API_KEY
export OPENCODE_API_KEY="your-api-key-here"
```

## Common Commands
```bash
# One-shot task — run a prompt and see the result
opencode run "your prompt here"

# Interactive session — multi-turn conversation with code context
opencode

# Check current config
```

## Tips for This Lab
- `opencode run` is best for Exercises 1 and 4 (one-shot tasks)
- The exercises are about *thinking*, not just prompting — spend time on classification
- If a response is off, refine your prompt — that's the skill (Module 2)
