An Alfred workflow that sends a prompt to the Claude CLI and renders the answer as Markdown — right inside Alfred.
👍 No API key or token billing - requests go through your existing Claude CLI login, so they use your current Claude plan (e.g. Pro/Max). There's no separate API key to manage and no per-token API charges to set up for this workflow.
Type cla followed by your prompt:
cla explain recursion in one line
cla write a git command to undo the last commit but keep the changes
cla summarise the difference between TCP and UDP
Press Enter. The prompt is shown on top, followed by Claude's Markdown answer.
- macOS with Alfred 5.5 or later and the Powerpack (the Text View used to render answers was introduced in Alfred 5.5)
- The Claude CLI installed and authenticated
(check the path with
which claude)
- Download the latest
alfred-claude-cli-vX.Y.Z.alfredworkflowfrom the Releases page. - Double-click it to import into Alfred.
- Open the workflow's configuration and set:
- Claude CLI Path — path to your
claudebinary (default~/.local/bin/claude; find yours withwhich claude) - Model — the model to use (default
sonnet)
- Claude CLI Path — path to your
Based on learnings from truongvinht/alfred-claude-workflow.

