CLI Commands

Complete reference for every Remb CLI command with flags, examples, and output formats.

remb init

Initialize a project in the current directory. Creates .remb.yml and generates a REMB.md with AI integration instructions.

remb init

remb save

Save a context entry for a project feature.

remb save -f auth -c "Auth uses JWT with RS256 signatures"
remb save -f payments -c "Stripe integration" -t "stripe,billing" -p my-project
FlagShortDescriptionRequired
--feature-fFeature or module nameYes
--content-cContext content textYes
--project-pProject slug (reads .remb.yml)No
--tags-tComma-separated tagsNo
--typeEntry type (default: manual)No

remb get

Retrieve context entries with optional filtering.

remb get
remb get -f auth
remb get -p my-project --format json --limit 50
FlagShortDescriptionDefault
--project-pProject slug.remb.yml
--feature-fFilter by feature
--limit-lMax entries10
--formatOutput: table, json, markdowntable

remb bundle

Get the full project context bundle — memories, features, tech stack — as a single markdown document. Useful for piping into AI prompts.

remb bundle
remb bundle -p my-project --format json
remb bundle | pbcopy  # copy to clipboard
FlagShortDescriptionDefault
--project-pProject slug.remb.yml
--formatOutput: markdown, jsonmarkdown

remb scan

Trigger a server-side scan of your project via GitHub. Runs the full 5-phase AI pipeline (Scout → Analyze → Architect → Review → Finalize) on the Remb worker and polls progress back to your terminal.

remb scan                # Scan project from .remb.yml
remb scan -p my-project   # Specific project
remb scan --no-poll       # Trigger and exit immediately
FlagShortDescriptionDefault
--project-pProject slug.remb.yml
--no-pollTrigger scan and exit (no progress polling)false

remb push

Same as remb scan but first checks git status (current branch + latest commit SHA) before triggering. Both commands call the same 5-phase cloud pipeline and poll progress.

remb push
remb push --force       # skip git checks
remb push --no-progress  # don't poll for progress
FlagShortDescriptionDefault
--project-pProject slug.remb.yml
--forceSkip git checksfalse
--no-progressDon't poll for progressfalse

remb status

Check the progress of a running or completed scan.

remb status <scan-id>
remb status <scan-id> --format json
remb status <scan-id> --watch  # poll until done
FlagDescriptionDefault
--formatOutput: table, jsontable
--watchPoll continuously until scan completesfalse

remb history

View conversation history — what AI discussed and accomplished across sessions.

remb history
remb history --date 2026-04-14
remb history --from 2026-04-01 --to 2026-04-14
remb history --search "authentication" --format json
FlagShortDescriptionDefault
--project-pProject slug.remb.yml
--date-dFilter by date (YYYY-MM-DD)
--fromStart date filter
--toEnd date filter
--limit-lMax entries20
--formatOutput: timeline, markdown, jsontimeline
--search-sSemantic search query

remb log

Record a conversation entry — log what was discussed or accomplished.

remb log -c "Implemented JWT refresh token rotation"
remb log -c "Fixed auth bug" --type bug-fix --tags "auth,security"
remb log -c "Session summary" -p my-project
FlagShortDescriptionRequired
--content-cWhat was done/discussedYes
--project-pProject slugNo
--typeEntry type (task-completed, bug-fix, decision, etc.)No
--tags-tComma-separated tagsNo

remb memory

Manage persistent AI memories. Alias: remb mem.

# Create a memory
remb memory add -t "Auth uses JWT" -c "RS256 signatures with refresh tokens"
remb memory add -t "API Pattern" -c "All endpoints use Zod validation" --tier core --category pattern

# List memories
remb memory list
remb memory list --tier core --format json
remb memory list --search "authentication" -p my-project

# Update a memory
remb memory update <id> -t "New title" -c "New content"

# Delete a memory
remb memory delete <id>

# Promote to higher tier
remb memory promote <id> --to core
SubcommandDescription
addCreate a new memory
list (ls)List memories with filters
updateUpdate an existing memory
delete (rm)Delete a memory by ID
promoteChange tier (archive → active → core)
statsShow memory usage statistics
searchSemantic search across memories

remb projects

Manage projects. Alias: remb proj.

# List all projects
remb projects list
remb projects list --format json --status active

# Get project details
remb projects get my-project

# Create a project
remb projects create "My Project" --repo https://github.com/user/repo

# Delete a project (requires confirmation)
remb projects delete my-project --confirm
SubcommandDescription
list (ls)List all projects with feature/entry counts
getGet project details, features, and scan info
createCreate a new project
deleteDelete a project and all its data

remb skills

Manage AI skill files installed in your project for IDE integration.

# List available skills
remb skills list

# Install skills
remb skills add remb-context remb-memory
remb skills add --all

# Remove a skill
remb skills remove remb-context

# Update installed skills
remb skills update

Skills are installed to both .github/copilot-skills/ (VS Code) and .claude/commands/ (Claude Code).

remb serve

Start a local MCP (Model Context Protocol) server that proxies to the Remb API. AI tools connect via stdio JSON-RPC.

remb serve
remb serve --project my-project

The MCP proxy forwards all requests to the server, so it automatically supports all 100 tools without any hardcoded definitions.

remb import

Import context from existing documentation files into Remb.

remb import README.md
remb import docs/ --recursive
remb import ARCHITECTURE.md -f architecture

Create dependency links between features in the knowledge graph.

remb link auth payments  # auth depends on payments
remb link -p my-project auth database