queue add
Add a single website to the queue.Syntax
Arguments
Website URL to add to queue.
Options
Project name.
Custom instruction for processing this URL (e.g., “Focus on product pricing”).
Priority level (higher = processed sooner). Range: 1-10.
Examples
Output
Duplicate Handling
Duplicates are detected by(project_name, website_url) combination and automatically skipped.
queue bulk
Bulk add URLs from CSV or JSON file.Syntax
Arguments
Path to CSV or JSON file containing URLs.
Options
Project name for all URLs.
Default priority for all URLs (can be overridden per-row).
CSV Format
Requires aurl column. Optional: custom_instruction, priority.
JSON Format
Array of objects withurl field. Optional: custom_instruction, priority.
Examples
Output
queue list
List queue items with filtering.Syntax
Options
Project name.
Filter by status:
pending, processing, completed, failed.Maximum items to show.
Show all items including completed and failed (default shows only pending/processing).
Show only the count, no details.
Examples
Output
queue next
Atomically claim the next pending item.Syntax
Options
Project name.
Behavior
Atomically claims the highest priority pending item and locks it for processing. PostgreSQL usesFOR UPDATE SKIP LOCKED (race-safe). SQLite uses conditional UPDATE.
Example
Output
Item Claimed
Empty Queue
queue complete
Mark an item as successfully completed.Syntax
Arguments
Queue item ID.
Example
Output
queue fail
Mark an item as failed with error message.Syntax
Arguments
Queue item ID.
Options
Error message explaining why processing failed.
Example
Output
queue retry
Reset a failed item to pending status.Syntax
Arguments
Queue item ID.
Example
Output
Retry count is tracked but not enforced. You can retry items indefinitely.
queue remove
Remove an item from the queue.Syntax
Arguments
Queue item ID.
Example
Output
queue cleanup
Bulk remove completed or failed items.Syntax
Options
Project name.
Remove all completed items.
Remove all failed items.
Remove all completed and failed items.
Skip confirmation prompt.
Examples
Output
Status Values
pending: Waiting to be processedprocessing: Currently being worked on (locked)completed: Successfully processedfailed: Processing failed with error
Parallel Processing
Process queue items with multiple workers:Next Steps
Crawl Commands
Process queue items with crawl commands
Database
Query and manage queue data