ago reads your local Codex and Claude history, ranks every project by frecency, and relaunches the right CLI in one keystroke — or resumes the exact session you left open.
npm i -g ago-cli
ago · or npx ago-cli
Projects sort by frequency × recency, so the repos you live in stay on top — not whatever you touched once yesterday.
ago - (alias --last) reopens your last project + CLI with zero menus. Graceful fallback to the list if it's gone.
The CLI menu can resume the exact session id — claude --resume / codex resume — right where you left off.
Claude history, fixed. Recent Claude Code stopped writing sessions-index.json, so ago was silently dropping every Claude project. v0.1.0 now reads ~/.claude/history.jsonl plus the newest transcript per project for the true cwd, with the old index kept as a legacy fallback.
Reads ~/.codex and ~/.claude from three sources, deduped by session id — one clean list across both platforms.
ago -n agent jumps straight to a match. A single hit skips the picker entirely.
Recommends the CLI you ran last for that project. Used both? It picks the most recent.
Default view hides dead paths. ago -al reveals every record, missing ones marked.
-c "…" opens the project and seeds codex or claude with your first prompt.
Works out of the box. Optional ~/.ago/config.json sets roots and tool preference.