KilatBot Docs
MenuGitHub in the KilatBox

Guides

GitHub in the KilatBox

Let your agents clone, commit, push and open pull requests inside a KilatBox with short-lived tokens scoped only to the repositories you pick. Off by default on every box.

Turn it on for one box

  1. First connect GitHub for your workspace on Integrations.
  2. Open the box page under KilatBox in the dashboard sidebar.
  3. In the GitHub in this box card, the workspace owner selects Turn on.
  4. Pick the repositories this box may reach and select Save. Only repositories where KilatBot is installed are listed.

Only the workspace owner can turn GitHub on or off for a box or change its picked repositories. You can change the list or turn it off any time on the same card.

How tokens and commits work

  • Short-lived tokens. When an agent with GitHub enabled runs a command or coding task in the box, KilatBot places a 1-hour token narrowed to your picked repositories inside the box.
  • Limited permissions. The token allows cloning, pushing and opening pull requests. It cannot edit GitHub Actions workflows, repository settings or secrets.
  • Automatic revocation. The token is revoked when the box sleeps, when you turn off GitHub for the box or the agent, and when GitHub is disconnected from the workspace.
  • Commit authorship. Commits made through this setup are authored by KilatBot with you listed as co-author, so repository history shows both the bot and the owner.

Using GitHub in your own box terminal

Working directly in the box terminal after the last token expired? Git will report an authentication failure. On the box page, while the box is awake and GitHub is on for it, the owner or an admin can select Connect GitHub for 1 hour to mint a fresh 1-hour token for the terminal.

Keep your repositories safe

  • Anything running inside the box can use the active token while it lasts.
  • Pick only the repositories the box actually needs.
  • Protect your main branch on GitHub and require pull request reviews before merging.
  • Put the box to sleep or turn off GitHub in this box when you are done with sensitive work.

Frequently asked questions

Is GitHub in the box on by default?

No. It is off on every box until the workspace owner turns it on and picks repositories.

Can an agent edit GitHub Actions workflows or repository secrets from the box?

No. The box token cannot edit workflows, repository settings or secrets.

What happens to the token when the box goes to sleep?

The token is revoked when the box sleeps, when GitHub is turned off for the box or agent, or when GitHub is disconnected.

Who is shown as the author on commits?

Commits are made as KilatBot with the owner listed as co-author.

Questions and answers. Something unclear or out of date? Tell us. For AI tools: this page as Markdown.