| title | Case Library |
|---|---|
| description | Official reproducible scenarios that show what RexCLI can do in real workflows. |
This page is the canonical capability map for RexCLI.
Each case includes:
When to use: decision triggerRun: copy-paste commandsEvidence: what proves success
Star on GitHub{ .md-button .md-button--primary data-rex-track="cta_click" data-rex-location="case_library_featured" data-rex-target="github_star" } Raw CLI vs RexCLI Layer{ data-rex-track="cta_click" data-rex-location="case_library_featured" data-rex-target="compare_workflows" } Case: Cross-CLI Handoff{ data-rex-track="cta_click" data-rex-location="case_library_featured" data-rex-target="case_handoff" } Case: Browser Auth-Wall Flow{ data-rex-track="cta_click" data-rex-location="case_library_featured" data-rex-target="case_authwall" } Case: Privacy Guard Config Read{ data-rex-track="cta_click" data-rex-location="case_library_featured" data-rex-target="case_privacy" }
When to use
You are onboarding a new laptop or teammate and need a clean baseline quickly.
Run
scripts/setup-all.sh --components all --mode opt-in
scripts/verify-aios.shpowershell -ExecutionPolicy Bypass -File .\scripts\setup-all.ps1 -Components all -Mode opt-in
powershell -ExecutionPolicy Bypass -File .\scripts\verify-aios.ps1Evidence
verify-aiosexits with code0doctor-*checks show no blocking errors
When to use
You need browser automation (browser_*) working for demos or agent workflows.
Run
scripts/install-browser-mcp.sh
scripts/doctor-browser-mcp.shThen in client chat:
browser_launch {"profile":"default"}
browser_navigate {"url":"https://example.com"}
browser_snapshot {"includeAx":true}
browser_close {}
Evidence
doctor-browser-mcpreportsResult: OK(warnings are acceptable)- Smoke commands return structured tool responses without runtime exceptions
When to use
You want Claude to analyze, Codex to implement, and Gemini to review without losing context.
Run
claude
codex
geminiOr deterministic one-shot:
scripts/ctx-agent.sh --agent claude-code --prompt "Summarize blockers and propose next steps"
scripts/ctx-agent.sh --agent codex-cli --prompt "Implement the top priority fix from latest checkpoint"
scripts/ctx-agent.sh --agent gemini-cli --prompt "Review risk and missing tests"Evidence
- New session/checkpoint artifacts under
memory/context-db/ - Later CLI runs can continue using the same project context
When to use
Automation reaches login walls (Google, Meta, platform auth) and should not blindly bypass them.
Run
browser_launch {"profile":"local"}
browser_navigate {"url":"https://target.site"}
browser_auth_check {}
If requiresHumanAction=true, complete login manually in that browser profile, then continue with browser_snapshot / browser_click / browser_type.
Evidence
browser_auth_checkreturns explicit auth state fields- Flow resumes after manual login using the same profile
When to use
You need one command to produce an auditable record (init -> session -> event -> checkpoint -> pack).
Run
scripts/ctx-agent.sh --agent codex-cli --project RexCLI --prompt "Continue from latest checkpoint and execute next step"Evidence
- New checkpoint entry in
memory/context-db/index/checkpoints.jsonl - Exported context packet in
memory/context-db/exports/
When to use
You manage shared skills across multiple CLIs and need predictable lifecycle operations.
Run
scripts/install-contextdb-skills.sh
scripts/doctor-contextdb-skills.sh
scripts/update-contextdb-skills.sh
# rollback if needed
scripts/uninstall-contextdb-skills.shpowershell -ExecutionPolicy Bypass -File .\scripts\install-contextdb-skills.ps1
powershell -ExecutionPolicy Bypass -File .\scripts\doctor-contextdb-skills.ps1
powershell -ExecutionPolicy Bypass -File .\scripts\update-contextdb-skills.ps1
# rollback if needed
powershell -ExecutionPolicy Bypass -File .\scripts\uninstall-contextdb-skills.ps1Evidence
- Doctor output confirms expected targets exist and are healthy
- Update/uninstall produce no dangling broken links
When to use
A user reports command wrapping issues and you need a safe recover path.
Run
scripts/doctor-contextdb-shell.sh
scripts/update-contextdb-shell.sh
# full rollback if needed
scripts/uninstall-contextdb-shell.shpowershell -ExecutionPolicy Bypass -File .\scripts\doctor-contextdb-shell.ps1
powershell -ExecutionPolicy Bypass -File .\scripts\update-contextdb-shell.ps1
# full rollback if needed
powershell -ExecutionPolicy Bypass -File .\scripts\uninstall-contextdb-shell.ps1Evidence
- Wrapper doctor no longer reports blocking issues
- Native
codex/claude/geminicommands work after rollback
When to use
Before publishing updates, verify no unsafe config drift in skills/hooks/MCP settings.
Run
scripts/doctor-security-config.shpowershell -ExecutionPolicy Bypass -File .\scripts\doctor-security-config.ps1Evidence
- Security doctor exits
0 - Any warnings are reviewed and resolved before release
To propose a case for this library:
- Include exact commands with no placeholders.
- Define measurable evidence (exit code, file artifact, or tool response).
- Add rollback/recovery step when relevant.