onboard

onboard is a command for Claude Code from trustmybot/plugin. It costs 33 tokens per session (2,400 once invoked), scanned B, original, MIT.

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 for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; names the AskUserQuestion tool; mentions Claude Code.

Part of the tmb plugin — 13 skills, 6 commands, 7 agents, 8 hooks, 1 MCP server shipped together

Good fit Use it when starting a project or changing its branching model, pull-request target, remotes, or issue synchronization.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/trustmybot/plugin/onboard
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.

Clone the repo
git clone --depth 1 https://github.com/trustmybot/plugin

Made for: Claude Code.

Or install tmb, the plugin that ships this one along with the rest of its 13 skills, 6 commands, 7 agents, 8 hooks, 1 MCP server.

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

agentmods badge for onboard

README.md
[![agentmods](https://agentmods.dev/badge/commands/trustmybot/plugin/onboard/github.svg)](https://agentmods.dev/commands/trustmybot/plugin/onboard)
Your own site
<a href="https://agentmods.dev/commands/trustmybot/plugin/onboard"><img src="https://agentmods.dev/badge/commands/trustmybot/plugin/onboard/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.

agentmods 80×15 button for onboard

Your own site · 80×15
<a href="https://agentmods.dev/commands/trustmybot/plugin/onboard"><img src="https://agentmods.dev/badge/commands/trustmybot/plugin/onboard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,400 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00033 $0.02400
Opus 5.5 $0.00013 $0.00960
Sonnet 5.5 $0.00007 $0.00480
Haiku 4.5 $0.00003 $0.00240

Measured 7d ago against content hash 50df53251bfa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

onboard scanned grade B 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 7d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

Call `onboard_get_questions(agent='bro', round='sandbox')` and feed the returned question into `AskUserQuestion`. Store the answer as `sandbox_enforcement` (default: the question's first option). The Yes/No question itse
commands/onboard.md · 99 lines

How it starts

The opening of the file, as written. The whole thing — 99 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 3-5 rounds — Round 0 runs only when the session is nested below the project or another trajectory DB exists, Round 3 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, nesting, scan }. 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, state.nesting for Round 0, and state.scan for Round 2. scan is the offline pre-onboard scan of every registered repo: scan.summary (repo_count, hosts, with_dev_branch, main_only, uniform) and one scan.repos[] entry per repo with its evidence and recommendation.

2. Ask the questions

Run the AskUserQuestion ceremony in up to five rounds.

Every question from onboard_get_questions carries evidence (short facts from the scan) and recommended_reason (why the option marked recommended: true comes first, or null when the evidence picks none). Before each AskUserQuestion, write that round's evidence lines in chat as a short list, each line once, then each question's recommended_reason as one sentence. They stay in chat prose: feed the option labels and descriptions to AskUserQuestion exactly as the server built them. The Human confirms what the scan found instead of guessing.

Round 0 — Which project (only when nested)

nesting is { session_dir, project_root, nested, other_dbs: [{path, issues, tasks, empty}] }. Skip this round when nested is false and other_dbs is empty.

Otherwise explain in chat first: this session opened in session_dir, but the TMB project it uses is the workspace at project_root; list each other_dbs entry with its path and its issue and task counts. Then ask one AskUserQuestion:

  • Use workspace <project_root> (Recommended) — keep the workspace project. For each other_dbs entry with empty: true, ask whether to remove that empty DB (one Yes/No question per DB). Collect the paths the Human said yes to and pass them as remove_stray_dbs=[...] with the final workspace apply in step 3 (or in an onboard_apply(agent='bro', remove_stray_dbs=[...]) call of their own if the ceremony stops early). The server deletes a DB only while it is still empty and below the project root, and reports each refusal; a DB with any issue or task is never offered or removed. Continue with Round 1.
  • Make <session_dir> its own TMB project — offer this only when nested is true. Call onboard_apply(agent='bro', standalone=true) on its own. The server writes a standalone marker and a fresh DB under session_dir. Tell the Human to restart the session (quit and relaunch Claude Code in session_dir), then run /onboard again there. Stop this ceremony.
  • Cancel — stop. Call no apply; nothing is written.

Read the full file on GitHub · 99 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. 7d ago Changed · +9 lines · -4 tokens per session 50df53251bfa
  2. 8d ago Changed · +10 lines d8dee19b7e2c
  3. 9d ago Changed · +2 lines 001a46952c94
  4. 16d ago Changed · +8 lines · +8 tokens per session scan A → B f2288c457483
  5. 1mo ago 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 yesterday), licensed MIT. It adds 33 tokens to every session and 2,400 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.