Skip to content
Back to skills

Onboard

ASecurity

Onboard the current project into Deus code intelligence — index it for codegraph + code_search and register it so memory and search work here.

  • 51 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 4, 2026
ai-agentspythonbashsqlrailscode-reviewgit

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned September 4, 2026

npx -y skills add sliamh11/Deus --skill onboard --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Onboard?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Onboard
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sliamh11-onboard/badge)](https://www.skillsdirectory.com/skills/sliamh11-onboard)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: onboard
description: Onboard the current project into Deus code intelligence — index it for codegraph + code_search and register it so memory and search work here.
user_invocable: true
---

# /onboard

Make Deus's code-intelligence engines work in the **current project**. This
indexes the repo with both engines and registers it with Deus:

- **codegraph** — a per-repo `.codegraph/` knowledge graph (symbols, callers,
  callees, impact). Powers the `codegraph_*` MCP tools.
- **code_search** — a per-project semantic index under
  `~/.config/deus/projects/<id>/code_search.db` (sqlite-vec + Ollama). Powers
  the `search_code` MCP tool. Per-project, so onboarding one project never
  clobbers another's index.
- **registration** — writes `~/.config/deus/projects/<id>.json` so the project
  appears in Deus with its own memory settings.

## How to run it

This is a thin wrapper over the `deus init` CLI. Run it in the project you want
to onboard:

```bash
deus init
```

`onboard` is an alias — `deus onboard` is identical. Onboard a different
directory by passing a path: `deus init /path/to/project`.

After it finishes, relay the summary to the user: which engines indexed, the
DB location, and whether the project was newly registered or already known
(existing memory settings are preserved on re-run, never overwritten).

## Safety gate

`deus init` refuses to index unless the target is a git repository, and refuses
git repos with more than 5000 tracked files. This guards against accidentally
indexing a home directory or an unbounded tree. If the user genuinely wants to
onboard a non-git folder or a very large repo, re-run with `--force`:

```bash
deus init --force
```

Onboarding a non-git folder with `--force` drops a small `.deus/` marker in it
so its index stays isolated (not merged into the shared legacy DB).

## Idempotent

Re-running `deus init` in an already-onboarded project just refreshes the
indexes (codegraph `sync`, code_search reindex) and updates the last-accessed
timestamp. It never overwrites the project's memory settings.

## Notes

- macOS/Linux only (bash + git + codegraph), consistent with the rest of the
  `deus` CLI.
- If `codegraph` or the code_search prerequisites (python3 + Ollama) are
  missing, that engine is skipped with a warning — onboarding still completes
  for whatever is available. Run `/setup` to register the code-intelligence
  MCP servers if they are missing.

## Related: development guardrails

`/onboard` sets up code-intelligence search; it does not install review gates.
After onboarding, if the project has **no** review gates yet — i.e. neither
`.claude/hooks/warden-gate.py` (the portable kit) nor `scripts/codex_warden_hooks.py`
(the native gate) exists in the repo — print a one-line pointer:

> Dev-process guardrails (plan-review / code-review / verification gates) are not
> installed in this repo. Run `/add-guardrails` to add them.

Skip the pointer when either gate is already present.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.