onboard

onboard is a command for coding agents from koldovsky/project-factory. It costs 46 tokens per session (1,067 once invoked), scanned A, original, MIT.

An onboarding command for bringing an existing codebase under Project Factory's specification and review process. It detects the current stack, documents it, and adds the process without rewriting existing code.

In plain words
What is it for?
Recording the current technology stack, merging agents, workflows, scripts, hooks, CI, OpenSpec files, templates, and tool adapters, while reporting what was added or skipped.
Why use it?
Existing projects often lack consistent requirements, specifications, checks, and workflow files. This command adds that structure while preserving what is already there.

Command

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the project-factory plugin — 1 skill, 4 commands, 12 agents, 1 hook shipped together

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/koldovsky/project-factory/onboard
Clone the repo
git clone --depth 1 https://github.com/koldovsky/project-factory

Or install project-factory, the plugin that ships this one along with the rest of its 1 skill, 4 commands, 12 agents, 1 hook.

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/koldovsky/project-factory/onboard.svg)](https://agentmods.dev/commands/koldovsky/project-factory/onboard)
Your own site
<a href="https://agentmods.dev/commands/koldovsky/project-factory/onboard"><img src="https://agentmods.dev/badge/commands/koldovsky/project-factory/onboard.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 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,067 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.00046 $0.01067
Opus 5 $0.00023 $0.00534
Sonnet 5 $0.00009 $0.00213
Haiku 4.5 $0.00005 $0.00107

Measured 3d ago against content hash 051fbe04e7d5, 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 3d 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 · 74 lines

How it starts

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

/project-factory:onboard — adopt an existing repo

Bring an existing codebase under spec-driven control without clobbering it. Onboarding only DOCUMENTS and INSTALLS — it never rewrites existing code. Full detail: ${CLAUDE_PLUGIN_ROOT}/skills/project-factory/references/existing-project.md.

Steps

  1. Detect the stack — read package.json, framework + version, dir layout, test runner, CI. Record as ADR-0001 (adopt what's there; don't migrate).

  2. Install the loop (non-destructive merge) — run the /project-factory:init steps in merge mode: copy agents/workflows/scripts/hooks/CI/OpenSpec/templates — including the reflection layer (init steps 3, 3b, 8b, 9: acceptance/ visual/process/integrity checks, ledger + digest, correction intake, retro schemas, process-auditor agent, lesson upsert into AGENTS.md) — wire package.json scripts, and install the multi-tool adapters (init step 10 — --tools honored), SKIPPING anything that already exists and merging .claude/settings.json / CI / hooks rather than replacing. Adapt qa-verify's battery to the scripts the project has. Report added vs skipped.

2b. Pre-seed historical-only waivers (so brownfield is not instantly red). Legacy code has no red-first history, no acceptance artifacts, and no ledger — without waivers the honesty checks would render the whole baseline NOT-EARNED on day one and train the team to ignore red. For each BASELINE-ONLY gap (never for new work):

  • docs/qa/waivers/<date>-baseline-<req-id>.md naming the requirement id and stating historical-only: pre-onboarding baseline; evidence cannot be reconstructed (check-acceptance-methods renders these as visible WAIVED lines + counted warnings, not silent passes);
  • ratchet loosenings, if any legacy baseline must start below current state, as docs/qa/waivers/*.json {check, metric(s), reason}. Then run node scripts/correct.mjs --detect — waiver creation auto-appends correction events by design — and disposition each as waived with note historical-only brownfield baseline. The user confirms this waiver set at the baseline sign-off checkpoint (step 4); every waiver stays visible in gate output forever. New slices get ZERO pre-seeded waivers.

Read the full file on GitHub · 74 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. 3d ago First seen · 74 lines · 46 tokens per session scan A 051fbe04e7d5

Subscribe to this mod's changes

onboard is a command published in the GitHub repository koldovsky/project-factory (4 stars, last pushed 1mo ago), licensed MIT. It adds 46 tokens to every session and 1,067 once invoked, about $0.0002 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.