Skip to content
Development
Command

/whitelist

Manage Beacon indexing whitelist — allow indexing in specific directories that would otherwise be blacklisted

From plugin
beacon
428 skills1 agent8 commands4 hooks
> /plugin marketplace add sagarmk/beacon-plugin
> /plugin install beacon@claude-code-beacon-plugin

Command definition

whitelist.md
description: Manage Beacon indexing whitelist — allow indexing in specific directories that would otherwise be blacklisted
argument-hint: "[show | add [path] | remove <path> | clear]"
allowed-tools: [Bash]

/whitelist

Parse the user's arguments and run the appropriate subcommand:

  • `/whitelist` (no args) → `node ${CLAUDE_PLUGIN_ROOT}/scripts/whitelist-manager.js show`
  • `/whitelist add [path]` → `node ${CLAUDE_PLUGIN_ROOT}/scripts/whitelist-manager.js add [path]` (defaults to current directory if no path given)
  • `/whitelist remove <path>` → `node ${CLAUDE_PLUGIN_ROOT}/scripts/whitelist-manager.js remove <path>`
  • `/whitelist clear` → `node ${CLAUDE_PLUGIN_ROOT}/scripts/whitelist-manager.js clear`

Format the JSON output as a readable summary:

  • For `show`: list all whitelisted paths
  • For `add`/`remove`/`clear`: confirm the action and show the updated list

Whitelisted paths override the blacklist. Subdirectories of whitelisted paths are also allowed. This is useful for allowing indexing in project directories that happen to be under a blacklisted parent.

@sagarmk
Ships withbeacon

Semantic code search plugin for Claude Code using hybrid vector search + BM25. 98% accuracy, 5x faster than grep.

421 skill1 agent
Get the whole plugin

Stars on GitHub

Momentum

stars in total
42
Star history of sagarmk/beacon-plugin on GitHub, a chart by star-history.com

Other commands on beacon.

blacklist

blacklist

Command

Manage Beacon indexing blacklist — prevent indexing of dangerous directories

@sagarmk@sagarmkInstall Command
config

config

Command

View and modify Beacon configuration — providers, thresholds, indexing rules

@sagarmk@sagarmkInstall Command
index-status

index-status

Command

Show Beacon embedding index health — file count, chunk count, last sync

@sagarmk@sagarmkInstall Command
reindex

reindex

Command

Force a full re-index of the codebase (escape hatch if index gets corrupted)

@sagarmk@sagarmkInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command