AI-Assisted Programming for PhD Researchers
Helmut Schmidt University — September 2026
Pick the line for your system:
Then confirm it installed:
Key stored locally in OpenCode’s config — never committed to git.
opencode.json/undo reverts OpenCode’s last change; /redo puts it backgit diff to see it, git restore to revert it@path/to/file pulls a file into the conversationKeep it to what the agent needs to act:
data/raw is read-only”/init scans your repo and generates a first AGENTS.mdEach model has a hard limit on tokens it can hold at once:
| Text | Rough tokens |
|---|---|
| One page of prose | ~500 |
| A 500-line source file | ~6,000 |
| Our models’ full window | 128k–262k |
Plan what you load — do not pour the whole project in at once.
429 errors, stalled or truncated responsesTHE workflow of this course, four phases, each with a job:
Good opening prompts cost little and load the right context:
Exploring is cheap and fast — and it sets up everything after.
“The agent said so” is not verification. You are still the scientist of record.
In Lab 1 you meet the inherited script and put the loop to work:
/init, then trim itLecture III — First Steps with an Agent | Dr. Tobias Vlćek | Home