Skip to main content

@webframp/github

v2026.04.22.1

Query GitHub data using the gh CLI for repository, PR, issue, release, and workflow visibility.

Authentication

Uses the gh CLI's built-in authentication. Run gh auth login to configure.

Required Tools

Usage

# Create github model
swamp model create @webframp/github github

# List your repos
swamp model method run github list_repos

# Get detailed repo info
swamp model method run github get_repo_info --input repo=owner/repo

# List open PRs
swamp model method run github list_prs --input repo=owner/repo

# List closed issues
swamp model method run github list_issues --input repo=owner/repo --input state=closed

# List releases
swamp model method run github list_releases --input repo=owner/repo

# List recent workflow runs
swamp model method run github list_workflows --input repo=owner/repo

Methods

  • list_repos - List repositories for the authenticated user
  • get_repo_info - Get detailed information about a specific repository
  • list_prs - List pull requests for a repository
  • list_issues - List issues for a repository
  • list_releases - List releases for a repository
  • list_workflows - List recent workflow runs for a repository

Repository

https://github.com/webframp/swamp-extensions

Labels

githubgitdevopsrepos

Contents

Quality score

How well-documented and verifiable this extension is.

100%

Grade A

  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Has description1/1earned
  • At least one platform tag (or universal)1/1earned
  • Two or more platform tags (or universal)1/1earned
  • License declared1/1earned
  • Verified public repository2/2earned

Install

$ swamp extension pull @webframp/github

@webframp/githubv2026.04.12.1github/repos.ts
list_reposList repositories for the authenticated user with basic metadata
get_repo_infoGet detailed information about a specific repository including stats and metadata
list_prsList pull requests for a repository with optional state filter
list_issuesList issues for a repository with optional state filter
list_releasesList releases for a repository
list_workflowsList recent workflow runs for a repository

Resources

repos(30m)— List of repositories for the authenticated user
repo_info(30m)— Detailed information about a specific repository
pull_requests(15m)— List of pull requests for a repository
issues(15m)— List of issues for a repository
releases(1h)— List of releases for a repository
workflow_runs(10m)— List of recent workflow runs for a repository