Save Hours Per Week
Write context once, reuse across all sessions. Stop re-explaining your coding standards.
Save Hours Per Week
Write context once, reuse across all sessions. Stop re-explaining your coding standards.
Consistent Across Projects
Store your standards in a git repo, pull into any project.
Share Across Teams
Shared remotes for org standards, personal remotes for yours.
Multi-LLM Support
Write once, run everywhere. Same context works with Claude Code, Gemini CLI, and more.
| Capability | Description |
|---|---|
| Context Assembly | Combine fragments into profiles, inject into Claude/Gemini via MCP |
| Slash Commands | Prompts become /commands in Claude Code and Gemini automatically |
| Session Memory | Persist context across /clear, recover seamlessly |
| Remote Sync | Pull bundles from GitHub/GitLab, lockfile for reproducibility |
| Token Optimization | AST-aware distillation compresses code/prose 70-90% |
# Initializectxloom init
# Run with context fragmentsctxloom run -f go-development -f security "implement auth"
# Use a profile (pre-configured fragment set)ctxloom run -p backend-developer "review this PR"
# Pull from remotectxloom fragment install ctxloom-main/testingPrompts in bundles become slash commands in Claude Code and Gemini CLI:
prompts: code-review: description: "Review code for issues" content: | Review this code for: - Security vulnerabilities - Performance issues - Best practice violationsThen in your AI CLI:
/code-review src/auth.goClaude Code’s /compact has a fundamental flaw: it needs context space to run, but you only think to use it when context is almost full. You try /compact, it fails, and you’re stuck.
ctxloom works after exhaustion:
/clear when you hit context limits/recover distills the previous session from disk# When you hit context limits/clear/recoverctxloom reads the raw JSONL transcript from disk and uses a separate LLM (default: Haiku) to distill it - operating outside your exhausted context window.
ctxloom includes built-in commands:
/recover - Recover context from previous session after /clear/loadctx - Browse and load from any recent sessionflowchart LR
Bundles["Bundles<br/>(fragments)"] --> Profiles["Profiles<br/>(combos)"]
Profiles --> Context["Context<br/>(assembled)"]
Bundles --> Remotes["Remotes<br/>(GitHub/GL)"]
Context --> AI["Claude/Gemini<br/>(via MCP)"]
| Concept | What It Is |
|---|---|
| Fragment | A piece of context (guidelines, patterns, examples) |
| Prompt | A saved prompt template, exposed as a slash command |
| Bundle | A versioned YAML containing fragments + prompts + MCP servers |
| Profile | A named configuration referencing bundles/tags |
| Remote | A GitHub/GitLab repository containing bundles |
macOS / Linux:
curl -fsSL https://raw.githubusercontent.com/ctxloom/ctxloom/main/scripts/install.sh | bashWindows (PowerShell):
irm https://raw.githubusercontent.com/ctxloom/ctxloom/main/scripts/install.ps1 | iexMore options (manual download, build from source, security verification)
# Standalone (wraps Claude/Gemini)ctxloom run -p developer "help with code"
# As MCP server (integrate with existing Claude Code)ctxloom mcp servedefaults: llm_plugin: claude-code profiles: - ctxloom-main/go-developerInstallation
Quick Start
Bundles
Session Memory