Harnesses borrow your terminal. Bots act on your behalf.
With Pi or Claude Code, sitting at the keyboard does two jobs without you thinking about it: keeping the thread alive, and watching over every logged-in tool in your shell. Move that work to a persistent bot (Orca, Hermes, Grok Bot), and both become explicit: state moves out of chat, and you have to know what credentials the bot can actually reach.
Expanded from Worth Looking At: credential-audit · Companion to Coding agents edit files. Coordinators hold the thread. · Skill: scaryPonens/agent-skills ↗ · Nov 26, 2026
Leaving the terminal loop splits state and authority apart.
People may hear “bot” and picture Claude Code left open in a Herdr workspace (or a tmux tab). They both run an LLM with shell and file tools on your machine, so from ten feet away they look interchangeable.
In practice, a session harness leans on you sitting at the keyboard. First, its state lives in the chat transcript: when the context window fills, it auto-compacts older turns into a lossy summary, and when the session closes, the thread is over (I rarely resume sessions after a task is done). Second, its authority is implicit: it runs inside your interactive shell with every token, SSH key, and signed-in CLI you have, which feels natural because your eyes are watching Claude Code “shenanigan” or “discombobulate”.
A bot is built to outlive a session and wake asynchronously—on a pull-request check, a review comment, or a teammate’s message—when you are nowhere near the terminal. That single shift forces two things out into the open: durable state moves outside the chat (into explicit work items, MEMORY.md, and GitHub), and who the bot acts as has to be separated between talking to people and touching your tools.
Orca bot: Items,
MEMORY.md & GitHub; chat isn’t auto-summarized.Orca bot: Direct chat or one-shot event wakes when unattended.
Orca bot: Speaks as itself in chat/Slack; executes work as you.
Sounds like a bot. Executes as you.
“Acting on your behalf” does not mean letting a bot impersonate you in chat. Teammates should never have to guess whether they’re reading a message from you or from your bot.
Instead, split voice from work. In Orca, the bot talks under its own name and avatar—in Slack, DMs, or the thread that woke it. When it pushes branches, opens pull requests, updates issues, or checks cloud state, it runs your machine’s signed-in CLIs (gh, orca linear, gt) as you.
Because the bot lives in shared channels, teammates can also @mention it directly—asking it to answer a question in Slack, check a PR, or update an issue. Any change it makes still executes through your local logins, so it stamps those writes with “asked by <name> via <Bot>” to keep the trail clear.
Who teammates see
The bot’s own Slack identity (name + bot badge)—never spoofed as a message typed by you.
Credential path
orca slack post via Orca’s connected Slack bot token, scoped to linked workspaces.
Guardrail in practice
SOUL.md blocks unapproved external posts; if a channel name is ambiguous across workspaces, the bot must ask you which one.
Turning “what can you touch?” into credential-audit.
Watching a bot coordinate review fixes across a stack of pull requests and prep a deploy handoff raised a blunt question: what accounts, services, and credentials can this bot actually reach on my machine right now—and which ones are live?
Session harnesses and persistent bots inherit the exact same shell, yet you rarely audit your own environment while typing in it. I asked the bot to inventory its own reach—read-only, no secret values printed, no remote API calls with raw env tokens—and packaged the result as credential-audit in scaryPonens/agent-skills.
How audit.sh inspects it
Scans env variable names, MCP/Orca config files, 16 whitelisted CLI identity commands, and SSH agent keys—producing four Markdown tables with zero secret values printed.
What the result actually proves
Draws a hard line between unverified configuration (an env var or MCP entry exists) and verified authority (a CLI confirmed a live signed-in account right now).
Three catches from building and running the audit.
Running that first audit—and having the bot publish the result—turned up three surprises you only hit in real use:
1. Even --help can have side effects. On the first run, calling --help on an internal deploy CLI caused it to silently self-update on disk. You can’t probe arbitrary binaries on PATH, so its audit.sh script sticks to a fixed whitelist of read-only identity checks (gh auth status, aws sts get-caller-identity, gcloud auth list) and skips the rest.
2. Delegated gh means delegated defaults. When I asked the bot to publish credential-audit publicly, it created scaryPonens/agent-skills with my gh login—and picked an MIT license on its own, telling me afterward I could change it. Harmless here, but anything you don’t specify gets decided under your name.
3. Presence isn’t proof, and some stores stay off-limits. Finding GITHUB_TOKEN in env or a server in .mcp.json only proves possible access—an expired token looks identical when you won’t hit the API. OS Keychain, browser cookies, .env files, and raw credential files (~/.aws/credentials, ~/.kube/config, ~/.netrc) remain deliberate blind spots that the report flags as unchecked instead of reading.
Who is acting—and what is actually verified?
Pick who’s acting—or what’s actually verified—in each case below.
audit.sh finds SLACK_BOT_TOKEN in the shell environment and a Notion server listed inside .claude.json.gh repo create, or pushes a branch and opens a pull request.Seeing the shift clearly so we can move fast.
Moving from a session harness to a persistent bot isn’t just swapping one tool for another—it’s a paradigm shift. State leaves the chat, voice separates from execution, and prompt rules stop being a substitute for knowing what credentials live in your shell.
There are several deeper levels this conversation can go from here: OS and container isolation, scoped credentials, and team norms once coworkers start invoking each other’s bots. A small script like credential-audit won’t solve all of that, and it isn’t meant to. It’s a practical step toward staying ahead of the shift—understanding what a new workflow actually changes on my own machine so that when it’s worth adopting, I can move my team forward fast.