reflectlisted
Install: claude install-skill mubit-ai/plugins
## Step 0 — resolve the binary
No environment variable carries this plugin's path under Codex. Codex lists each skill with the
absolute path of its `SKILL.md`; **this file** is at `<plugin-root>/skills/reflect/SKILL.md`, so
the binary is two directories above it:
```
<plugin-root>/bin/admin.mjs
```
Resolve that to an absolute path from this file's own location and use it in every command
below. Do not write `${CLAUDE_PLUGIN_ROOT}`: Codex sets no plugin-root variable of any
spelling, so the shell expands it to nothing and `node /bin/admin.mjs` fails with ENOENT.
Reflect over the current run with the bundled script — `POST /v2/control/reflect {run_id}`
behind it — and relay what it prints: one line per extracted lesson, with the lesson's id,
type, importance and scope on the line.
```bash
node <plugin-root>/bin/admin.mjs reflect
```
If it reports no lessons, say so plainly; an empty reflect is a real answer, not an error.
Neither command here is an MCP tool: `mubit_reflect` and `mubit_lessons` left the default
tool surface so that a session pays nothing to list them, and this script reaches the same
two routes.
## The standing catalogue
When the user wants what memory holds rather than what this run just produced:
```bash
node <plugin-root>/bin/admin.mjs lessons # this run, plus what travelled
node <plugin-root>/bin/admin.mjs lessons --scope run # this run alone
node <plugin-root>/bin/admin.mjs lessons --scope global # only what has travel