Discovering Remote Repositories
ctxloom can search GitHub and GitLab to find repositories containing bundles and profiles you can use.
Quick Start
# Find all public ctxloom repositoriesctxloom remote discover
# Search with a keywordctxloom remote discover golang
# Filter by minimum starsctxloom remote discover --stars 10How Discovery Works
ctxloom searches for repositories named ctxloom or starting with ctxloom- on GitHub and GitLab. It validates that discovered repositories have the proper ctxloom/v1/ structure before showing them.
Search Sources
# Search both GitHub and GitLab (default)ctxloom remote discover
# GitHub onlyctxloom remote discover --source github
# GitLab onlyctxloom remote discover --source gitlabFiltering Results
# Keyword search (matches description and topics)ctxloom remote discover python
# Minimum star countctxloom remote discover --stars 5
# Limit results per sourcectxloom remote discover --limit 10
# Combine filtersctxloom remote discover security --source github --stars 10 --limit 20Command Reference
ctxloom remote discover [query] [flags]Flags
| Flag | Short | Default | Description |
|---|---|---|---|
--source | -s | all | Search source: github, gitlab, or all |
--stars | 0 | Minimum star count filter | |
--limit | -n | 30 | Maximum results per source |
Interactive Workflow
When you run ctxloom remote discover, the results are displayed in a table:
Searching repositories... found 5
# │ Forge │ Repository │ Stars │ Description────┼────────┼─────────────────────┼───────┼───────────────────────────────────── 1 │ GitHub │ alice/ctxloom-golang │ 142 │ Go development context bundles 2 │ GitHub │ corp/ctxloom-security │ 89 │ Security-focused prompts and... 3 │ GitLab │ team/ctxloom-internal │ 34 │ Internal development standards 4 │ GitHub │ bob/ctxloom-python │ 28 │ Python tooling fragments 5 │ GitHub │ dev/ctxloom-testing │ 15 │ Testing patterns and practices
Add remote? Enter number (or 'q' to quit):Enter a number to add that repository as a remote:
Add remote? Enter number (or 'q' to quit): 1Name for remote [alice]: golang-bundlesAdded remote 'golang-bundles' → https://github.com/alice/ctxloom-golangAfter Adding a Remote
Once you’ve added a remote, you can:
Browse Its Contents
ctxloom remote browse golang-bundlesPull Bundles Locally
# Preview before pullingctxloom remote pull golang-bundles/go-testing --type bundle
# Pull without previewctxloom fragment install --blind golang-bundles/go-testingUse Content Directly
Reference remote content without pulling:
# Use a remote profilectxloom run -p golang-bundles/go-developer "help me"
# Use a remote fragmentctxloom run -f golang-bundles/testing#fragments/table-driven "write tests"Reference in Profiles
description: My Go development profileparents: - golang-bundles/go-developerbundles: - my-local-additionsAuthentication
For private repositories or to avoid rate limits, set authentication tokens:
# GitHubexport GITHUB_TOKEN=ghp_xxxxxxxxxxxx
# GitLabexport GITLAB_TOKEN=glpat-xxxxxxxxxxxxMCP Server Integration
The discovery feature is also available as an MCP tool:
{ "tool": "discover_remotes", "arguments": { "query": "python", "source": "github", "min_stars": 5 }}This enables AI assistants to help you find and add relevant bundles during your workflow.
Tips
Finding Quality Repositories
- Use
--starsto filter for popular, well-maintained repos - Check the description for relevance to your needs
- Browse the repo contents before pulling everything
Naming Remotes
Choose descriptive names that indicate the content type:
securityfor security-focused bundlesteam-standardsfor your organization’s standardspython-toolsfor language-specific tooling
Staying Updated
After adding remotes, keep them in sync:
# Sync all remote dependenciesctxloom remote sync
# Update specific remotectxloom remote update golang-bundlesCreating Discoverable Repositories
Want your bundles to be discoverable? See the Sharing Bundles guide for how to structure and publish your own ctxloom repository.