`gh repo star` is not a valid GitHub CLI command. Use `gh api --silent --method PUT /user/starred/OWNER/REPO` instead.