This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| input=$(cat) | |
| model_raw=$(echo "$input" | jq -r '.model.display_name // .model.id // "claude"') | |
| cwd=$(echo "$input" | jq -r '.workspace.current_dir // .cwd // ""') | |
| effort=$(echo "$input" | jq -r '.effort_level // .effortLevel // empty') | |
| output_style=$(echo "$input" | jq -r '.output_style.name // ""') | |
| # Fall back to settings.json — Claude Code doesn't pass effortLevel via stdin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| usage() { | |
| cat <<'EOF' | |
| Download Stripe invoices as PDFs (the same Stripe-generated PDFs customers get). | |
| Requirements: | |
| - macOS (uses BSD date) | |
| - curl |