Skip to main content
Quick reference for every repr command. Bookmark this page.

Setup & Status

CommandWhat It Does
repr init [path]First-time setup - scan for repositories
repr statusShow overall health and sync status
repr modeShow current execution mode (local/cloud/locked)
repr doctorRun full diagnostics
repr whoamiShow current authenticated user
repr --versionShow repr version
Examples:
repr init ~/code              # Scan ~/code for git repos
repr status                   # Quick health check
repr doctor                   # Detailed diagnostics

Story Generation

CommandWhat It Does
repr generateGenerate stories (uses default LLM)
repr generate --localGenerate using local LLM only
repr generate --cloudGenerate using repr cloud LLM
repr generate --template NAMEUse specific template (resume/changelog/narrative/interview)
repr generate --dry-runPreview what would be generated
repr generate --batch-size NProcess commits in batches of N
repr generate --since DATEGenerate from specific date forward
repr generate --repo PATHGenerate from specific repository only
Examples:
repr generate --local                              # Local generation
repr generate --template interview                 # STAR-format stories
repr generate --since "2 weeks ago"                # Last 2 weeks only
repr generate --repo ~/code/my-project --local     # Specific repo

Commits

CommandWhat It Does
repr commitsShow recent commits
repr commits --days 7Show commits from last 7 days (week)
repr commits --days 3Show commits from last 3 days (standup)
repr commits --since DATEShow commits since specific date
repr commits --repo NAMEFilter by repository
repr commits --limit NLimit number of commits
repr commits --jsonOutput as JSON
Examples:
repr commits --days 7            # Last week
repr commits --days 3            # Quick standup view
repr commits --since "monday"    # Since Monday
repr commits --since "this morning"  # Today's work
repr commits --limit 10          # Last 10 commits
repr commits --repo myproject    # Specific repo

Story Management

CommandWhat It Does
repr storiesList all stories
repr stories --needs-reviewShow stories needing review
repr story view IDView specific story
repr story edit IDEdit story in $EDITOR
repr story delete IDDelete story permanently
repr story hide IDHide from public profile
repr story feature IDPin to top of profile
repr story unhide IDMake visible again
repr reviewInteractive review mode
Examples:
repr stories                     # List all
repr stories --needs-review      # Need attention
repr story view 01ABC...         # View one story
repr story edit 01ABC...         # Edit in vim/nano/vscode
repr story feature 01ABC...      # Pin to profile top
repr review                      # Interactive mode

Repository Management

CommandWhat It Does
repr reposList tracked repositories
repr repos add PATHAdd repository to tracking
repr repos remove PATHStop tracking repository
repr repos pause PATHTemporarily pause tracking
repr repos resume PATHResume tracking
Examples:
repr repos                        # Show what's tracked
repr repos add ~/code/my-project  # Add one
repr repos add ~/code/proj-*      # Add multiple (glob)
repr repos remove ~/code/old      # Stop tracking

Git Hooks

CommandWhat It Does
repr hooks install --allInstall hooks in all tracked repos
repr hooks install --repo PATHInstall in specific repo
repr hooks remove --allRemove from all repos
repr hooks remove --repo PATHRemove from specific repo
repr hooks statusCheck hook status and queue
Examples:
repr hooks install --all          # Set up everywhere
repr hooks status                 # Check what's queued
repr hooks remove --repo ~/code/old-project

Cloud Operations

CommandWhat It Does
repr loginAuthenticate with repr.dev
repr logoutSign out
repr pushUpload new stories to cloud
repr push --allUpload all stories
repr push --dry-runPreview what would be uploaded
repr push --story IDPush specific story
repr pullDownload stories from cloud
repr syncBidirectional sync (pull + push)
repr sync --forceForce sync, overwrite conflicts
Examples:
repr login                        # Sign in
repr push --dry-run               # Preview
repr push --all                   # Publish everything
repr sync                         # Two-way sync

LLM Configuration

CommandWhat It Does
repr llm configureInteractive LLM setup
repr llm testTest connection to LLM
repr llm add PROVIDERAdd BYOK API key (openai/anthropic/groq/together)
repr llm remove PROVIDERRemove BYOK provider
repr llm use MODESet default (local/cloud/byok:PROVIDER)
repr llm listShow available providers
Examples:
repr llm configure                # Interactive setup
repr llm test                     # Verify connection
repr llm add openai               # Add your OpenAI key
repr llm use byok:openai          # Use as default
repr llm use local                # Switch to local

Privacy & Security

CommandWhat It Does
repr privacy explainShow privacy model summary
repr privacy auditShow log of network activity
repr privacy audit --days NAudit last N days
repr privacy lock-localDisable all cloud features
repr privacy lock-local --permanentPermanently disable cloud
repr privacy unlock-localRe-enable cloud features
Examples:
repr privacy explain              # What data goes where?
repr privacy audit --days 30      # Last month's activity
repr privacy lock-local           # Go full offline

