Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By tyronerossv0.1.0Apache-2.0In 1 marketplace
Non-blocking PreToolUse hint: when Grep or a shell rg/grep searches for a bare code identifier in a repo with a ready language server, it suggests the exact `rosslabs-lsp refs --symbol` call. Never blocks; silent otherwise. Requires python3 and rosslabs-lsp on PATH.
Run automatically on Claude Code events. Claude doesn't decide.
1 caution to review before installing
A hook runs when Claude uses the Bash tool
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A PreToolUse hook that never blocks. When an agent greps for a bare code
identifier (workspace_root, \bMyType\b) inside a git repository that has a
ready language server, it adds one line of context naming the exact
RossLabs LSP call:
`workspace_root` is a bare identifier and this repository has ready language servers for rust.
... `rosslabs-lsp refs --symbol workspace_root --path <dir>` lists every reference ...
It stays silent for regex patterns, strings, non-code globs (*.md), paths
outside git, and languages without a server on PATH. It never starts a language
server: readiness comes from file extensions in a bounded walk plus a PATH
lookup, about 30 ms. It always exits 0 and never emits a permission decision.
Set ROSSLABS_LSP_HINT=0 to silence it.
Triggers: Claude Code Grep, and Bash (Claude Code and Codex) commands that
run rg, grep or egrep. Both hosts send the same PreToolUse JSON
(tool_name, tool_input, cwd) and accept the same
hookSpecificOutput.additionalContext reply, so one script serves both.
Nothing is wired automatically. Pick one.
Claude Code plugin (uses hooks/hooks.json):
/plugin marketplace add tyroneross/RossLabs-LSP
/plugin install lsp-routing-hint@rosslabs-lsp
Claude Code settings (~/.claude/settings.json or .claude/settings.json),
with <repo> replaced by this checkout's absolute path:
{
"hooks": {
"PreToolUse": [
{
"matcher": "Grep|Bash",
"hooks": [
{"type": "command", "command": "python3 <repo>/plugins/lsp-routing-hint/scripts/lsp_routing_hint.py", "timeout": 5}
]
}
]
}
}
Codex (~/.codex/config.toml; trust it once with /hooks):
[[hooks.PreToolUse]]
matcher = "Bash"
[[hooks.PreToolUse.hooks]]
type = "command"
command = "python3 <repo>/plugins/lsp-routing-hint/scripts/lsp_routing_hint.py"
timeout = 5
python3 -m unittest discover -s plugins/lsp-routing-hint/tests
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub tyroneross/rosslabs-lsp --plugin lsp-routing-hintPlugins from other owners that cover similar ground