Barncleuth

Integrations · ChatGPT

Connect ChatGPT

Codex reads AGENTS.md before it starts work. One file of rules there, and it reports when it starts, finishes or gets stuck, and asks before any step that needs a yes.

Where it stands: Ready to try: not yet run end to end inside Codex. Works with: Codex, OpenAI's coding agent.

The status file: works today

  1. 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.
  2. Add the rules to AGENTS.md. Add the reporting rules to ~/.codex/AGENTS.md for every project, or to AGENTS.md at a repo's root for one. Then fill in the bot id, the helper's folder (~/barncleuth) and the steps that need a yes.
    curl -fsSL https://barncleuth.com/hub-kit/barncleuth-reporting-SKILL.md >> ~/.codex/AGENTS.md
    # Codex then runs lines like these as it works:
    python3 ~/barncleuth/barncleuth_status.py codex WORKING --task "Fixing the sign-up form"
    python3 ~/barncleuth/barncleuth_status.py codex DONE --task "Sign-up form fixed, tests pass"

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.sh

Prove 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.

  1. In Codex, in any repo, paste the self-test from the setup prompt.
  2. On the board, the bot shows WORKING, then HOLD with the ask "Check: may I finish the self-test?" in your Inbox.
  3. Approve it. Within about a minute the Team tab ticks off: the bot reported, you decided, your hub has it.
  4. The bot reports DONE "Self-test passed", and the Team tab says bot confirmed.
  5. Run it once more and reject the ask: the bot reports DONE "Self-test stopped".

What it can't do

ChatGPT itself (the chat app) can't run the helper on your computer, so it can't report to the board on its own.

Start with one job, and you approve everything.

A free 30-minute chat about where your week gets stuck, then a fixed quote for that one job.