Appearance
Raycast Integration
Add LocalCode as a Raycast Script Command for quick access from anywhere on your Mac.
Setup
- Open Raycast Settings (Cmd+,) → Script Commands
- Click Add Script Directory
- Select
localcode/raycast-extension/scripts/ - Type "LocalCode" in Raycast to use
Usage
- Type "LocalCode" in Raycast
- Enter a description like "list all python files"
- The suggested command is copied to clipboard
- Paste in terminal to run
Requirements
- AFM server running
- Raycast Script Commands enabled
How It Works
The Raycast script:
- Sends your description to the AFM server
- Receives the suggested CLI command
- Copies it to clipboard for you to review and paste
Unlike OpenCode which shows an approval UI, Raycast gives you a quick way to get commands without leaving your workflow.