GitHub Integration

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-token

Generate a token at GitHub Settings > Developer settings > Personal access tokens with these scopes:

  • repo - Full repository access
  • read:org - Read organization membership (optional)

Slash Commands

List Repositories

View your GitHub repositories:

/github list

Search 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:

ToolDescription
list_github_reposList your repositories
search_github_reposSearch GitHub repositories
get_github_repoGet repository details
create_github_issueCreate an issue with optional file attachments
comment_on_github_issueAdd 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 switching

With file attachments:

Create a bug report in myorg/myrepo with the screenshot at ~/Desktop/error.png

Searching Repositories

Find repositories with natural language:

Find TypeScript repositories with more than 1000 stars related to CLI tools

Getting Repository Information

What's the latest activity on facebook/react?

The AI will fetch repository details including recent commits, issues, and pull requests.