Skip to content

Instantly share code, notes, and snippets.

@ashrocket
Created May 5, 2026 18:35
Show Gist options
  • Select an option

  • Save ashrocket/7f3f66ad867ed0210f568f927cb31aa9 to your computer and use it in GitHub Desktop.

Select an option

Save ashrocket/7f3f66ad867ed0210f568f927cb31aa9 to your computer and use it in GitHub Desktop.
Interactive Anthropic Greenhouse apply — fills forms automatically, pauses at CAPTCHA for manual solve
#!/bin/bash
# Interactive Anthropic Greenhouse apply — fills forms, pauses at CAPTCHA for manual solve.
# Solve CAPTCHA in the browser window → press Enter here → script confirms success and moves on.
cd /Users/ashrocket/ashcode/career
LOG=/tmp/anthropic_apply_interactive.log
exec > >(tee -a "$LOG") 2>&1
IDS=(
5192104008 5099753008 5155391008 4741102008 5141377008
5146363008 5192805008 5134895008 5140492008 4461444008
5197538008 5159608008 4980436008
)
log() { echo "[$(date '+%H:%M:%S')] $*"; }
log "Starting — ${#IDS[@]} roles"
echo "Browser opens per role. Solve CAPTCHA → press Enter in this terminal."
echo
APPLIED=0; FAILED=0
for id in "${IDS[@]}"; do
job="greenhouse-anthropic-${id}"
log "=== $job ==="
python3 -u -m jobscout.apply_greenhouse --job-id "$job"
if [ $? -eq 0 ]; then
log "OK: $job"; ((APPLIED++))
else
log "FAILED: $job"; ((FAILED++))
fi
[[ $id != "${IDS[-1]}" ]] && { echo "Waiting 30s..."; sleep 30; }
done
log "Done — applied: $APPLIED / failed: $FAILED"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment