# Bootstrap Plexus

> This skill should be used when the user wants to install, set up, repair, or initialize the Plexus remote-device memory plugin; when they ask where Plexus stores persistent REMOTE.md host profiles; or when host profiles are missing and need to be seeded from bundled defaults.

- Skill: `dinglebear-ai/bootstrap-plexus` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx skillmds@latest add dinglebear-ai/bootstrap-plexus`
- Raw SKILL.md: https://api.skillmd.com/api/skills/dinglebear-ai/bootstrap-plexus/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: dinglebear-ai (https://skillmd.com/u/dinglebear-ai)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/dinglebear-ai/bootstrap-plexus

---


# Bootstrap Plexus

Use this skill before first use of Plexus, after plugin install/upgrade, or when
the user asks to repair missing host profiles.

## Dynamic Bootstrap

This initializes missing persistent profiles from bundled templates. It never
overwrites existing `REMOTE.md` files. In Claude Code, the dynamic command below
is executable skill syntax. In Codex/OpenAI contexts, run the same shell command
with `exec_command`.

!`python3 "${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-plugins/plexus}}/scripts/remote-context.py" --init $ARGUMENTS`

## Persistent Data Contract

Plexus must not store mutable host memory in the plugin source tree. Bundled
files under `${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-plugins/plexus}}/templates/remotes/` are
defaults only.

Persistent host profiles live at:

```text
${CLAUDE_PLUGIN_DATA}/remotes/<host>/REMOTE.md
```

During local development outside an installed plugin, the fallback is:

```text
~/.plexus/remotes/<host>/REMOTE.md
```

The user can override this with `PLEXUS_DATA_DIR` or `--data-dir`.

## After Bootstrap

Report the data directory and any profiles seeded. If a profile already exists,
leave it untouched and tell the user it was preserved.

To inspect a seeded profile:

```bash
python3 "${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-plugins/plexus}}/scripts/remote-context.py" <host> --no-probe
```

