Syntax
Options
Path to a directory containing your source documents (CV, certificates, portfolio, etc.).
Directory where the generated card files are written. Defaults to the current directory.
AI provider to use. One of:
gemini, claude, codex, vibe, opencode, ollama, ail. When omitted, the CLI auto-detects the first installed provider in that order.Instead of calling a local AI CLI, copy the generated prompt (with your documents included) to the clipboard. Use this if you want to paste it manually into an AI chat interface.
Usage examples
Supported document formats
| Extension | Notes |
|---|---|
.md | Read directly |
.txt | Read directly |
.json | Read directly |
.yaml / .yml | Read directly |
.csv | Read directly |
.html / .htm | Read directly |
.pdf | Extracted via pdftotext, PyPDF2, or textutil |
.docx | Extracted via textutil (macOS) or python-docx |
AI providers
Providers are auto-detected in the following priority order when--with is not specified:
| Priority | Provider | CLI command | Install |
|---|---|---|---|
| 1 | Gemini CLI | gemini | google-gemini/gemini-cli |
| 2 | Claude Code | claude | anthropics/claude-code |
| 3 | OpenAI Codex | codex | openai/codex |
| 4 | Mistral Vibe | vibe | mistralai/mistral-vibe |
| 5 | OpenCode | opencode | opencode-ai/opencode |
| 6 | Ollama | ollama | ollama.com |
| 7 | switchAILocal | ail | traylinx/switchAILocal |
| — | Clipboard | — | Fallback when no CLI is found |
--clipboard is not set, the CLI automatically falls back to clipboard mode.
Expected output
Existing card backup
If the output directory already contains card files,scan automatically backs them up before overwriting:
Privacy: Your documents are piped directly to the local AI CLI running on your machine. No data is sent to any cloud API. The raw AI response is saved temporarily as
.scan_response_raw.txt and deleted immediately after the card files are written.Clipboard mode
When--clipboard is used (or no AI CLI is installed), the full prompt — including the contents of all your documents — is copied to your clipboard or saved as scoutica_prompt.txt in the output directory.