Stats
Actions
Tags
Help us improve
Share bugs, ideas, or general feedback.
From clavain
Bootstrap or check Clavain Codex installation health (install + wrapper sync + doctor)
npx claudepluginhub mistakeknot/interagency-marketplace --plugin clavainHow this command is triggered — by the user, by Claude, or both
Slash command
/clavain:codex-bootstrapThe summary Claude sees in its command listing — used to decide when to auto-load this command
# Clavain Codex Bootstrap Run this first in a Codex session or after changing Clavain command/skill files. ## JSON health output (automation) For machine-readable output, run: For read-only checks without modifying state:
Share bugs, ideas, or general feedback.
Run this first in a Codex session or after changing Clavain command/skill files.
SCRIPT_PATH="${CLAVAIN_SOURCE_DIR:-$HOME/.codex/clavain}/scripts/codex-bootstrap.sh"
if [[ ! -f "$SCRIPT_PATH" ]]; then
# fallback for local clone locations commonly used during development
for candidate in \
"$HOME/projects/Interverse/os/clavain/scripts/codex-bootstrap.sh" \
"$HOME/projects/Clavain/scripts/codex-bootstrap.sh" \
"$HOME/.codex/clavain/scripts/codex-bootstrap.sh"; do
if [[ -f "$candidate" ]]; then
SCRIPT_PATH="$candidate"
break
fi
done
fi
if [[ -z "$SCRIPT_PATH" || ! -f "$SCRIPT_PATH" ]]; then
echo "Error: codex-bootstrap.sh not found. Re-run agent install."
echo "Set CLAVAIN_SOURCE_DIR to the Clavain checkout that contains scripts/codex-bootstrap.sh."
exit 1
fi
# Direct automation-friendly bootstrap entrypoint for Codex agents
bash "$SCRIPT_PATH"
For machine-readable output, run:
bash "$SCRIPT_PATH" --json
For read-only checks without modifying state:
bash "$SCRIPT_PATH" --check-only --json