Gh issue reopen
Agent skills for GitHub CLI
npx -y skills add dceoy/github-cli-agent-skills --skill gh-issue-reopenAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Reopen a closed GitHub issue using gh CLI, optionally with a comment explaining why.
SKILL.md
1.5 KB, 334 tokens by cl100k_base, as published. Nobody here has run it
GitHub Issue Reopen
When to use
- The user asks to reopen a closed issue.
- Issue was closed prematurely or needs more work.
- Bug reoccurred after being marked fixed.
Inputs to confirm
- Issue number or URL.
- Optional reopening comment.
- Target repo if not current (
--repo OWNER/REPO).
Workflow
- Verify auth:
gh --version gh auth status - Check issue current state:
gh issue view 123 --json number,title,state,stateReason - Reopen the issue:
gh issue reopen 123 gh issue reopen 123 --comment "Reopening: bug reoccurred in v2.1" - Verify reopening:
gh issue view 123 --json state
Examples
# Simple reopen
gh issue reopen 123
# Reopen with explanation
gh issue reopen 123 --comment "Issue still reproducible on latest version."
# Reopen by URL
gh issue reopen https://github.com/owner/repo/issues/123
Flags reference
| Flag | Description |
|---|---|
-c, --comment | Add a reopening comment |
Notes
- Only closed issues can be reopened.
- Adding a comment helps track why the issue was reopened.
- Arguments accept issue number or URL.
References
- GitHub CLI manual: https://cli.github.com/manual/
gh issue reopen --help
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.