grep-login
Installation
SKILL.md
GREP Login
Authenticate the user with their GREP account. Three methods:
- OTP — email-based one-time password (default for interactive users)
- API key — paste a long-lived key (best for CI, headless, and agents)
- Sign up — create an account at grep.ai first
Resolve the script path
SCRIPTS_DIR="$(dirname "$(dirname "$(dirname "$(readlink -f "${CLAUDE_SKILL_DIR}/SKILL.md")")")")/scripts"
Direct arguments (for agents and automation)
If the user passes arguments directly, skip the interactive questions: