/seek-router:seek-searchfrom seek-router
Searches code with seek, a local ranked search for exact queries, descriptions, and symbol definitions. Useful for finding definitions, callers, configuration, and unfamiliar code.
Ships in seek-router. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
seek returns the most relevant files with context, and tags the definitions
that sym: finds. Use it to find code, not to list every match.
seek [flags] '<query>' [path...]
Flags come before the query, and paths after it. Put all filters in the one single-quoted query. With no path, seek searches the current folder. Paths can be folders or files, inside or outside Git.
| Filter | Finds |
|---|---|
sym:Name | definitions: functions, classes, methods |
content:REGEX | content only |
file:path, -file:path | keep or drop paths that match |
lang:go | one language |
type:file | file names only |
| Flag | Effect |
|---|---|
-n N | at most N files (0 for all) |
-m N | at most N matches per file (0 for all) |
-A N, -C N | N lines of context after, or on both sides |
--lexical-only | no model work |
seek 'sym:handleRequest' # where is this defined
seek 'sym:Index file:index -file:test' # definitions, no tests
seek 'type:file config' # configuration file names
seek -n 5 'retry backoff' ./cmd ./docs # top 5 files in two folders
When you know what the code does but not its name, write a description:
seek 'validate search query syntax'
seek 'find request parser lang:go -file:_test\.go$'
A local model adds files with a similar meaning and ranks them with the text matches. Filters and paths apply to both. The results are approximate: a result can contain none of the query words, and no result (exit code 1) does not prove that the code is absent.
Write a description of three to six words: a shorter one adds few files by meaning, and a longer one can add none.
The first search of a large repository builds its indexes and can take tens of
seconds. --lexical-only skips the model.
For every occurrence, a count, a rename, or an absence check, use grep:
SEEK_ROUTER=off grep -rn 'PATTERN' .
The seek router rewrites simple grep, rg, git grep, fd, and find
commands into seek searches of at most 20 files and 3 matches per file. The
SEEK_ROUTER=off prefix runs the command unchanged.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub dualeai/seek --plugin seek-routerOther plugins' skills for the same job