跳到正文
Skillpedia
通用编程48k · #6110

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/vexor-cli/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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 vexor first for intent-based file discovery.
  • If vexor is 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) or porcelain/porcelain-z for 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-hidden and/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 doctor or vexor config --show diagnoses 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 --ext with --exclude-pattern to 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.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#6110
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能