Ccat banner
nwiizo nwiizo

Ccat

Development community

Description

CLAUDE.md Context Analyzer - A comprehensive tool for analyzing and managing Claude Code memory files

Installation

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

README

ccat - CLAUDE.md Context Analyzer

[!IMPORTANT] **Archived / アーカイブ済み**

I no longer use or actively maintain this project, so this repository is archived. If you would like to take over maintenance or continue the project, please DM [@nwiizo on X](https://x.com/nwiizo).

現在、作者はこのツールを利用しておらず、積極的な保守も行っていないため、本リポジトリをアーカイブしました。保守を引き継ぎたい方・継続して活用したい方は、X の [@nwiizo](https://x.com/nwiizo) まで DM でご連絡ください。

A comprehensive command-line tool for analyzing and managing Claude Code memory files (CLAUDE.md).

Features

  • 🔍 Smart File Discovery: Automatically finds CLAUDE.md files in user, project, and subdirectory locations
  • 📊 Multiple Output Formats: Text, JSON, Tree view, and raw output
  • 🔗 Import Resolution: Tracks and validates import chains between memory files
  • 🏥 Diagnostics: Detects issues like circular imports, missing files, and large contexts
  • 🔎 Context Search: Search within memory files with regex support
  • 📦 Export Capabilities: Export contexts to various formats (Markdown, JSON, HTML, PDF)
  • 🔧 Claude Code Integration: Direct integration with Claude Code for automated fixes

Installation

From crates.io (Recommended)

cargo install ccat

From source

git clone https://github.com/nwiizo/ccat.git
cd ccat
cargo install --path .

From GitHub releases

Download the latest binary from the [releases page](https://github.com/nwiizo/ccat/releases).

Usage

Basic Commands

# Show memory files in current directory
ccat

# Show memory files with tree view
ccat show -f tree

# Include subdirectories
ccat show -s

# Show only specific types
ccat show -t project,user

# Run diagnostics
ccat diagnose

# Search for patterns
ccat search "TODO"

# Initialize new CLAUDE.md
ccat init

Advanced Usage

# Show with metadata
ccat show --show-metadata

# Export to JSON
ccat export -f json -o context.json

# Watch for changes
ccat watch --notify

# Validate with strict rule