Skip to content
Development
Command

/whitelist

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

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

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/whitelist

Context preview

What this command does when you run it.

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

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.

Ships withbeacon

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

Get the whole plugin
Stats
44
Stars
5
Forks
Active
Maintenance
JavaScript
Language
MIT
License
7d ago
Last commit
6mo ago
Created

Repo: sagarmk/beacon-plugin

Other commands on beacon.