Borrowing it
Nothing to install: this file belongs to briandconnelly/moonbridge. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/briandconnelly/moonbridge/main/.agents/skills/agent-bot-identity/SKILL.mdgit clone --depth 1 https://github.com/briandconnelly/moonbridgeWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/briandconnelly/moonbridge/agent-bot-identity)<a href="https://agentmods.dev/skills/briandconnelly/moonbridge/agent-bot-identity"><img src="https://agentmods.dev/badge/skills/briandconnelly/moonbridge/agent-bot-identity/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/briandconnelly/moonbridge/agent-bot-identity"><img src="https://agentmods.dev/badge/skills/briandconnelly/moonbridge/agent-bot-identity.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00113 | $0.07764 |
| Opus 5 | $0.00056 | $0.03882 |
| Sonnet 5 | $0.00023 | $0.01553 |
| Haiku 4.5 | $0.00011 | $0.00776 |
Grade A, and why
agent-bot-identity scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Asks for rootlowPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
6. Generate a private key; store at `~/.config/acme-agent/key.pem`, `chmod 600`. Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
This is a copy
100% identical to agent-bot-identity — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 299 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent Bot Identity
Core is harness-neutral; adapters ship for Claude Code (tested) and Codex CLI — Variant A partially verified with its GitHub write path not exercised and a documented as-me limitation, Variant B pending — see Phase 4.
Overview
Give a local coding agent its own GitHub App identity so the commits, pushes, and PRs it makes attribute to a bot by default, while the human's git setup (SSH key, GPG signing, keychain credentials) stays untouched on the same machine.
Attribution is per unit of work: autonomous agent work carries the bot identity, and in repos where the human also contributes through the agent, collaborated commits can carry the human's authorship via the as-me wrapper (Phase 3) while auth still rides the bot token.
The isolation mechanism is local routing that injects the bot's credentials only into the agent's sessions where the bot belongs — either per-project opt-in or automatic org-gated routing, depending on the harness adapter (Phase 4) — without editing any shell dotfiles.
Core principle: this buys attribution, not containment. The per-project scoping makes the well-behaved default path use the bot identity; the only hard boundaries are the App's installation list — which bounds git/content access and all access to private repos, not everything (see What This Enforces) — and the server-side rulesets of the repos it touches. Never present this setup as a sandbox.
When to Use
- Setting up Claude Code (or a similar local agent) to commit, push, and open PRs as a bot on a developer machine, with personal git operations unchanged.
- Splitting attribution in a repo where you contribute both directly and via the agent — collaborated work authored as you, autonomous work as the bot, without separate checkouts or settings toggles.
- Auditing an existing dual-identity setup for over-trust — e.g. a review gate assumed to bind the agent, or local scoping treated as a security boundary.
- Symptoms: agent commits show the human as author; "have the agent open PRs as a bot"; bot PRs need human approval but the agent runs on the human's laptop.
What ships with it
15 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/openai.yaml 230 B
- references/adapters/claude-code.md 21 KB
- references/adapters/codex.md 24 KB
- references/approval-laundering.md 1.7 KB
- scripts/as-me 203 B
- scripts/bot-env 9.3 KB
- scripts/bot-token 2.5 KB
- scripts/claude/bot-env-hook.sh 988 B runs code
- scripts/claude/session-env.sh 820 B runs code
- scripts/codex/codex-bot 826 B
- scripts/codex/gh 1.1 KB
- scripts/git-credential-bot 834 B
- tests/scenarios.md 70 KB
- tests/selector-cache-test.sh 9.5 KB runs code
- tests/selflocate-test.sh 14 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 299 lines · 113 tokens per session scan A 2af69564acb8
agent-bot-identity is a skill published in the GitHub repository briandconnelly/moonbridge (0 stars, last pushed today), licensed MIT. It adds 113 tokens to every session and 7,764 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (asks for root). It is 100% identical to agent-bot-identity, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
conventional-commits
Write clear, conventional git commit messages — type(scope): summary, imperative mood, a body that explains the why.
create-pr
Creates a GitHub PR with a Linear-ticket-prefixed title and a decision-led, narrative description for prisma-next. Use when the user wants to create a pull request, open a PR, or submit changes for review.
git-commit
Generate well-formatted git commit messages following conventional commit standards.
repo-sync
Manage repo-sync on macOS for shared documents and team context. Use when asked what repo-sync does, to automatically sync a repo, add a repo to repo-sync, stop syncing or un-sync a repo, check sync health, configure repo-sync, uninstall it, or install and maintain its bundled agent skill. Ordinary one-time Git pulls…
mcore-split-pr
Split a PR into multiple PRs to reduce the number of required CODEOWNERS reviewer groups.
strict-tdd
Strict RED->GREEN->REFACTOR test-driven development with enforcement. Never write production code before a failing test. Atomic commits per TDD cycle.