百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
C

cs

> 开发工具
开源

codespelunker - 一个 CLI 代码搜索工具,可理解代码结构并根据相关性对结果进行排名。不需要使用 CLI、TUI、MCP 和 HTTP 支持进行索引。

1.1K stars0 点赞2 次浏览
访问官网GitHub

工具介绍

codespelunker - 一个 CLI 代码搜索工具,可理解代码结构并根据相关性对结果进行排名。不需要使用 CLI、TUI、MCP 和 HTTP 支持进行索引。

codespelunker (cs)

cs powers searchcode.com — 面向 AI 代理的结构化代码智能,可在任何仓库中使用。

一个了解代码结构并根据相关性对结果进行排名的 CLI 代码搜索工具,不需要索引

您是否曾经搜索过 authenticate,并在查找实际实现之前从配置文件、注释和测试代码中找到 200 个结果?cs 可以解决这个问题。 它将 CLI 工具的速度与通常只用于大型索引搜索引擎的相关性排名相结合 类似 Sourcegraph 或 Zoekt,但无需维护索引。

bash
cs "authenticate" --gravity=brain           # Find the complex implementation, not the interface
cs "FIXME OR TODO OR HACK" --only-comments  # Search only in comments, not code or strings
cs "error" --only-strings                   # Find where error messages are defined
cs "handleRequest" --only-declarations      # Jump straight to where it's defined
cs "handleRequest" --only-usages            # Find every call site, skip the definition
cs "error" --dedup                          # Collapse duplicated matches into one result

根据 MIT 许可证发行。 [//]: # ([![asciicast](https://asciinema.org/a/589640.svg&#41;]&#40;https://asciinema.org/a/589640&#41;) cs TUI 演示

简介: 为什么使用 cs?

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Goclicodecommand-line-toolsearch

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类开发工具
定价开源

> 相关工具

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具