Docs/Skills & Integrations/GitHub
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#

ToolDescriptionParameters
github_api_requestMake any GitHub REST API requestmethod, 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:

EndpointMethodDescription
/repos/{owner}/{repo}/issuesGETList issues
/repos/{owner}/{repo}/issuesPOSTCreate an issue
/repos/{owner}/{repo}/pullsGETList pull requests
/repos/{owner}/{repo}/actions/runsGETList workflow runs
/repos/{owner}/{repo}/contents/{path}GETRead file contents
/user/reposGETList your repositories