hooks/websearch-to-exa.ts. Options: exaApiKey, numResults, type (set in user or managed settings pluginConfigs, or /config). Run claude plugin validate on the installed folder to see every event it hooks and every $ call it makes.
websearch-to-exa
Overrides the built-in WebSearch tool and routes the query to the Exa
search API through $.http.fetch. On success the hook answers { result }
in WebSearch's own output shape without calling next (the built-in search
never runs); with no key configured, or when Exa fails, it falls back to
the built-in search.
The API key comes from the plugin's options (userConfig "exaApiKey"). Never hardcode it in this file.
Options
exaApiKey: string Exa API key (required to activate)
numResults: number results per query (default 8)
type: string "auto" | "neural" | "keyword" (default "auto")Declared in .claude-plugin/plugin.json (userConfig). Set them in /config, in user settings (~/.claude/settings.json, not project settings), with --settings <file> or in managed settings:
{ "pluginConfigs": { "websearch-to-exa@skills-dir": { "options": { } } } }Install
npx claude-code-templates@latest --mod integrations/websearch-to-exa
claudeIt is written to .claude/skills/websearch-to-exa/, which Claude Code auto-loads as websearch-to-exa@skills-dir. For one session with hot reload: claude --plugin-dir .claude/skills/websearch-to-exa. claude plugin validate .claude/skills/websearch-to-exa prints every event it hooks and every $ call it makes.
Requirements. Mods are on by default in Claude Code 2.1.287+. Typed against Anthropic's declarations: https://github.com/anthropics/claude-code/tree/main/mods
websearch-to-exa
Overrides the built-in WebSearch tool and routes the query to the Exa
search API through $.http.fetch. On success the hook answers { result }
in WebSearch's own output shape without calling next (the built-in search
never runs); with no key configured, or when Exa fails, it falls back to
the built-in search.
The API key comes from the plugin's options (userConfig "exaApiKey"). Never hardcode it in this file.
Options
exaApiKey: string Exa API key (required to activate)
numResults: number results per query (default 8)
type: string "auto" | "neural" | "keyword" (default "auto")Declared in .claude-plugin/plugin.json (userConfig). Set them in /config, in user settings (~/.claude/settings.json, not project settings), with --settings <file> or in managed settings:
{ "pluginConfigs": { "websearch-to-exa@skills-dir": { "options": { } } } }Install
npx claude-code-templates@latest --mod integrations/websearch-to-exa
claudeIt is written to .claude/skills/websearch-to-exa/, which Claude Code auto-loads as websearch-to-exa@skills-dir. For one session with hot reload: claude --plugin-dir .claude/skills/websearch-to-exa. claude plugin validate .claude/skills/websearch-to-exa prints every event it hooks and every $ call it makes.
Requirements. Mods are on by default in Claude Code 2.1.287+. Typed against Anthropic's declarations: https://github.com/anthropics/claude-code/tree/main/mods
Scanned by
NVIDIA SkillSpector
Automated static analysis (no LLM) · v2.12.0 · 2026-11-19
Partial analysis: some checks could not run on this component.
7 observations in 5 categories
- Agent Snooping 2
- Data Exfiltration 2
- MCP Least Privilege 1
- MCP Rug Pull 1
- Other 1
SkillSpector looks for patterns such as shell commands, credential access, network calls or unpinned dependencies. An observation is something worth reading in the files before you install, not a confirmed vulnerability. Components that run code locally, like hooks, MCP servers and security tooling, naturally show more of them. Open one to see the lines it points at.
Agent Config Directory AccessAgent Snooping · README.md:21
| 19 | ``` |
| 20 | |
| 21 | Declared in `.claude-plugin/plugin.json` (`userConfig`). Set them in `/config`, in user settings (`~/.claude/settings.json`, not project settings), with `--settings <file>` or in managed settings: |
| 22 | |
| 23 | ```json |
Skill EnumerationAgent Snooping · README.md:34
| 32 | ``` |
| 33 | |
| 34 | It is written to `.claude/skills/websearch-to-exa/`, which Claude Code auto-loads as `websearch-to-exa@skills-dir`. For one session with hot reload: `claude --plugin-dir .claude/skills/websearch-to-exa`. `claude plugin validate .claude/skil |
| 35 | |
| 36 | **Requirements.** Mods are on by default in Claude Code 2.1.287+. Typed against Anthropic's declarations: https://github.com/anthropics/claude-code/tree/main/mods |
npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.MCP Rug Pull · README.md:30
| 28 | |
| 29 | ```sh |
| 30 | npx claude-code-templates@latest --mod integrations/websearch-to-exa |
| 31 | claude |
| 32 | ``` |
Without declared permissions the skill's intent is opaque and cannot be validated.MCP Least Privilege · SKILL.md:1
No code excerpt: this observation is about the component as a whole, not one line.
Shadow Command TriggerTrigger Abuse · SKILL.md:1
No code excerpt: this observation is about the component as a whole, not one line.
Showing 5 of 7 observations. Learn more about NVIDIA SkillSpector or how components are reviewed.