# Ctrlb Decompose

> LLM-ready reasoning surface over logs.

- **Website:** https://github.com/ctrlb-hq/ctrlb-decompose
- **Pricing:** unknown
- **Categories:** Developer Tools, Research
- **Tags:** developer-tools, research, design
- **Platforms:** Web, macOS, CLI
- **Last verified:** 2026-09-10
- **Canonical page:** https://linkrena.com/tools/ctrlb-decompose

## About

Turn millions of noisy log lines into compact patterns with typed variables, quantiles, anomalies, and LLM-ready output.

Runs as a CLI, in the browser via WASM, or as a Rust library — no logs ever leave your machine.

No install, no signup — the whole pipeline (CLP encoding, Drain3 clustering, typing, stats) runs client-side in WebAssembly.

The Drain algorithm builds a prefix tree over logtypes and groups them by token similarity (configurable threshold, default 0.4). Where tokens diverge, the template gains a <*> wildcard. This runs incrementally — each line is processed once with no second pass.

Compact, token-efficient markdown designed to be pasted straight into a prompt — see the LLM OPTIMIZE screenshot above for a full real-world example against a 56K-line log.

Use ctrlb-decompose directly from Claude Code — no CLI knowledge needed. The plugin installs ctrlb-decompose automatically and lets you analyze logs just by asking.

Claude will check if ctrlb-decompose is installed (and walk you through installation if not), run the analysis, and explain the results — surfacing errors first, calling out anomalies, and suggesting what to investigate next.

## Related tools

- [Ebm Lens](https://linkrena.com/tools/ebm-lens): Agentic RAG pipeline for biomedical evidence discovery: query planning and multi-round search across twelve public databases plus citation-graph expansion, ran…
- [Collections](https://linkrena.com/tools/collections): Drag links, text and images from any page into a side panel and keep them in collections for a trip, a purchase, a project.
- [Flint](https://linkrena.com/tools/flint): A self-hosted, continuously learning market model with a live dashboard, an on-device LLM brief, and an investor council overlay.
- [Cerebras Inference](https://linkrena.com/tools/cerebras-inference): Browse all models available on Cerebras public endpoints.
- [Gizmodo](https://linkrena.com/tools/gizmodo): Two recent studies have suggested that GLP-1 drugs can reduce the occurrence or severity of certain infections.
- [FrameThrower](https://linkrena.com/tools/framethrower): Search the world’s largest film-still library for movie screenshots and cinematography references, learn from lighting and composition, and build lookbooks for 
