onboard

onboard is a command for Claude Code from RohiRIK/OpenLtm. It costs 31 tokens per session (473 once invoked), scanned A, original, MIT.

An interactive setup wizard for OpenLTM, a long-term memory system for coding agents. It checks the setup, registers a project, records its goal, and introduces the main commands.

In plain words
What is it for?
Set up OpenLTM for a project, run first-time diagnostics, repeat setup safely, or perform scripted setup in CI.
Why use it?
It helps configure memory storage and agent hooks correctly when starting with a new project.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the openltm plugin — 6 skills, 8 commands, 2 agents, 6 hooks shipped together

Good fit Set up OpenLTM for a project, run first-time diagnostics, repeat setup safely, or perform scripted setup in CI.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add RohiRIK/OpenLtm
Claude Code
/plugin install openltm

Made for: Claude Code.

Or install openltm, the plugin that ships this one along with the rest of its 6 skills, 8 commands, 2 agents, 6 hooks.

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/rohirik/openltm/onboard/github.svg)](https://agentmods.dev/commands/rohirik/openltm/onboard)
Your own site
<a href="https://agentmods.dev/commands/rohirik/openltm/onboard"><img src="https://agentmods.dev/badge/commands/rohirik/openltm/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/rohirik/openltm/onboard"><img src="https://agentmods.dev/badge/commands/rohirik/openltm/onboard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 473 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00031 $0.00473
Opus 5.5 $0.00012 $0.00189
Sonnet 5.5 $0.00006 $0.00095
Haiku 4.5 $0.00003 $0.00047

Measured 3mo ago against content hash 15d958facba6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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.

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 · 53 lines

What it actually says

Runs the interactive 5-step terminal wizard for OpenLTM.

When to use

Run when starting a new project to seed goal, preferences, and context into LTM. Safe to re-run — idempotent by default (skips if already onboarded; use --force to redo).

Usage

# Interactive (default)
bun run "${CLAUDE_PLUGIN_ROOT}/src/onboard.ts"

# Non-interactive (CI / scripted setup)
bun run "${CLAUDE_PLUGIN_ROOT}/src/onboard.ts" --non-interactive

# Force re-run even if already onboarded
bun run "${CLAUDE_PLUGIN_ROOT}/src/onboard.ts" --force

Steps

# Name What happens
1 Diagnose Checks env vars, DB access, hook wiring — aborts on CRITICAL
2 Register Names the project; writes entry to registry.json
3 Goal Captures current objective; saved to context_items + memories
4 Tour Shows key commands (recall, learn, health, propose)
5 Done Writes onboarded.flag to ${CLAUDE_PLUGIN_DATA}/

Flags

Flag Effect
--non-interactive Skips all prompts; derives project name from cwd; uses default goal
--force Ignores existing onboarded.flag and runs all steps again

CRITICAL abort

If Step 1 finds CRITICAL issues (e.g. CLAUDE_PLUGIN_DATA not set, DB inaccessible), the wizard exits with code 1 and displays the failing checks. Fix these before continuing.

What it saves

  • registry.json — maps cwd to project name
  • context_items — goal row for the project
  • memories — goal stored as architecture importance-3 memory
  • onboarded.flag — timestamp file preventing duplicate runs
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. 3mo ago First seen · 53 lines · 31 tokens per session scan A 15d958facba6

Subscribe to this mod's changes

onboard is a command published in the GitHub repository RohiRIK/OpenLtm (31 stars, last pushed 2d ago), licensed MIT. It adds 31 tokens to every session and 473 once invoked, about $0.0001 per session on Opus 5.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-30.

Related

onboard compared with commands from other repositories

onboard next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
onboardRohiRIK/OpenLtmCommand312d agoMITA31Claude Code
helpEverMind-AI/EverOSCommand14kyesterdayApache-2.0A10Claude Code
memory-migrategmickel/flow-nextCommand735yesterdayMITA38Claude Code
auditgmickel/flow-nextCommand735yesterdayMITA30Claude Code
warden-selectvukkt/token-wardenCommand1329d agoMITA29Claude Code
memory-statusPseudogiant-xr/Pseudolife-MCPCommand9todayApache-2.0A14Claude Code
primeTechDufus/oh-my-claudeCommand1744mo agoMITA20Claude Code