Why a Helper Account?
Two achievements require interactions from another GitHub user:Galaxy Brain
This achievement requires accepted answers in GitHub Discussions. To earn it:- Someone posts a question in a discussion
- You post an answer
- The original question author must mark your answer as accepted
YOLO
This achievement requires merging a PR without code review. The requirement:- You must merge a PR on a repository where pull request reviews are required
- But GitHub doesn’t count self-merging as “YOLO”
- The PR must be opened by someone else (the helper account)
Without a helper account, you can still earn Pair Extraordinaire, Pull Shark, and Quickdraw. Galaxy Brain and YOLO are optional.
Creating a Helper Account
Create a new GitHub account
- Log out of your main GitHub account
- Go to github.com/signup
- Create a new account with a different email address
- Choose a simple username (e.g.,
your-username-helper) - Complete the signup process
Verify the email address
GitHub requires verified email addresses for most API operations. Check your email and click the verification link.
Generate a Personal Access Token
- While logged in as the helper account, go to Settings > Developer settings > Personal access tokens
- Click Generate new token → Generate new token (classic)
- Give it a descriptive name:
Achievement CLI Helper - Set expiration: Choose based on your needs (30 days, 60 days, or no expiration)
- Select scopes:
- ✅
repo(Full control of private repositories) - ✅
write:discussion(Write access to discussions)
- ✅
- Click Generate token
- Copy the token immediately - you won’t be able to see it again!
Configuration File Setup
Your complete.env file should look like this:
Token Scopes Required
| Token | Required Scopes | Used For |
|---|---|---|
GITHUB_TOKEN | repo | Creating branches, commits, PRs, merging, issues, discussions |
HELPER_TOKEN | repo, write:discussion | Opening PRs (YOLO), asking questions in discussions (Galaxy Brain) |
Verifying Helper Account Setup
After adding the helper token, verify it’s working:Check the status display
On the main menu, you should see:If you see this message, your helper account is properly configured!
Helper Account Requirements
The helper account needs:For Galaxy Brain
-
Access to the target repository (if private)
- Invite the helper account as a collaborator
- Settings > Collaborators and teams > Add people
- Enter the helper account username
-
Discussions enabled on the repository
- Settings > Features > ✅ Discussions
For YOLO
-
Write access to the target repository
- Same as above: Add as a collaborator
-
No special branch protection required
- YOLO works on repositories with or without branch protection
If your target repository is public, the helper account doesn’t need to be added as a collaborator. It can interact with public discussions and open PRs on any public repository.
Adding Helper as Collaborator
If your target repository is private:Add the helper account
- Click Add people
- Enter your helper account’s username
- Select the helper account from the dropdown
- Choose permission level: Write (required for creating discussions and PRs)
- Click Add [username] to this repository
Troubleshooting Helper Account Issues
”Helper token not configured”
Problem: The CLI can’t findHELPER_TOKEN in your .env file.Solution:
- Open
.envin the project root - Add
HELPER_TOKEN=ghp_xxx...with your helper’s token - Restart the CLI
”Bad credentials” error for helper
Problem: The helper token is invalid or expired.Solution:
- Log in to GitHub as the helper account
- Go to Settings > Developer settings > Personal access tokens
- Generate a new token with
repoandwrite:discussionscopes - Update
HELPER_TOKENin.env
”Resource not accessible by integration”
Problem: The helper account lacks permissions for the operation.Solution:
- Verify the helper account is a collaborator on the repository (if private)
- Check the token has the correct scopes:
repoandwrite:discussion - Regenerate the token if necessary
”Discussions are not enabled”
Problem: Galaxy Brain requires discussions, but they’re not enabled on your repository.Solution:
- Go to your repository on GitHub
- Settings > Features
- Check ✅ Discussions
- Wait a moment for the feature to activate
- Try again
Security Best Practices
Token Security
-
Never commit tokens to Git
- The
.envfile should be in.gitignore - Never push tokens to GitHub or any other service
- The
-
Use token expiration
- Set tokens to expire after 30-60 days
- Regenerate tokens periodically
-
Revoke unused tokens
- After earning achievements, you can revoke both tokens
- Settings > Developer settings > Personal access tokens
- Click the token, then Delete at the bottom
-
Use a dedicated repository
- Create a test repository specifically for earning achievements
- Don’t use a repository with important code or data
- This limits potential damage if tokens are compromised
Helper Account Security
- Use a strong password - Even though it’s a helper account, secure it properly
- Enable 2FA (optional) - For extra security, though it’s not required for this use case
- Don’t use for other purposes - Keep this account dedicated to helping with achievements
Alternative: Multiple Main Accounts
Instead of a helper account, you can use two main accounts and help each other:- Alice’s main account + Bob’s main account
- Alice acts as Bob’s helper, Bob acts as Alice’s helper
- Both can earn Galaxy Brain and YOLO
- ✅ No need to create a throwaway account
- ✅ Both accounts earn achievements
- ❌ Requires coordinating with another person
- ❌ Both people need to set up the CLI
Cleaning Up After Completion
Once you’ve earned Galaxy Brain and YOLO:Revoke the helper token
- Log in as the helper account
- Go to Settings > Developer settings > Personal access tokens
- Find the “Achievement CLI Helper” token
- Click Delete
Remove from collaborators (optional)
If you added the helper as a collaborator:
- Go to your repository settings
- Collaborators and teams
- Remove the helper account
Keep or delete the helper account
- Keep: You can use it to help earn achievements on other repositories
- Delete: Go to Settings > Account and delete the account