plainhub_auth
Connect PlainHub to GitHub by opening the token-creation page when authentication is missing, then save the token in your own terminal.
Instructions
Help the user sign PlainHub in to GitHub: opens the GitHub page that creates a token. Use it once when plainhub_auth_status says "Not authenticated". Recommended: a fine-grained token that reaches only the repositories the user chooses (Contents: Read and write). Ask the user to save the token in their own terminal with plainhub auth (it asks for the token) or plainhub auth --from-gh, so the token never appears in this chat. Pass token only if the user gave it to you on their own; it is saved, not shown. Example: {}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | Only if the user handed you a token on their own: the token to save (github_pat_ fine-grained recommended; ghp_ classic and gho_ gh CLI tokens also work). Do not ask for it; tokens pasted into a chat stay in its history |