Barncleuth

Integrations · Claude

Connect Claude

Claude Code reports by itself: a hook marks it WORKING after each edit or command, and DONE when it stops. A skill teaches it to ask before any step that needs a yes.

Where it stands: Ready to try: not yet run end to end inside Claude Code. Works with: Claude Code.

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 hooks. Copy the hooks block from claude-code-hooks.json into ~/.claude/settings.json (or .claude/settings.json in one project), then type /hooks in Claude Code to check they're loaded. Start Claude Code from a terminal where the hub's privacy settings are set, so the hooks use them.
    cd ~/barncleuth && curl -fsSLO https://barncleuth.com/hub-kit/claude-code-hooks.json
    # Each hook runs, in the background:
    python3 ~/barncleuth/barncleuth_status.py claude-code WORKING --task "Working in my-project" --feed ~/barncleuth/feed.json
    python3 ~/barncleuth/barncleuth_status.py claude-code DONE --task "Finished in my-project" --feed ~/barncleuth/feed.json
  3. Add the skill. Save the reporting rules as a Claude Code skill, then fill in its bot id, the helper's folder (~/barncleuth) and the steps that need a yes.
    mkdir -p ~/.claude/skills/barncleuth-reporting
    curl -fsSL https://barncleuth.com/hub-kit/barncleuth-reporting-SKILL.md -o ~/.claude/skills/barncleuth-reporting/SKILL.md

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 Claude Code, in any project, 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

Claude in the Claude apps (desktop, web and phone) 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.