vexor-cli
它能做什么
Vexor CLI 可以帮你在编程项目中找到文件,即使你不知道文件的确切名称。它搜索的是文件的用途,而不只是文件里的文字。
适用场景
- ✓当你需要找某个文件,但不记得它的确切名称时。
- ✓在大型项目中,手动搜索太耗时的时候。
- ✓想找到某个函数或设置写在代码的哪个位置时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/vexor-cli/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“处理用户登录的代码在哪里?”
每周 5 个新技能,1 分钟读完。
工作原理
你输入一条描述你要找什么的命令(例如“登录代码”)。然后,Vexor CLI 会分析你的项目,展示最可能包含你所需内容的文件,并附上一小段代码片段。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Supporting material availability
This catalog copy contains the inline guidance below, but does not include the following supporting paths. They are external prerequisites, not bundled files:
<support-root>/references/install-vexor.md
Ask for the original supporting material or an existing installation before using a step that depends on these paths; this catalog does not identify a verified download source for them. Resolve each path relative to that installation, inspect its contents, and verify any applicable license and execution prerequisites. Do not run a command or claim a referenced procedure was followed until its required file exists. Do not fabricate the missing scripts or treat an unrelated file with the same name as equivalent. Independent steps fully documented here can proceed within the user’s authorized scope; report any dependent step as unavailable.
Vexor CLI Skill
When to Use
- You need to locate files by intent rather than exact filename or text match.
- The repository is large enough that manual browsing or naive grep is too slow or ambiguous.
- You want semantic discovery of where something is implemented, loaded, defined, or documented.
Goal
Find files by intent (what they do), not exact text.
Use It Like This
- Use
vexorfirst for intent-based file discovery. - If
vexoris missing, follow references/install-vexor.md.
Command
vexor "<QUERY>" [--path <ROOT>] [--mode <MODE>] [--ext .py,.md] [--exclude-pattern <PATTERN>] [--top 5] [--format rich|porcelain|porcelain-z]
Common Flags
--path/-p: root directory (default: current dir)--mode/-m: indexing/search strategy--ext/-e: limit file extensions (e.g.,.py,.md)--exclude-pattern: exclude paths by gitignore-style pattern (repeatable;.js→**/*.js)--top/-k: number of results--include-hidden: include dotfiles--no-respect-gitignore: include ignored files--no-recursive: only the top directory--format:rich(default) orporcelain/porcelain-zfor scripts--no-cache: in-memory only, do not read/write index cache
Modes (pick the cheapest that works)
auto: routes by file type (default)name: filename-only (fastest)head: first lines only (fast)brief: keyword summary (good for PRDs)code: code-aware chunking for.py/.js/.ts(best default for codebases)outline: Markdown headings/sections (best for docs)full: chunk full file contents (slowest, highest recall)
Troubleshooting
- Need ignored or hidden files: add
--include-hiddenand/or--no-respect-gitignore. - Scriptable output: use
--format porcelain(TSV) or--format porcelain-z(NUL-delimited). - Get detailed help:
vexor search --help. - Config issues:
vexor doctororvexor config --showdiagnoses API, cache, and connectivity (tell the user to set up).
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
--extwith--exclude-patternto focus on a subset (exclude rules apply on top).
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
常见问题
什么是“semantic”(语义)?
意思是 Vexor CLI 能理解你搜索内容的含义,而不只是字面上的词语。它会尝试猜测你的真实意图。
什么是“模式”(modes)?
模式是 Vexor CLI 的不同搜索方式。有些模式更快,只查看文件名;另一些模式会读取文件内容,以便更好地理解文件的用途。
如果没有安装 Vexor CLI 怎么办?
Vexor CLI 需要单独安装。如果还没有安装,你需要按照它通常附带的安装说明操作,比如 install-vexor.md 文件里的步骤。
详情
作者的原始描述
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.
热度
- GitHub 星标
- 48k
- 排名
- #6110
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。