Skip to content
Development
Command

/blacklist

Manage Beacon indexing blacklist — prevent indexing of dangerous directories

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

Command definition

blacklist.md
description: Manage Beacon indexing blacklist — prevent indexing of dangerous directories
argument-hint: "[show | add <path> | remove <path> | reset]"
allowed-tools: [Bash]

/blacklist

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

  • `/blacklist` (no args) → `node ${CLAUDE_PLUGIN_ROOT}/scripts/blacklist-manager.js show`
  • `/blacklist add <path>` → `node ${CLAUDE_PLUGIN_ROOT}/scripts/blacklist-manager.js add <path>`
  • `/blacklist remove <path>` → `node ${CLAUDE_PLUGIN_ROOT}/scripts/blacklist-manager.js remove <path>`
  • `/blacklist reset` → `node ${CLAUDE_PLUGIN_ROOT}/scripts/blacklist-manager.js reset`

Format the JSON output as a readable summary:

  • For `show`: list the effective blacklist paths with a note about defaults vs user additions
  • For `add`/`remove`/`reset`: confirm the action and show the updated list

The default blacklist automatically includes all ancestor directories from `/` to the user's home directory (e.g., `/`, `/Users`, `/Users/<username>`). This prevents accidentally indexing root or home directories. User additions are merged on top of these defaults. The whitelist overrides the blacklist for specific paths.

@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.

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