Skip to content
mentoor

Terminal coding agents

For engineers

Claude Code, Codex CLI, Gemini CLI and open-source peers: the agent loop, setup, permissions and transcripts

See where you stand

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?

Choose one answer

Check yourself · 2 of 5

Why should you start a first agent session on a clean branch?

Choose one answer

Check yourself · 3 of 5

Which setup is the safest default for daily work with a terminal agent?

Choose one answer

Check yourself · 4 of 5

A summary says "all tests pass", but the transcript shows no test command. What is the right reading?

Choose one answer

Check yourself · 5 of 5

You want to know which commit changed a line. Which instruction is safest to give the agent?

Choose one answer

Topics

  1. 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
  2. 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
  3. 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
  4. Reading a terminal agent transcript4 min read · Catching wrong assumptions, skipped tests, invented results and destructive commands while the agent is still working
  5. 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

110 questions · last verified 2026-12