Profile & Export

CommandWhat It Does
repr profileView profile settings
repr profile set-bio TEXTSet profile bio
repr profile set-location TEXTSet location
repr profile set-available BOOLSet availability (true/false)
repr profile exportExport profile/stories
repr profile export --format mdExport as Markdown
repr profile export --format jsonExport as JSON
repr profile export --since DATEExport from specific date
repr profile linkGet public profile URL
Examples:
repr profile set-bio "Full-stack engineer"
repr profile set-available true
repr profile export --format md > profile.md
repr profile export --format json --since "3 months ago"
repr profile link                 # Get public URL

Data Management

CommandWhat It Does
repr dataShow storage stats
repr data backup -o FILECreate backup
repr data restore FILERestore from backup
repr data restore FILE --mergeMerge with existing data
repr data restore FILE --replaceReplace all data
repr data clear-cacheClear cache (keeps stories)
Examples:
repr data                         # How much space used?
repr data backup -o ~/backup.json # Create backup
repr data restore ~/backup.json --merge
repr data clear-cache             # Free up space

Configuration

CommandWhat It Does
repr config showShow all configuration
repr config show KEYShow specific config value
repr config set KEY VALUESet config value
repr config editOpen config in $EDITOR
repr config resetReset to defaults
Examples:
repr config show                  # Show everything
repr config show llm.default      # One value
repr config set llm.local_model llama3.2
repr config edit                  # Manual editing

Common Workflows

First-Time Setup

pipx install repr-cli
repr init ~/code
repr generate --local
repr stories

Daily Workflow (Automatic)

repr hooks install --all  # One-time setup
# ... work normally, hooks capture commits ...
repr generate --local     # End of day
repr review               # Quick review

Daily Workflow (Manual)

repr commits --days 3     # Morning check
# ... do work ...
repr generate --since "this morning" --local  # End of day

Weekly Reflection

repr commits --days 7
repr generate --local --batch-size 10
repr story edit <id>      # Polish
repr story feature <id>   # Mark best work
repr profile export --format md > weekly.md

Interview Prep

repr generate --template interview --local
repr stories
repr story view <id>
repr story feature <id>   # Mark top stories
repr profile export --format md > interview-prep.md

Publishing Profile

repr login
repr profile set-bio "Your bio here"
repr push --dry-run       # Preview
repr push --all           # Publish
repr profile link         # Get URL

Multi-Device Sync

repr pull                 # Start of session
# ... work ...
repr push                 # End of session
# Or: repr sync            # Both at once

Backup & Restore

repr data backup -o ~/backup-$(date +%Y-%m-%d).json
repr data restore ~/backup-2026-01-05.json --merge

Troubleshooting

repr doctor               # Diagnose issues
repr llm test             # Test LLM connection
repr privacy audit        # Check network activity
repr config show          # Verify settings

Flags & Options

Common Flags (Work on Most Commands)

FlagWhat It Does
--helpShow help for command
--jsonOutput as JSON
--quietSuppress output
--verboseMore detailed output
--dry-runPreview without executing
Examples:
repr generate --help
repr stories --json
repr sync --quiet
repr doctor --verbose
repr push --dry-run

Environment Variables

VariableWhat It Does
REPR_CONFIG_DIROverride config directory (default: ~/.repr)
REPR_API_URLOverride API endpoint
REPR_LLM_API_URLOverride local LLM endpoint
EDITOREditor for repr story edit
Examples:
export REPR_CONFIG_DIR=~/custom-repr-dir
export EDITOR=code  # Use VS Code for editing
export REPR_LLM_API_URL=http://localhost:8080/v1

Tips & Tricks

Aliases to Add to Your Shell

# Add to ~/.zshrc or ~/.bashrc

alias rg="repr generate --local"
alias rs="repr stories"
alias rc="repr commits"
alias rv="repr story view"
alias rr="repr review"
alias rsync="repr sync"

Combine with jq for Filtering

# Python stories only
repr stories --json | jq '.[] | select(.technologies | contains(["Python"]))'

# Featured stories only
repr stories --json | jq '[.[] | select(.is_featured == true)]'

# Stories from last month
repr stories --json | jq '[.[] | select(.created_at >= "2025-12-01")]'

Git Aliases for Sync

# Add to ~/.gitconfig
[alias]
    pp = !git pull && repr pull
    ps = !git push && repr push
Now git pp pulls both code and stories.

Getting Help

CommandWhat It Does
repr --helpGeneral help
repr COMMAND --helpHelp for specific command
repr doctorDiagnose issues
Or visit:
Last updated: January 5, 2026 — For repr CLI v0.2.0