Build-in-Public: GitHub authorize link
build_in_public_connect_linkGenerate a short-lived GitHub authorization URL for Build-in-Public Autopilot. The URL expires in ~10 minutes; the repo connection only completes after the user authorizes and selects a repository.
Instructions
Generate a "click to authorize GitHub" link for Build-in-Public Autopilot (Pro feature: merged PRs / pushes on a watched branch become shipped-feature post drafts the user approves before anything publishes). SIDE-EFFECT-FREE: this tool only mints a short-lived signed authorization URL — it never connects, changes or activates anything, and the agent must NOT treat it as having connected a repo. Returns { authUrl, expiresAt, instructions }: relay authUrl to the human ("authorize here: ") and tell them the link expires (~10 minutes; call this tool again for a fresh one). The connection only comes into existence after the USER opens the link, authorizes TimeToPost on GitHub, and then picks the repository + watched branch + mode (draft approval is the default) in the TimeToPost dashboard, which also registers the repo webhook. Check the outcome later with build_in_public_status. Errors: 403 = the org is not on Pro (relay the upgrade message); 503 = the server has no GitHub OAuth app configured (GITHUB_CLIENT_ID/GITHUB_CLIENT_SECRET). CAPABILITY: read — side-effect-free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||