jimmyliao

Lazyaicli — AI skill for Claude Code

AI community

Browse & resume your AI coding CLI sessions from the terminal — Claude Code, Antigravity (agy) & Codex.

How to install Lazyaicli

This entry records only its repository, not the path inside it, so there is no exact command to give. Open jimmyliao/lazyaicli and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Lazyaicli does

Browse & resume your AI coding CLI sessions from the terminal — Claude Code, Antigravity (agy) & Codex. Pick one, jump straight back in (and into its directory). Cross-platform, fzf, en/zh.

Alternatives in AI

  • Swift Agent Skills — A curated directory of open-source AI agent skills for Swift and Apple platform development 1.5k ★
  • Session Kit — Close the terminal windows, not the AI coding sessions 649 ★
  • MioIsland — macOS Dynamic Island for AI coding agents 388 ★

README

lazyaicli

Browse and resume your AI coding CLI sessions from the terminal — pick one, jump straight back into it (and back into its directory).

在終端機列出、跳回你的 AI coding CLI session —— 挑一個,直接還原(連工作目錄一起回去)。

**繁體中文 | English** · MIT License

**lazyaicli** is the project; it ships four commands, one per tool, sharing one engine. Each name is just ` Sessions`:

  • ccs — Claude Code Sessions (~/.claude/projects)
  • ags — Antigravity Sessions · agy (~/.gemini/antigravity-cli/conversations)
  • cxs — Codex Sessions (~/.codex/sessions)
  • ops — Oh My Pi Sessions (~/.omp/agent/sessions)

Same UX everywhere — list → pick → `cd` → resume. Adding a tool is one adapter.


Why / 為什麼

Terminal AI coding agents write a session per project, but resuming the *right* one means remembering a long id and `cd`-ing to the right folder. On an ephemeral / preemptible cloud box, a reboot wipes your terminal and you restore them by hand.

終端機 AI coding agent 每個專案存一個 session,但要還原「對的那個」得記一長串 id、再 `cd` 回對的目錄。在會被回收的雲端機(Spot/preemptible)上,重開機後還得手動一個個救回來。

`ccs` lists every session with its **title / last prompt / directory / age**, lets you pick with `fzf`, then `cd`s into that session's directory and resumes it.


Demo

$ ccs -l
 3)  2d ago  [Fix login redirect bug]   ~/projects/web-app   ↳ the session cookie isn't set on the callback route
 2)  5h ago  [Refactor payment module]  ~/projects/api       ↳ extract the stripe client into its own module
 1)  3m ago  [Write auth unit tests]    ~/projects/web-app   ↳ add coverage for the middleware

$ ccs            # interactive fzf picker → cd + resume
$ ccs auth       # resume the session matching "auth"

Newest is listed at the **bottom** (closest to your prompt); `1)` is always the most recent.


Requirements / 需求

  • At least one supported CLI — Claude Code, Antigravity (agy), Codex, and/or Oh My Pi (omp). Each is optional;