Raycast Script Commands for quick git operations powered by Claude Code CLI. These are lightweight shell scripts that run as Raycast Script Commands — no extension build required.
One-click git push. Stages, commits, and pushes all changes in the target repo using Claude's /git-push-changes skill.
| Parameter | Type | Description |
|---|---|---|
directory path |
text | Path to the git repo (supports zoxide fuzzy resolution) |
Behavior:
- Resolves the directory path via zoxide (falls back to literal path)
- Spawns a fully detached Claude process so Raycast returns immediately
- Sends a macOS notification on success or failure via
terminal-notifier - Maintains a history file (
.claude-git-push-history, last 20 entries)
One-click PR creation. Creates a pull request from the current branch to a specified target branch using Claude's /create-pr skill.
| Parameter | Type | Description |
|---|---|---|
directory path |
text | Path to the git repo (supports zoxide) |
target branch |
text | Branch to merge into (e.g. dev, main) |
Behavior:
- Same path resolution and detached execution as
git-push.sh - Extracts the GitHub PR URL from Claude's output
- Notification includes a clickable link to the newly created PR
- Shares the same history file with
git-push.sh
Runs a clipboard curl command as curlie and displays the command output in Raycast.
Behavior:
- Reads the curl command from the clipboard
- Replaces only the leading
curlcommand word withcurlie --pretty - Adds an explicit
GETwhen the curl command has no method or body, preventingcurliefrom treating stdin as a POST body - Prints the actual
curliecommand before the response output - Executes the converted command in a zsh shell
- Shows stdout and stderr in Raycast full output mode
- Rejects input that does not start with
curl
claudeCLI in PATH (~/.local/bin/claude)gitin PATHcurliein PATHterminal-notifierforgit-push.shandcreate-pr.shmacOS notifications- Optional:
zoxidefor fuzzy directory resolution - Optional:
ghCLI (used by Claude internally for PR creation)