Version: 0.1.0 Status: Beta Added: 2025-10-24
AEA can automatically check GitHub issues and suggest relevant ones based on your current work context. This helps you stay aware of open issues that might be related to what you're working on.
✨ Automatic Issue Checking
- Runs when you check for AEA messages
- Caches results to avoid rate limiting
- Configurable check interval
🎯 Context Matching
- Analyzes current directory and files
- Scores issues by relevance
- Highlights highly relevant issues
🏷️ Label Filtering
- Filter by specific labels (bug, enhancement, etc.)
- Focus on issues that matter to you
⚡ Smart Caching
- Caches issue list for configurable interval
- Force refresh with
--forceflag - Reduces API calls
# macOS
brew install gh
# Linux (Ubuntu/Debian)
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
sudo apt update
sudo apt install gh
# Other platforms: https://cli.github.com/gh auth loginFollow the prompts to authenticate with GitHub.
Edit .aea/agent-config.yaml:
github_integration:
enabled: true # Set to true to enable
repository: "owner/repo" # Your GitHub repository
# Filter issues by labels
labels:
- bug
- enhancement
- good first issue
# How often to check (in minutes)
check_interval_minutes: 60
# Context matching settings
context_matching:
enabled: true
relevance_threshold: 5| Option | Type | Default | Description |
|---|---|---|---|
enabled |
boolean | false |
Enable GitHub integration |
repository |
string | - | GitHub repo (format: "owner/repo") |
labels |
array | - | Filter issues by these labels |
check_interval_minutes |
number | 60 |
How often to check for new issues |
context_matching.enabled |
boolean | true |
Match issues to current work |
context_matching.relevance_threshold |
number | 5 |
Minimum score for relevance |
Once enabled, GitHub issues are automatically checked when you run:
bash .aea/scripts/aea-check.shOr when using the /aea slash command in Claude Code.
# Check issues
bash .aea/scripts/aea-issues.sh
# Force refresh (ignore cache)
bash .aea/scripts/aea-issues.sh --force
# Use custom config
bash .aea/scripts/aea-issues.sh --config /path/to/config.yaml📋 Open GitHub Issues:
★ Issue #42: Fix authentication timeout in login.ts
Labels: bug, high-priority
Relevance: High (score: 15)
• Issue #38: Improve error handling in API routes
Labels: enhancement
• Issue #35: Add tests for user service
Labels: testing, good first issue
View all: gh issue list --repo owner/repo
- ★ (green) - Highly relevant (score > 10)
- • (yellow) - Somewhat relevant (score > 5)
- • (default) - General issue
Issues are scored based on:
- +10 - File name mentioned in issue title
- +5 - Directory name mentioned in title
- +3 - Has priority labels (bug, critical, high)
# Edit config
nano .aea/agent-config.yamlgithub_integration:
enabled: true
repository: "myorg/myproject"
labels:
- bug
- needs-review
check_interval_minutes: 30# Check issues
bash .aea/scripts/aea-check.sh# You're editing src/auth/login.ts
cd src/auth
vim login.ts
# Check for messages and issues
bash ../../.aea/scripts/aea-check.sh
# Output might show:
# ★ Issue #42: Fix authentication timeout in login.ts
# (Highly relevant because you're in the same file!)github_integration:
enabled: true
repository: "owner/repo"
labels:
- security
- performance
check_interval_minutes: 120This will only show issues tagged with "security" or "performance".
Solution: Install gh CLI:
# macOS
brew install gh
# Linux
# See: https://cli.github.com/Solution: Authenticate:
gh auth loginPossible causes:
- Repository name incorrect
- Repository is private and you don't have access
- Network connectivity issues
Solution:
# Test manually
gh issue list --repo owner/repo
# Check repository access
gh repo view owner/repoPossible causes:
- Label filter excludes all issues
- Cache is stale
- Issues don't have the specified labels
Solution:
# Force refresh
bash .aea/scripts/aea-issues.sh --force
# Remove label filter temporarily
# Edit agent-config.yaml and remove or comment out labelsIssues are cached in ~/.cache/aea/github-issues.cache.
Cache behavior:
- Cache duration: Configured by
check_interval_minutes - Location:
~/.cache/aea/github-issues.cache - Format: Plain text (gh CLI output)
Clear cache:
rm ~/.cache/aea/github-issues.cache
# Or force refresh
bash .aea/scripts/aea-issues.sh --force- Uses your authenticated GitHub account
- Respects repository permissions
- No data sent to third parties
- Cache stored locally only
- GitHub API has rate limits
- Default: 5000 requests/hour (authenticated)
- Caching helps stay within limits
- Recommended: 30-60 minute intervals
Check your rate limit:
gh api rate_limitTo disable GitHub integration:
github_integration:
enabled: false # DisableOr remove the entire github_integration section.
When disabled, the feature runs silently without any output.
context_matching:
enabled: true
relevance_threshold: 10 # Only show highly relevant issueslabels:
- bug
- critical
- securityThis shows issues with any of these labels (OR condition).
context_matching:
enabled: false # Show all issues without scoringWhen enabled, Claude Code automatically:
- Checks for GitHub issues during message checks
- Receives context about relevant open issues
- Can suggest fixing issues if highly relevant
- Provides issue numbers in responses
Example Claude response:
I noticed Issue #42 is about authentication timeouts in login.ts.
Since we're working on auth right now, would you like me to
investigate and fix this issue?
- Requires gh CLI: Must have GitHub CLI installed and authenticated
- Public/accessible repos only: Can't access private repos you don't have permission for
- Label filtering: OR condition only (can't do AND conditions)
- Simple matching: Context matching uses basic keyword search
- Cache granularity: Per-repository cache (not per-label-set)
Planned for v0.2.0:
- Pull request checking
- Issue assignment suggestions
- Advanced context matching (AST analysis)
- Multi-repository support
- Custom relevance scoring rules
- Integration with project boards
Q: Do I need to enable this? A: No, it's optional. AEA works fine without it.
Q: Will it slow down message checking? A: No, results are cached. First check takes ~1s, subsequent checks are instant (until cache expires).
Q: Can I use this for private repositories? A: Yes, if you have access. Make sure you're authenticated with an account that has access.
Q: Does it work offline? A: It will show cached results. New checks require internet connectivity.
Q: Can I check multiple repositories? A: Not currently. v0.2.0 will support multiple repositories.
Last Updated: 2025-10-24 Version: 0.1.0