onboard

A project setup command for choosing how the project uses Git, pull requests, remotes, and issue tracking.

In plain words
What is it for?
Use it when starting a project or changing its branching model, pull-request target, remotes, or issue synchronization.
Why use it?
It guides configuration decisions and checks whether the chosen setup matches the project's existing remote repository.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/trustmybot/plugin/onboard
Clone the repo
git clone --depth 1 https://github.com/trustmybot/plugin
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,026 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00029 $0.01026
Opus 5 $0.00015 $0.00513
Sonnet 5 $0.00006 $0.00205
Haiku 4.5 $0.00003 $0.00103

Measured yesterday against content hash 5f674ad9a23c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

onboard scanned grade A with 0 findings 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 yesterday.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/onboard.md · 70 lines

How it starts

The opening of the file, as written. The whole thing — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Onboard / Re-onboard

Bro orchestrates an AskUserQuestion ceremony in 2-3 rounds — Round 3 runs only when shape == 'remote'. Pass answers between AUQ and the server; all deterministic logic lives in the onboard_* MCP tools.

1. Read state (one MCP call)

Call onboard_state_get(agent='bro'). Returns { first_run, current, probe }. The server re-probes internally on each call, so bro never feeds the probe back — read state.probe only to spot a shape/remote conflict in Round 1.

2. Ask the questions

Run the AskUserQuestion ceremony in up to three rounds.

Round 1 — Project shape

Call onboard_get_questions(agent='bro', round='shape'). Feed the returned questions into AskUserQuestion. When a round returns no questions, skip its AUQ.

Store the answer as shape{local, remote}.

If the answer conflicts with the probe

Only when the user picks Local-only but state.probe.origin_kind showed github/gitlab, surface the contradiction:

Heads up: this project has a <github|gitlab> origin remote, but you picked Local-only. Issues won't mirror to the remote and PRs/MRs won't be tracked. Continue, or switch to Remote-tracked?

Re-render Round 1 once. Trust the user's second answer.

Round 2 — Branching + PR target (per repo)

Branching model and PR target are per-repo. Enumerate repos with repos_list(agent='bro').

One repo — single pass. Call onboard_get_questions(agent='bro', shape=<shape>, round='main'), feed into AskUserQuestion, no per-repo framing.

Multiple repos — loop. For each repo <name>:

  • Call onboard_get_questions(agent='bro', shape=<shape>, round='main', repo=<name>).
  • Feed the returned branching + PR-target questions into AskUserQuestion, framed for <name>.
  • Call onboard_apply(agent='bro', shape=<shape>, repo=<name>, branching_model=<answer>, pr_target=<answer>) — writes only that repo's row. shape is required (the value resolved in Round 1).

The remote/provider is git-derived (scan), not asked per repo — Round 2 asks only branching + PR target.

Read the full file on GitHub · 70 lines

Changes

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.

  1. yesterday First seen · 70 lines · 29 tokens per session scan A 5f674ad9a23c

Subscribe to this mod's changes

onboard is a command published in the GitHub repository trustmybot/plugin (6 stars, last pushed 2d ago), licensed MIT. It adds 29 tokens to every session and 1,026 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.