Skip to content
Development
Command

/blacklist

Manage Beacon indexing blacklist — prevent indexing of dangerous directories

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/blacklist

Context preview

What this command does when you run it.

Manage Beacon indexing blacklist — prevent indexing of dangerous directories

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.

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
6d ago
Last commit
6mo ago
Created

Repo: sagarmk/beacon-plugin

Other commands on beacon.