reef
Launch the coral-reef dashboard (auto-install, build, and start)
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Launch the coral-reef dashboard (auto-install, build, and start)
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
One-touch install of Coral companion tooling and KB runtime
Install or remove coral HUD statusline
Use when deep investigation is needed — project structure, requirement gaps, or root cause diagnosis. Supports --delegate.
Submit a bid or speech in an active --user discuss session
Use when encountering a bug, error, or unexpected behavior that needs diagnosis and fix.
Use when code needs simplification — recently modified code by default, or a specified scope.
| name | reef |
| description | Launch the coral-reef dashboard (auto-install, build, and start) |
| argument-hint | [--rebuild] |
ARCHIVED — not a live skill. Moved out of
skills/so it is not discovered or exposed to users (Claude Code recursively registers everyskills/<name>/SKILL.md; there is no frontmatter/naming flag to hide one in place).coral-reefdevelopment is paused. To re-enable: move this directory back toskills/reef/. Note the data dir (~/.claude/coral-reef/) still hardcodes~/.claudeand does not yet honorCLAUDE_CONFIG_DIR— fix that in thecoral-reefserver repo before re-enabling.
Launch the coral-reef dashboard. Handles installation, updates, builds, and startup automatically.
The runtime injects Base directory for this skill: which resolves to this skill's installed path.
From there, the plugin root is two levels up, and coral-reef/ sits as a sibling directory.
REPO_URL = "https://github.com/kangig94/coral-reef"
REEF_DATA_DIR = ~/.claude/coral-reef/
REEF_PORT = 3100
Derive the plugin root from the base directory injected by the framework:
PLUGIN_ROOT = resolve(base_directory, "../..")
REEF_DIR = resolve(PLUGIN_ROOT, "coral-reef")
Verify PLUGIN_ROOT contains package.json with "name": "coral" as a sanity check.
mkdir -p ~/.claude/coral-reef
This is coral-reef's permanent SQLite storage location, surviving /tmp reboots.
Check if REEF_DIR exists:
git clone ${REPO_URL} ${REEF_DIR}.git/: cd ${REEF_DIR} && git pull --ff-only.git/: warn user and skip update (manual install)Detect the install layout by checking if this is a nested plugin install or a dev workspace:
# Read coral-reef's package.json
cd ${REEF_DIR}
Check if the coral dependency in package.json points to the correct location:
Dev workspace layout (~/workspace/coral-reef sibling to ~/workspace/coral):
The coral dependency should be "file:../coral". Leave as-is.
Nested plugin install (${PLUGIN_ROOT}/coral-reef/ inside ${PLUGIN_ROOT}/):
The coral dependency should be "file:.." (parent is the plugin root = coral itself).
If it currently says "file:../coral", rewrite it to "file:..".
Rewrite logic (only when nested):
# Read package.json, replace "file:../coral" with "file:.." in the coral dependency
Use jq or a JSON-safe read/write to avoid breaking package.json.
cd ${REEF_DIR}
npm install
npm run build
If --rebuild argument is provided, always run the full install + build even if node_modules/ exists.
If no --rebuild and node_modules/ exists and bridge/ (build output) exists, skip install/build and go straight to start.
Check if coral-reef is already running on port 3100:
curl -s http://localhost:3100/api/system/health
cd ${REEF_DIR} && node dist/server/index.js &
Wait up to 5 seconds for the health endpoint to respond.open http://localhost:3100 # macOS
xdg-open http://localhost:3100 # Linux
Report the dashboard URL to the user.
| Scenario | Action |
|---|---|
git clone fails | Report error with URL, suggest manual clone |
git pull --ff-only fails | Warn about local changes, suggest --rebuild after manual resolution |
npm install fails | Show error output, check if coral dependency path is correct |
npm run build fails | Show error output, suggest --rebuild to retry clean |
| Port 3100 in use by non-reef process | Warn user, show what's on the port |
PLUGIN_ROOT sanity check fails | Error: cannot determine coral plugin root |
~/.claude/coral-reef/db.sqlite across sessions--rebuild to force a clean install + build (useful after coral updates)