Achievement Details
| Property | Value |
|---|---|
| Achievement ID | galaxy-brain |
| Icon | 🧠 |
| Description | Answered discussions (requires helper account) |
| Helper Account | Required |
Tiers
Default Tier
2 accepted answers
Bronze Tier
8 accepted answers
Silver Tier
16 accepted answers
Gold Tier
32 accepted answers
Prerequisites
1. Enable Discussions
Your target repository must have Discussions enabled:- Go to repository Settings
- Scroll to Features section
- Enable Discussions
The tool automatically checks if discussions are enabled before running this achievement.
2. Helper Account Setup
Configure your helper account token in.env:
The helper account should have read/write access to your target repository’s discussions.
How It Works
The automation uses both your main account and the helper account:- Helper creates discussion - Opens a new discussion question
- You post answer - Main account posts a detailed answer
- Helper marks answer as accepted - Marks your answer as the accepted solution
- Achievement triggers - GitHub recognizes the accepted answer
Each accepted answer increments your Galaxy Brain achievement count.
Implementation Details
The achievement class checks if discussions are enabled (fromsrc/achievements/galaxyBrain.ts:26-34):
src/achievements/galaxyBrain.ts:36-51):
Workflow Example
Here’s what happens when you run Galaxy Brain for Default tier (2 answers):Error Handling
If discussions are not enabled, you’ll see:Estimated Time
From the achievement definition insrc/achievements/index.ts:52:
- Estimated time per unit: 4000ms (4 seconds)
- Default tier (2): ~8 seconds
- Bronze tier (8): ~32 seconds
- Silver tier (16): ~64 seconds
- Gold tier (32): ~128 seconds (~2 minutes)
Discussions operations use GitHub’s GraphQL API, which has separate rate limits from the REST API.
Cleanup Considerations
After earning Galaxy Brain, you may want to:- Archive discussions - Manually archive or lock the automated discussions
- Label them - Add a label like “automation” to identify them
- Keep them - Leave them as documentation of your achievement process
Comparison with Other Achievements
| Feature | Galaxy Brain | Pull Shark | YOLO |
|---|---|---|---|
| Helper account | Required | Not required | Required |
| Repository feature | Discussions | PRs | PRs |
| Cleanup | Manual | Automatic | Automatic |
| Gold tier | 32 | 1024 | N/A (single tier) |
Next Steps
YOLO
Another achievement that requires a helper account
Configuration
Learn how to set up your helper account