Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Command Reference

The desire_path CLI provides commands for recording, analyzing, and fixing tool call failures in AI coding workflows.

Command Categories

Record & Ingest

Commands for capturing tool call data from AI coding tools.

  • record - Record a failed tool call from stdin
  • ingest - Ingest tool call data from a source plugin
  • init - Set up integration with AI coding tools

Query & Analyze

Commands for exploring recorded desire paths.

  • list - List recent desires
  • paths - Show aggregated paths ranked by frequency
  • inspect - Show detailed view of a specific desire path
  • stats - Show summary statistics
  • export - Export raw desire or invocation data

Map & Fix

Commands for resolving tool name mismatches.

  • similar - Find known tools similar to a tool name
  • alias - Create, update, or delete tool name aliases and command correction rules
  • aliases - List all configured aliases and rules
  • pave - Turn aliases into active tool-call intercepts

Configure

Commands for managing configuration.

  • config - Show or modify configuration

All Commands

CommandDescription
recordRecord a failed tool call from stdin
ingestIngest tool call data from a source plugin
initSet up integration with AI coding tools
listList recent desires
pathsShow aggregated paths ranked by frequency
inspectShow detailed view of a specific desire path
statsShow summary statistics
exportExport raw desire or invocation data
similarFind known tools similar to a tool name
aliasCreate, update, or delete tool name aliases and correction rules
aliasesList all configured aliases and rules
paveTurn aliases into active tool-call intercepts
configShow or modify configuration

Global Flags

All commands support these global flags:

FlagDefaultDescription
–db PATH~/.dp/desires.dbPath to the SQLite database
–jsonfalseOutput results as JSON