Integration
GitHub
Connect your agent to the GitHub API. Manage repositories, issues, pull requests, and more with a single personal access token.
Setup Guide#
1
Generate a Personal Access Token
Go to GitHub Settings → Developer Settings → Personal Access Tokens and click Generate new token (fine-grained).
2
Configure Permissions
Select the repositories you want the agent to access and grant permissions:
- Repository: Read & Write (for issues, PRs, code)
- Pull Requests: Read & Write
- Issues: Read & Write
- Actions: Read (for CI/CD status)
3
Add to Lobstack
Go to Dashboard → Skills → GitHub → ⚙️ and paste your token.
💡
Universal GitHub API access
The GitHub skill gives your agent a general-purpose GitHub API tool. It can call any GitHub REST API endpoint — not just predefined actions. This means your agent can do anything the GitHub API supports.
Available Tools#
| Tool | Description | Parameters |
|---|---|---|
| github_api_request | Make any GitHub REST API request | method, endpoint, body (optional) |
Example Prompts#
text
"List all open issues in my-org/my-repo"
"Create an issue titled 'Bug: login fails on mobile' in my-repo"
"Show me the latest pull requests on lobstack/agent"
"What GitHub Actions workflows ran today?"
"Merge pull request #42 in my-org/my-repo"Common API Endpoints#
Your agent can call any GitHub API endpoint. Here are the most common ones:
| Endpoint | Method | Description |
|---|---|---|
| /repos/{owner}/{repo}/issues | GET | List issues |
| /repos/{owner}/{repo}/issues | POST | Create an issue |
| /repos/{owner}/{repo}/pulls | GET | List pull requests |
| /repos/{owner}/{repo}/actions/runs | GET | List workflow runs |
| /repos/{owner}/{repo}/contents/{path} | GET | Read file contents |
| /user/repos | GET | List your repositories |