GitHub Integration
LLPM integrates deeply with GitHub for repository management, issues, and pull requests.
Prerequisites
Set up GitHub authentication by adding your token to .env.
If you also configure ARCADE_API_KEY (for web search), keep it separate from GitHub authentication. GitHub integration uses GITHUB_TOKEN.
GITHUB_TOKEN=your-github-tokenGenerate a token at GitHub Settings > Developer settings > Personal access tokens with these scopes:
repo- Full repository accessread:org- Read organization membership (optional)
Slash Commands
List Repositories
View your GitHub repositories:
/github listSearch Repositories
Search across GitHub:
/github search "language:typescript stars:>100"Supports GitHub’s search syntax.
AI Tools
The AI can use these GitHub tools when you ask naturally:
| Tool | Description |
|---|---|
list_github_repos | List your repositories |
search_github_repos | Search GitHub repositories |
get_github_repo | Get repository details |
create_github_issue | Create an issue with optional file attachments |
comment_on_github_issue | Add comments to issues with optional attachments |
Examples
Creating Issues
Ask the AI to create issues naturally:
Create an issue in myorg/myrepo titled "Add dark mode" describing the need for theme switchingWith file attachments:
Create a bug report in myorg/myrepo with the screenshot at ~/Desktop/error.pngSearching Repositories
Find repositories with natural language:
Find TypeScript repositories with more than 1000 stars related to CLI toolsGetting Repository Information
What's the latest activity on facebook/react?The AI will fetch repository details including recent commits, issues, and pull requests.