ashlr

ashlr__pr + ashlr__issue

Compressed GitHub PR and issue summaries. Wraps gh CLI output to avoid 10–30K-token JSON dumps.

Server: ashlr-githubservers/github-server.ts

Two read-only tools that compress GitHub PR and issue API output so reviewer agents don't burn 10–30K tokens on raw gh JSON dumps. Shells out to gh and times out at 15 seconds per call. Never mutates — read-only.

ashlr__pr

Compact PR header, reviews, unresolved comments, and CI checks.

Input schema

FieldTypeRequiredDescription
prstring or numberyesPR number or URL
repostringnoowner/repo (default: detected from git remote)
include_diffbooleannoInclude a stat-mode diff summary (default: false)

Output format

PR #42 — feat: add genome consolidate loop
State: open  ·  Draft: no  ·  author: masonwyatt  ·  base: main <- feature/genome

Reviewers: alice (approved), bob (changes requested)
Unresolved: 2 comments

Checks:
  build (ubuntu-latest)  passed  2m 14s
  typecheck              passed  43s

Files: 8 changed  ·  +312 −47

ashlr__issue

Compact issue header, body, and comment list.

Input schema

FieldTypeRequiredDescription
issuestring or numberyesIssue number or URL
repostringnoowner/repo (default: detected from git remote)
commentsnumbernoMax comments to include (default: 10)

Output format

Issue #17 — ashlr__read returns wrong line count for Windows CRLF files
State: open  ·  Labels: bug, good first issue  ·  author: contributor99

Body:
When reading a file with CRLF line endings, the returned line count is double...

Comments (3):
  masonwyatt: This is a known edge case...
  contributor99: Confirmed on Windows 11...

Requirement

The gh CLI must be installed and authenticated. Run gh auth status to verify.

On this page