Ask AI Provider (Async)
Send the user's request to specified AI provider asynchronously.
Usage
The first argument must be the provider name, followed by the message:
gemini- Send to Geminicodex- Send to Codexopencode- Send to OpenCodedroid- Send to Droid
Execution (MANDATORY)
Start-Process -NoNewWindow -FilePath "ask" -ArgumentList "$PROVIDER" -RedirectStandardInput (New-TemporaryFile | ForEach-Object { $MESSAGE | Set-Content $_; $_.FullName })
Rules
- After running the command, say "[Provider] processing..." and immediately end your turn.
- Do not wait for results or check status in the same turn.
- The task ID and log file path will be displayed for tracking.
Examples
/ask gemini What is 12+12?/ask codex Refactor this code/ask opencode Analyze this bug/ask droid Execute this task
Notes
- If it fails, check backend health with the corresponding ping command (
ping <provider>(e.g.,ping gemini)).