grep-upgrade
Installation
SKILL.md
GREP Upgrade
Help the user choose a subscription plan or upgrade their existing one. Presents plan options, creates a Stripe checkout session, and opens the payment page in their browser.
Resolve the script path
SCRIPTS_DIR="$(dirname "$(dirname "$(dirname "$(readlink -f "${CLAUDE_SKILL_DIR}/SKILL.md")")")")/scripts"
Step 1: Check waitlist and subscription status
First, check if the user is waitlisted:
node "${SCRIPTS_DIR}/billing.js" waitlist