Quick Start
Get up and running with ctxloom in minutes.
What ctxloom Does
| 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% |
Initialize Your Project
# Create .ctxloom directory in your projectctxloom init
# Or create a global config at ~/.ctxloomctxloom init --homeBrowse Available Content
After initialization, explore what’s available:
List Fragments
# List all fragments from installed bundlesctxloom fragment list
# Filter by bundlectxloom fragment list --bundle go-developmentExample output:
BUNDLE FRAGMENT TAGSgo-development error-handling [golang, patterns]go-development testing [golang, testing]go-development project-structure [golang, organization]security owasp-top-10 [security, web]View Fragment Content
# Show a specific fragmentctxloom fragment show go-development#fragments/testing
# Show the distilled (compressed) versionctxloom fragment show go-development#fragments/testing --distilledList Prompts (Slash Commands)
# List all promptsctxloom prompt list
# Filter by bundlectxloom prompt list --bundle my-toolsExample output:
BUNDLE PROMPT DESCRIPTIONmy-tools code-review Review code for issuesmy-tools refactor Suggest refactoring improvementscore commit Generate commit messageView Prompt Content
# Show a specific promptctxloom prompt show my-tools#prompts/code-reviewRun with Context
# Include fragments when running AIctxloom run -f go-development "Help me with this code"
# Combine multiple fragmentsctxloom run -f go-development -f testing-patterns -f security \ "implement user authentication with tests"
# Use a profile (pre-configured fragment set)ctxloom run -p backend-developer "review this PR"
# Preview what context would be sentctxloom run -f go-development --dry-run --printUse Slash Commands
Prompts 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.goDiscover Community Bundles
# Find ctxloom repositories on GitHub/GitLabctxloom remote discover golang
# Add a remotectxloom remote add community alice/ctxloom-golang
# Browse remote contentctxloom remote browse community
# Use remote content directlyctxloom run -f community/go-testing "help with tests"
# Or install locallyctxloom fragment install community/go-testingNext Steps
- Authoring Bundles - Create your own bundles
- Session Memory - Preserve context across sessions
- Discovery - Find community bundles
- Profiles - Save common fragment combinations