vexor-cli
Original:🇺🇸 English
Translated
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.
2installs
Sourcescarletkc/vexor
Added on
NPX Install
npx skill4agent add scarletkc/vexor vexor-cliTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →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
bash
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/porcelainfor 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 for
code(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: or
vexor doctordiagnoses API, cache, and connectivity (tell the user to set up).vexor config --show
Examples
bash
# Find CLI entrypoints / commands
vexor search "typer app commands" --top 5bash
# Search docs by headings/sections
vexor search "user authentication flow" --path docs --mode outline --ext .md --format porcelainbash
# Locate config loading/validation logic
vexor search "config loader" --path . --mode code --ext .pybash
# Exclude tests and JavaScript files
vexor search "config loader" --path . --exclude-pattern tests/** --exclude-pattern .jsTips
- 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
--extto focus on a subset (exclude rules apply on top).--exclude-pattern