Invoke the Claude Code CLI from Flow Launcher and copy the answer to your clipboard.
| Action keyword | What it does |
|---|---|
cl <prompt> |
Runs claude -p "<prompt>" and copies the response to the clipboard. |
cl -d <prompt> |
Same, but adds --dangerously-skip-permissions. Aliases: --dangerous, --yolo. |
A toast-style notification shows a 250-char preview of the answer; the full text lands on the clipboard.
- Copy this folder to
%APPDATA%\FlowLauncher\Plugins\Claude-1.0.0\(any unique folder name works). - Restart Flow Launcher (
Settings → General → Restart Flow Launcher). - Make sure the
claudeCLI is on yourPATH(where claudeshould resolve it).
Dependencies are vendored under lib/, so no extra pip install is needed.
plugin.json— Flow Launcher manifest (action keywordcl).main.py— entry point. Parses the query, invokesclaude, copies the result.lib/— vendoredflowlauncherpackage.Images/app.png— plugin icon (drop your own 64×64 PNG here).
- Long prompts work — the prompt is passed as a single argv to avoid shell quoting issues.
- Timeout is 10 minutes; tweak in
main.pyif you need longer. - Errors from the CLI surface as a notification with the exit code and the first 250 chars of stderr.