- name
- github-automation
- description
- Automate common GitHub tasks — create issues, check PR status, list repos, manage projects. Use when the user wants to interact with GitHub programmatically without opening the browser.
GitHub Automation
Streamline GitHub workflows from the command line. Create issues, check PRs, manage repos without switching contexts.
Usage
create issue: fix login bug
check my prs
list repos
close issue #123Features
Issues
- Create issues with title/body/labels
- List open/closed issues
- Close or comment on issues
- Search issues
Pull Requests
- Check PR status and reviews
- List open PRs
- Comment on PRs
- Check merge status
Repositories
- List user/org repos
- Check repo stats
- Get recent commits
- Check branch status
User
- Check notifications
- Get user profile info
- List starred repos
Script
# Create issue
python scripts/gh_tool.py issue create "Title" "Body" --repo owner/repo --labels bug
# List PRs
python scripts/gh_tool.py pr list --repo owner/repo
# Check notifications
python scripts/gh_tool.py notificationsAuthentication
Uses GITHUB_TOKEN environment variable. Set it in your env:
export GITHUB_TOKEN=ghp_your_token_hereToken Permissions Needed
repo- Repository accessissues- Issue managementpull_requests- PR accessnotifications- Read notifications
Examples
create issue in myrepo: bug - login fails with 500 error
check prs for pollinations/pollinations.ai
list my repos
close issue #42 in cloudgptapiOutput
- Success/failure confirmation
- Issue/PR numbers and URLs
- Formatted lists with key info
- Direct links to GitHub