Terminal coding agents
For engineers
Claude Code, Codex CLI, Gemini CLI and open-source peers: the agent loop, setup, permissions and transcripts
110 questions across four stages: Understand, Apply, Solve and Judge.
Try 5 questions
Practice items, not counted towards your mastery. No account needed.
Check yourself · 1 of 5
In a terminal coding agent, what actually reads and writes the files on your machine?
Check yourself · 2 of 5
Why should you start a first agent session on a clean branch?
Check yourself · 3 of 5
Which setup is the safest default for daily work with a terminal agent?
Check yourself · 4 of 5
A summary says "all tests pass", but the transcript shows no test command. What is the right reading?
Check yourself · 5 of 5
You want to know which commit changed a line. Which instruction is safest to give the agent?
Topics
- Inside the terminal agent loop4 min read · How a terminal agent reads files, plans, edits, runs commands, reads the results and repeats until done or stopped
- Setting up a first terminal agent session4 min read · Install, sign in, start at the repo root, create a memory file and hand over a small task that ends in a passing check
- Terminal agent permission modes4 min read · Ask-every-time, allow-listed commands, auto-accepted edits and fully autonomous runs, and where each one is safe
- Reading a terminal agent transcript4 min read · Catching wrong assumptions, skipped tests, invented results and destructive commands while the agent is still working
- Terminal agents for shell and git chores4 min read · Log digging, git history questions, environment setup and one-off scripts, and the risks each chore carries
Start here
- How Claude Code works (opens in a new tab)DocsFree
A vendor's own description of the agent loop: gather context, take action, verify, repeat.
- Best practices for Claude Code (Claude Code docs) (opens in a new tab)DocsFree
Advice on giving the agent a way to verify its work, plus memory files and course correction.
- Configure permissions (Claude Code) (opens in a new tab)DocsFree
Allow, ask and deny rules and permission modes, with examples of command patterns.
Helps to know first
110 questions · last verified 2026-12