Common Errors
Command dispatch and argument contract
inspect accepts at most one path: got ... expected idx inspect [path]
invalid inspect path "...": expected idx inspect [path]
expected project path argument (daemon enable/disable)
expected editor argument: one of [copilot claude cursor] (skills install, cobra-level)
Search flag validation
missing search query: got ... expected idx search <terms>
unsupported --format value "...": expected one of [text json]
--json-pretty requires --format json: got format "..."
invalid --context value ...: expected a non-negative integer
invalid --from value ...: expected a non-negative integer
invalid --size value ...: expected a positive integer
unsupported --operator value "...": expected one of [AND OR]
invalid --relaxation value "...": expected format >N where N is a non-negative integer
invalid --relaxation with --operator "...": expected "AND"
Skills flag validation
- Missing editor (inline styled error, not cobra error):
โ Missing editor argument with usage and editor list
- Unsupported editor value:
unsupported editor "...": expected one of [copilot claude cursor]
Index lifecycle and state errors
sync must run from project root: got current directory "...", expected root directory "..."
sync requires project root to be indexed: no index found at "...", run idx init first
destroy must run from project root: got current directory "...", expected root directory "..."
no index found at "...": run idx init first (inspect with path)
no index found under project root "...": run idx init first (inspect without path or status)
Status-specific validation
no index found under project root "...": run idx init first
unindexed directories found โ preceded by a styled warning panel listing the unindexed directories
stale index โ preceded by the status overview panel showing โ N directory/ies stale โ run idx sync
Watch and daemon errors
invalid --debounce value ...: expected a duration greater than 0
failed to run watch command: got invalid debounce ..., expected duration greater than 0
cannot run watch: daemon is already monitoring this project. Disable the daemon with 'idx daemon disable' first
project "..." not being monitored
project "..." not being monitored: no projects active
failed to start watch for "...": got error ..., expected process to start
Skills install errors
failed to clone idx-skills: git clone failed: exit status ...
install script failed for "...": install-skills.sh exited with error: exit status ...
failed to create temp directory: ...
Recovery Quick Guide
- Run
idx init to bootstrap indexes.
- Run root-scoped commands (
sync, destroy) from the project root.
- Validate flags and positional arguments.
- Use
idx daemon status before starting idx watch.
- Use
idx status to verify whether index logs still match file modification timestamps.
- Ensure
git is in $PATH before running idx skills install.