github-issues
Read and update GitHub issues using a compact, agent-friendly action surface.
Why install it
Issue triage, follow-up, and status workflows are common agent tasks. This tool packages the GitHub issue surface into a small, normalized contract instead of scattering GitHub API glue throughout every agent app.
Inputs
action:list_issues,get_issue,create_issue,comment_issue, orupdate_issue_stateowner: repository owner or organizationrepo: repository nameissue_number: issue number for get, comment, or update actionsstate: issue state for list or update actionsper_page: maximum number of issues to return for list actionslabels: labels for create actionstitle: issue title for create actionsbody: issue body or comment body depending on the action
Outputs
action: executed action namerepository: repository inowner/repoformissue: normalized issue for get, create, or update actionsissues: normalized issue list for list actionscomment: normalized comment for comment actionsmetadata: request metadata such as page size or requested state
Environment variables
GITHUB_TOKEN: required GitHub tokenGITHUB_API_BASE_URL: optional API base URL override
Local development
The source code for this tool can be found here
Test:
npm test
Build:
npm run build
Example invocation
printf '%s' '{"action":"list_issues","owner":"octocat","repo":"Hello-World","state":"open"}' | node dist/index.js