github
Installation
SKILL.md
GitHub
Available Tools
Read
- github_search_repos(query, max_results?): Search GitHub repositories.
- github_get_repo(owner, repo): Get repository details (description, stars, language, topics).
- github_list_issues(owner, repo, state?, labels?, max_results?): List issues.
state: open | closed | all. - github_get_issue(owner, repo, issue_number): Get a single issue with comments.
- github_list_pulls(owner, repo, state?, max_results?): List pull requests.
- github_get_pull(owner, repo, pull_number): Get a single pull request with diff summary.
- github_get_file(owner, repo, path, ref?): Get file contents.
refdefaults to default branch. - github_search_code(query, max_results?): Search code across GitHub (use
repo:owner/nameto scope).
Write (requires user approval)
- github_create_branch(owner, repo, branch, from_branch?): Create a new branch.
- github_push_files(owner, repo, branch, files, message): Create or update files.
files: list of{path, content}. - github_create_pull_request(owner, repo, title, body, head, base?): Open a pull request.