ICOA CLI v2.5 — Quick Reference
==============================

MODES (selected on first run)
  National Selection     Lightweight exam-only mode
  International Olympiad Full CTF competition mode
  Organizer              Partner management mode
  setup → Switch Mode    Change mode anytime

GETTING STARTED
  join <url>             Connect to server
  activate <token>       Unlock (Olympiad mode only)
  env                    Check tool environment (Olympiad only)
  help                   Show all commands

COMPETITION
  challenges (ch)        List all challenges
  open <id>              View challenge details
  submit <id> <flag>     Submit a flag
  scoreboard (sb)        View rankings
  status                 Hint budget, score, rank, time
  time                   Competition countdown

EXAM (National Selection)
  exam list              Available exams for your country
  exam start <id>        Begin exam (starts timer)
  exam q [n]             View question n (or all)
  exam answer <n> <A-D>  Answer question n
  exam review            Review all answers
  exam submit            Submit for grading
  exam result            View your score

AI HINTS
  hint <question>        Level A — General guidance (50 uses)
  hint-b <question>      Level B — Deep analysis (10 uses)
  hint-c <question>      Level C — Critical assist (2 uses)
  hint budget            Show remaining budget

TOOLS
  ref <topic>            Quick reference (38 topics)
  files <id>             Download challenge files
  connect <id>           Connect to remote target
  note <text>            Personal notepad
  log                    Session history
  log stats              Session statistics
  log export             Export audit trail (JSON)

SYSTEM COMMANDS
  python solve.py        Run Python (forced to 3.12.13)
  nano solve.py          Edit files
  gcc -o pwn pwn.c       Compile code
  Any Linux command      Runs in ~/icoa-workspace/

SETTINGS
  setup                  Configure API keys
  lang <code>            Switch language (en/zh/ja/ko/es)
  clear                  Clear screen
  exit                   Save session & quit

SHORTCUTS
  ch = challenges
  sb = scoreboard
  flag = submit

TIPS
  - Use 'open <id>' before 'hint' to set challenge context
  - Level A hints are cheap — use freely for direction
  - Level C hints require confirmation — use wisely
  - All commands are logged for audit
  - python/python3 always uses Python 3.12.13
  - System commands run in ~/icoa-workspace/ (sandboxed)
  - Use 'ref <topic>' for zero-cost tool references
