Log in from the terminal
Terminal agents (like the uplift-prompt-curator skill) need a user token for authenticated calls. The flow: open the login URL, sign in, and the token is delivered to your local process - or copy it manually.
Option A - localhost redirect
Start any listener on a local port, then open (replace the port):
open 'https://uplift.page/cli/login?port=8787'
after sign-in the browser redirects to
http://localhost:8787/callback#access_token=<UPLIFT_TOKEN>&refresh_token=...
Option B - copy/paste
Open uplift.page/cli/login, sign in, and copy the displayed token:
export UPLIFT_TOKEN="<paste from the browser>"
Use it
curl -s -X PATCH https://uplift.page/api/v1/prompts/cli-tool \
-H "Authorization: Bearer $UPLIFT_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"summary": "tightened wording"}'Only localhost redirect targets are allowed. Tokens are standard Supabase JWTs (~1h expiry).