Overview
Theoobo inspect command runs diagnostics to detect common issues and can automatically fix many problems. It checks database integrity, config file syntax, tool data access, orphan branch status, and more.
Usage
Options
Auto-repair issues that can be fixed automatically
Output as JSON for machine parsing
Examples
Run diagnostics
Auto-fix issues
- Corrupted database indexes
- Missing orphan branch (recreates it)
- Invalid config values (resets to defaults)
- Stale lock files
- Missing skill file (reinstalls it)
JSON output
Diagnostic Checks
Database integrity
Checks SQLite database for:- Corrupted indexes
- Schema mismatches
- Foreign key violations
- Lock conflicts
Config file
Validates~/.oobo/config.toml:
- Valid TOML syntax
- All required fields present
- Tool names are valid
- URL formats are correct
Git binary
Verifies:- Git is installed and in PATH
- Git version is compatible (2.23+)
- Git can execute without errors
Orphan branch
Checks:oobo/anchors/v1branch exists- Branch is accessible
- Recent anchors are present
Tool data access
For each enabled tool, checks:- Data directory exists
- Directory is readable
- Sessions files are present
Skill file
Verifies:- Skill file exists at
~/.agents/skills/oobo/SKILL.md - File is readable
- Frontmatter is valid YAML
When to Use Inspect
After installation
After installation
Run
oobo inspect after installing oobo to verify everything is set up correctly.Sessions not showing up
Sessions not showing up
If sessions aren’t appearing, run
oobo inspect to check tool data access.Database errors
Database errors
If you see database lock or corruption errors, run
oobo inspect --fix.After upgrading oobo
After upgrading oobo
Run
oobo inspect --fix after updating to ensure database schema is up to date.Before reporting issues
Before reporting issues
Run
oobo inspect --agent and include the output when reporting bugs.Exit Codes
- 0 — All checks passed
- 1 — Issues found (check output for details)
- 2 — Critical error (database corrupted, config invalid, etc.)
Related Commands
Setup
Initial configuration
Sources
Check tool data access
Troubleshooting
Common issues and solutions
