| name | lightbridge-config |
| description | Bootstrap and manage the personal .lightbridge namespace — per-project config at ~/.lightbridge/projects/<project-key>/config.toml (docs-index, repo-links, research, plans, …) and the rest of the user-level ~/.lightbridge/ tree (handoffs, plans, repos.toml). Use when setting up lightbridge config for a repo, enabling or adding a config section, asking what .lightbridge supports, wiring a new config feature, or locating user-level lightbridge state. |
| metadata | {"version":"2026-07-16"} |
.lightbridge config
.lightbridge is my personal, tool-agnostic config namespace — a stable place my own
scripts and hooks read, separate from any agent's dir (.claude/, .codex/, .pi/).
Everything is user-level; nothing ever lives inside a repo (the "local scope" model —
collaborators never see it, no gitignore needed). One file per project:
~/.lightbridge/projects/<project-key>/config.toml # namespaced by [section]
resolved by scripts/lightbridge (agent-stuff): project root = git toplevel of cwd,
key = root path with separators → -.
The one rule — opt-in by section presence. A feature is on iff its [section] exists;
enabled = false disables without deleting.
The same tree holds durable, harness-neutral state: projects/<key>/handoffs/ (the
handoff skill), projects/<key>/plans/ (approved plan-mode plans, filed by
hooks/plan-capture), and ~/.lightbridge/repos.toml, the personal name→path repo registry.
Full spec (conventions, sections, keys, who reads them): references/catalog.md.
The CLI does the mechanical work
scripts/lightbridge owns creating and auditing a config — don't hand-write one.
Linked onto PATH as lightbridge / lb (see its README); otherwise
uv run <agent-stuff>/scripts/lightbridge/lightbridge.py <verb>.
lb status
lb init
lb init research repo-links
lb add repo-links
lb show [SECTION]
lb enable|disable NAME
lb sections
lb path
lb repos list|add|rm
lb doctor
init never clobbers an existing config (exit 1 — use add), and add /
enable / disable are idempotent, so all are safe to re-run. Report back what was
written and which reader consumes it.
Explain / "what can go in .lightbridge?"
Read references/catalog.md and answer from it — conventions,
sections, keys, opt-in semantics, and the reader behind each. (lb sections gives the
one-line version.)
Enable or disable a section
lb add <name> appends a section; lb enable <name> / lb disable <name> toggle one in
place (a line edit — comments survive). Never delete a block just to disable it, and don't
hand-edit enabled — the CLI owns that key.
Invent a NEW section (how this skill grows)
When the user and I design a new .lightbridge feature, follow
references/extending.md: build the reader (resolving config
through scripts/lightbridge), register it in catalog.md, add its template block to
SECTIONS in scripts/lightbridge/lightbridge.py, sync the one-line brief in
agent-instruction/AGENTS.qmd, bump metadata.version, and validate.
Source of truth
This skill is the canonical spec for .lightbridge. Each feature's internals live with
its implementation (e.g. the docs-index hook README) and are linked from the catalog — not
re-documented here. AGENTS.qmd keeps only the brief plus a pointer to this skill.