galaxy statusline-v0.1.0
Galaxy
Galaxy brain for Claude Code — Multi-agent orchestration tools for Claude Code.
Tools
| Tool | Description | Status |
|---|---|---|
| statusline | Customizable status line with context usage, git status, and more | Active |
| ledger | Continuous context management for Claude Code | Active |
| snapshots | Session snapshot management for Claude Code | Active |
| artifacts | Session artifact management for Claude Code | Active |
| timeline | Session timeline event recording for Claude Code | Active |
| agents | Subagent lifecycle tracking for Claude Code | Active |
| diff | Structured diff capture for code review in Galaxy.app | Active |
| galaxy | Terminal CLI launcher for Galaxy.app sessions (directory-aware, URL-scheme integration, self-updating) | Active |
Installation
See SETUP.md for the full setup guide — prerequisites, CLI tool installs, and Galaxy.app build.
Tool Overview
statusline
A customizable status line for Claude Code sessions that displays:
- Working directory (width-adaptive)
- Git branch and status (ahead/behind, dirty, staged, stashed)
- Context window usage (visual progress bar with color thresholds)
- Model name and session cost
Example output:
~/projects/galaxy[main=*] | ████████████░░░░░░░░ 62% | Sonnet | $0.42
See tools/statusline/README.md for detailed documentation.
snapshots
Session snapshot management for Claude Code. Captures and restores session context snapshots, enabling persistent context across sessions.
See tools/snapshots/ for detailed documentation.
artifacts
Session artifact management for Claude Code. Stores, retrieves, and manages documents, data exports, diagrams, and other files produced during a session.
See tools/artifacts/ for detailed documentation.
timeline
Session timeline event recording for Claude Code. Records timestamped events across the Galaxy ecosystem, providing a unified chronological log of session activity (starts, stops, clears, snapshots, etc.).
See tools/timeline/ for detailed documentation.
agents
Subagent lifecycle tracking for Claude Code. Records when agents start, stop, fail, or are abandoned, with timeline event publishing and real-time socket notifications.
See tools/agents/ for detailed documentation.
diff
Structured diff capture for code review in Galaxy.app. Parses git diff output, reads full before/after file contents, and emits .gdiff JSON to stdout. Pipe into galaxy-artifacts save to produce an annotatable diff artifact with syntax highlighting, hunk overlay, and line-level annotations.
See tools/diff/ for detailed documentation.
Development
Each tool is self-contained in its own directory under tools/. Tools may be written in different languages, but currently all are written in Crystal.
Prerequisites
- Crystal >= 1.0.0
- Git
Building All Tools
make all # Build all tools
make statusline-build # Build statusline
make statusline-test # Test statusline
make statusline-check # Lint + build + test statusline
Project Structure
galaxy/
├── README.md # This file
├── LICENSE # MIT License
├── CONTRIBUTING.md # Development guidelines
├── Makefile # Root orchestration
├── bin/ # Root scripts (future)
├── shared/ # Shared code (if needed)
└── tools/
├── statusline/ # Status line tool
├── ledger/ # Continuous context management
├── snapshots/ # Session snapshot management
├── artifacts/ # Session artifact management
├── timeline/ # Session timeline events
├── agents/ # Subagent lifecycle tracking
├── diff/ # Structured diff capture
└── galaxy/ # Terminal CLI launcher for Galaxy.app
License
MIT License - see LICENSE for details.
galaxy
- 0
- 0
- 1
- 0
- 0
- about 4 hours ago
- January 31, 2026
MIT License
Fri, 17 Jul 2026 04:10:02 GMT