haowang02

Agent Session Cleaner — Design skill for Claude Code

Design community

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.

Latest release CI status Platforms: macOS, Linux, and Windows MIT License

English · 简体中文

![Interface preview](./assets/screenshots/example.png)

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