Convert GitHub issues to discussions using agent-browser. Use when asked to convert, move, or change an issue to a discussion. Requires agent-browser installed and user to log in via headed browser.
85
Quality
81%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Advisory
Suggest reviewing before use
Convert GitHub issues to discussions using browser automation when the gh CLI doesn't support this operation.
agent-browser installedagent-browser open "https://github.com/<owner>/<repo>/issues/<number>" --headedThe --headed flag shows the browser window so the user can log in.
Take a snapshot to check if logged in:
agent-browser snapshot -iIf you see "Sign in" in the elements, the user needs to log in. Let them know and wait for confirmation.
After login, go to the issue page:
agent-browser open "https://github.com/<owner>/<repo>/issues/<number>"Take a snapshot and look for "Convert to discussion":
agent-browser snapshot -iLook for a button like:
- button "Convert to discussion" [ref=e137]agent-browser click @<ref>A dialog will appear with category options:
agent-browser snapshot -iYou'll see options like:
- combobox "Category for new discussion" [ref=e2]
- option "General" [ref=e3] [selected]
- option "Ideas" [ref=e4]
- option "Q&A" [ref=e6]
- button "I understand, convert this issue" [ref=e9]Select appropriate category (Q&A for support questions, Ideas for feature requests):
agent-browser select @<combobox-ref> "Q&A"agent-browser click @<confirm-button-ref>You don't need to verify, you are done now.
# Open issue page with visible browser
agent-browser open "https://github.com/owner/repo/issues/123" --headed
# Wait for user to log in, then get elements
agent-browser snapshot -i
# Click convert button (ref from snapshot)
agent-browser click @e137
# Wait for dialog, get new elements
agent-browser wait 1000 && agent-browser snapshot -i
# Select category and confirm
agent-browser select @e2 "Q&A"
agent-browser click @e9
# Verify - should redirect to discussions
agent-browser wait 2000 && agent-browser get urlYou do not have to close the browser, as we'll use the login state again to convert other issues to discussions
When you are asked to find for more good issues to convert to discussions, use gh
355d067
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.