Integrations · Gemini
Connect Gemini
Google's command-line agents read GEMINI.md (and AGENTS.md) before they start. Since June 2026, people on their own use Antigravity CLI, and Gemini CLI is for Code Assist teams. Both read the same file, so the same rules work in each.
Where it stands: Ready to try: not yet run end to end inside Antigravity CLI and Gemini CLI. Works with: Antigravity CLI and Gemini CLI.
The status file: works today
- Set up the hub once. The hub is one folder on your own computer: a GitHub repo with the status file in it, and the helper that updates it. Follow Install the hub, and choose private before any real work. Every tool below reports through this one folder.
- Add the rules to GEMINI.md. Add the reporting rules to ~/.gemini/GEMINI.md for every project, or to GEMINI.md at a project's root for one. Then fill in the bot id, the helper's folder (~/barncleuth) and the steps that need a yes.
mkdir -p ~/.gemini && curl -fsSL https://barncleuth.com/hub-kit/barncleuth-reporting-SKILL.md >> ~/.gemini/GEMINI.md # The agent then runs lines like these as it works: python3 ~/barncleuth/barncleuth_status.py gemini WORKING --task "Writing the weekly summary" python3 ~/barncleuth/barncleuth_status.py gemini BLOCKED --blocker "Needs the sales numbers"
New to the hub? Install the hub, then come back.
Approvals
A bot that needs a yes raises an ask and reports HOLD, then stops that step. The ask's title is short and starts with Approve:, Choose: or Check:, it says what happens if you say yes and if you say no, and longer notes go in details, with up to 3 links: barncleuth_status.py --ask "Approve: Markets 10 for YouTube" --if-yes "It goes out at 6 pm" --if-no "It waits" --details "Captions checked" --link "The cut|https://...". You approve or reject it in the board's Inbox. control-sync.sh, run by the hub about once a minute, picks up your answer, and the bot reads it before it acts. After reading an answer, the bot acks it, with a note if useful (barncleuth_status.py --ack with the ask id and --note "On it"), and you'll see when it has picked your answer up: picked up, not done. No answer is a no. Asks need private mode, so they're never published in the open.
cd ~/barncleuth && curl -fsSLO https://barncleuth.com/hub-kit/control-sync.sh && chmod +x control-sync.sh
# crontab -e, then add (your hub key is on the board: Team tab, Hub connection):
* * * * * cd ~/barncleuth && WORKSTATION_URL=https://barncleuth.com WORKSTATION_HUB_KEY=... ./control-sync.shProve it works
Five minutes, once. The self-test is at the end of the setup prompt, and nothing in it posts, spends or sends anything.
- In Antigravity CLI or Gemini CLI, in any project, paste the self-test from the setup prompt.
- On the board, the bot shows WORKING, then HOLD with the ask "Check: may I finish the self-test?" in your Inbox.
- Approve it. Within about a minute the Team tab ticks off: the bot reported, you decided, your hub has it.
- The bot reports DONE "Self-test passed", and the Team tab says bot confirmed.
- Run it once more and reject the ask: the bot reports DONE "Self-test stopped".
What it can't do
The Gemini app can't run the helper on your computer, so it can't report to the board on its own.