vexor-cli
Semantic file discovery via `vexor`. Use whenever locating where something is implemented/loaded/defined in a medium or large repo, or when the file location is unclear. Prefer this over manual browsing.
install
source · Clone the upstream repo
git clone https://github.com/scarletkc/vexor
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/scarletkc/vexor "$T" && mkdir -p ~/.claude/skills && cp -r "$T/plugins/vexor/skills/vexor-cli" ~/.claude/skills/scarletkc-vexor-vexor-cli && rm -rf "$T"
manifest:
plugins/vexor/skills/vexor-cli/SKILL.mdsource content
Vexor CLI Skill
Goal
Find files by intent (what they do), not exact text.
Use It Like This
- Use
first for intent-based file discovery.vexor - If
is missing, follow references/install-vexor.md.vexor
Command
vexor "<QUERY>" [--path <ROOT>] [--mode <MODE>] [--ext .py,.md] [--exclude-pattern <PATTERN>] [--top 5] [--format rich|porcelain|porcelain-z]
Common Flags
: root directory (default: current dir)--path/-p
: indexing/search strategy--mode/-m
: limit file extensions (e.g.,--ext/-e
).py,.md
: exclude paths by gitignore-style pattern (repeatable;--exclude-pattern
→.js
)**/*.js
: number of results--top/-k
: include dotfiles--include-hidden
: include ignored files--no-respect-gitignore
: only the top directory--no-recursive
:--format
(default) orrich
/porcelain
for scriptsporcelain-z
: in-memory only, do not read/write index cache--no-cache
Modes (pick the cheapest that works)
: routes by file type (default)auto
: filename-only (fastest)name
: first lines only (fast)head
: keyword summary (good for PRDs)brief
: code-aware chunking forcode
(best default for codebases).py/.js/.ts
: Markdown headings/sections (best for docs)outline
: chunk full file contents (slowest, highest recall)full
Troubleshooting
- Need ignored or hidden files: add
and/or--include-hidden
.--no-respect-gitignore - Scriptable output: use
(TSV) or--format porcelain
(NUL-delimited).--format porcelain-z - Get detailed help:
.vexor search --help - Config issues:
orvexor doctor
diagnoses API, cache, and connectivity (tell the user to set up).vexor config --show
Examples
# Find CLI entrypoints / commands vexor search "typer app commands" --top 5
# Search docs by headings/sections vexor search "user authentication flow" --path docs --mode outline --ext .md --format porcelain
# Locate config loading/validation logic vexor search "config loader" --path . --mode code --ext .py
# Exclude tests and JavaScript files vexor search "config loader" --path . --exclude-pattern tests/** --exclude-pattern .js
Tips
- First time search will index files (may take a minute). Subsequent searches are fast. Use longer timeouts if needed.
- Results return similarity ranking, exact file location, line numbers, and matching snippet preview.
- Combine
with--ext
to focus on a subset (exclude rules apply on top).--exclude-pattern