ariel-frischer

Claude Clean — Development skill for Claude Code

Development community

Beautiful terminal parser for Claude Code's streaming JSON output.

How to install Claude Clean

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

What Claude Clean does

Beautiful terminal parser for Claude Code's streaming JSON output.

Alternatives in Development

  • Clean Worktree (Interactive) — Interactive cleanup of worktrees: lists merged/stale branches and asks confirmation before deleting 25.5k ★
  • System Cache Cleanup — Clean temporary files and caches to free disk space: $ARGUMENTS 23.4k ★
  • Jupyter Notebook — Create clean, reproducible Jupyter notebooks for experiments and tutorials 14.6k ★

README

🧹 Claude Clean

[![CI](https://github.com/ariel-frischer/claude-clean/actions/workflows/release.yml/badge.svg)](https://github.com/ariel-frischer/claude-clean/actions) [![Release](https://img.shields.io/github/v/release/ariel-frischer/claude-clean)](https://github.com/ariel-frischer/claude-clean/releases) [![Go Version](https://img.shields.io/badge/Go-1.24+-00ADD8?logo=go)](https://go.dev/) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

**Transform messy Claude Code JSON logs into beautiful terminal output.** ✨


⚡ Quick Start

Install:

curl -fsSL https://raw.githubusercontent.com/ariel-frischer/claude-clean/main/install.sh | sh

Use it:

claude -p "your prompt" --verbose --output-format stream-json | cclean

That's it! 🎉


🤔 Why?

Claude Code's `stream-json` output is **unreadable**:

{"type":"assistant","message":{"content":[{"type":"text","text":"Hello!"}],"usage":{"input_tokens":150,"output_tokens":45}}}

With `cclean`, you get **beautiful output** in multiple styles:

**Default** (`-s default`) — boxed with box-drawing characters:

┌─ SYSTEM [init]
│ Model: claude-sonnet-4-20250514
│ Claude Code: v1.0.12
│ Tools: 12 available
└─

┌─ ASSISTANT
│ I'll check the project structure first.
└─

┌─ TOOL: Bash
│ Input:
│   command: ls src/
└─

┌─ TOOL RESULT
│ index.ts
│ utils.ts
│ config.ts
└─

┌─ ASSISTANT
│ Found the source files. Let me read the config.
└─

┌─ TOOL: Read
│ Input:
│   file_path: src/config.ts
└─

┌─ RESULT: SUCCESS
│ Turns: 4
│ Duration: 12.35s (API: 8.21s)
│ Cost: $0.0142
│ Tokens: in=1250 out=380
└─

**Compact** (`-s compact`) — single-line summaries for quick scanning:

AST Hello! I can help you with that.
TOOL[Bash] echo "hello world"
RES hello world

**Minimal** (`-s minimal`) — clean and readable, no box-drawing:

ASSISTANT
  Hello! I can help you with that.

TOOL USE [Bash]
  echo "hello world"

**Plain** (