Agent Session Cleaner — Design skill for Claude Code
A fast, keyboard-driven terminal UI for browsing, resuming, archiving, and cleaning up your Codex, Claude Code, OpenCode, and Pi sessions.
How to install Agent Session Cleaner
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open haowang02/agent-session-cleaner and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Session Cleaner does
A fast, keyboard-driven terminal UI for browsing, resuming, archiving, and cleaning up your Codex, Claude Code, OpenCode, and Pi sessions.
Alternatives in Design
- Companion — 2,200+ Web & mobile UI for Claude Code & Codex 2.2k ★
- Ovis — Ovis (formerly herdr web UI): free, open-source browser and phone client for herdr 1.4k ★
- Claude Run — A beautiful web UI for browsing Claude Code conversation history 557 ★
README
agent-session-cleaner
Browse, resume, and clean up all your Codex, Claude Code, OpenCode, and Pi sessions from one terminal.
English · 简体中文

Install
Install or update on macOS and Linux:
curl -LsSf https://raw.githubusercontent.com/haowang02/agent-session-cleaner/main/install.sh | sh
Install or update on Windows from PowerShell:
powershell -ExecutionPolicy Bypass -c "irm https://raw.githubusercontent.com/haowang02/agent-session-cleaner/main/install.ps1 | iex"
The Windows installer adds `%LOCALAPPDATA%\Programs\agent-session-cleaner\bin` to your user `PATH`. Open a new terminal after the first install.
Usage
asc
# The full command name agent-session-cleaner is also available.
Run without arguments to choose an agent, or name one directly:
asc codex
asc claude
asc opencode
asc pi
By default, the app uses `$CODEX_HOME` or `~/.codex` for Codex, `$CLAUDE_CONFIG_DIR` or `~/.claude` for Claude Code, `$XDG_DATA_HOME/opencode` or `~/.local/share/opencode` for OpenCode, and `$PI_CODING_AGENT_DIR` or `~/.pi/agent` for Pi. On Windows, `~` is your user profile directory. To over
Related Skills
Ccsessions
Terminal UI for browsing, previewing, resuming and managing Claude Code sessions
Agent Session Viewer
A pure python solution to view sessions, memory and prompt history in a web ui from claude code cli, codex cli
Session Steward
Claude Code and Codex session manager. Browse sessions, back up, and safely delete old ones — from a local bro
Claude Session Manager
List and instantly reopen any Claude Code conversation across all your folders — CLI, web UI, and desktop app.
TermHive
Human-driven multi-agent dashboard for Claude Code, Codex, Gemini & OpenCode. Web UI, project wiki, shared con
Box
Box — self-hosted Claude Code in your pocket. Run real Claude Code & Codex sessions on your own server, driven
Related Agents
Agent Of Empires
Claude Code, OpenCode, Mistral Vibe, Codex CLI, Gemini CLI Coding Agent Terminal Session manager via tmux and
Session Error Analyzer
Analyzes specific AI IDE sessions (Claude Code, OpenAI Codex, OpenCode) for LLM behavior errors and returns a
Manage
Manage the complete track lifecycle including archiving, restoring, deleting, renaming, and cleaning... - wsho