← 返回 Skills 市场
bytesagain3

Code Searcher

作者 bytesagain3 · GitHub ↗ · v3.0.0 · MIT-0
cross-platform ⚠ suspicious
381
总下载
0
收藏
1
当前安装
11
版本数
在 OpenClaw 中安装
/install code-searcher
功能描述
Search codebases for patterns, symbols, and TODOs. Use when navigating large codebases.
使用说明 (SKILL.md)

code-searcher

Search codebases for patterns, symbols, and TODOs. Use when navigating large codebases.

Commands

find

scripts/script.sh find \x3Cpattern dir>

todo

scripts/script.sh todo \x3Cdir>

refs

scripts/script.sh refs \x3Csymbol dir>

stats

scripts/script.sh stats \x3Cdir>

recent

scripts/script.sh recent \x3Cdir days>

grep

scripts/script.sh grep \x3Ctext dir>

Data Storage

Data stored in ~/.local/share/code-searcher/.


Powered by BytesAgain | bytesagain.com | [email protected]

安全使用建议
This skill appears to do what it claims: local codebase searches using grep/find. It does not request credentials or perform network calls. Before installing or running it on sensitive systems, review the included scripts (they're small and readable). Note two practical cautions: (1) the scripts create ~/.local/share/code-searcher but don't currently store search results there (harmless but inconsistent with the README); (2) the scripts use unquoted shell variables in a few grep/find calls, which can mishandle patterns with spaces or unusual characters—prefer passing safe, validated paths/patterns or improve the scripts to quote arguments if you plan to use them with untrusted input. If you need stricter guarantees, run the skill in a constrained environment or inspect/modify the scripts to add proper quoting and any logging/persistence behavior you expect.
功能分析
Type: OpenClaw Skill Name: code-searcher Version: 3.0.0 The skill contains multiple shell injection vulnerabilities in `scripts/script.sh` because user-supplied arguments (patterns and directories) are passed unquoted to commands like `grep` and `find` (e.g., in `cmd_find` and `cmd_grep`). Additionally, `scripts/the_silver_searcher.sh` is a misleading placeholder script that references a popular third-party tool (The Silver Searcher) without providing any actual functionality. While these issues represent significant security flaws and poor practices, there is no clear evidence of intentional malicious behavior or data exfiltration.
能力评估
Purpose & Capability
Name/description (search codebases) matches the implementation: scripts/script.sh provides find, todo, refs, stats, recent, and grep using grep/find/wc. No unrelated credentials, binaries, or external services are requested.
Instruction Scope
SKILL.md instructs the agent to run the included scripts. The scripts operate on filesystem paths provided by the user and create a data directory (~/.local/share/code-searcher). They do not read unrelated system config or transmit data off-host. Minor mismatch: SKILL.md states 'Data stored in ~/.local/share/code-searcher/', but the script only creates that directory and does not persist search results there.
Install Mechanism
No install spec; this is instruction-only plus local scripts included in the bundle. Nothing is downloaded or written to disk beyond creating the data directory when invoked.
Credentials
The skill does not request environment variables, credentials, or config paths. It references $HOME to create a local data directory, which is proportionate to the stated purpose.
Persistence & Privilege
always:false and no special privileges. The skill does not modify other skills or system-wide settings; its only persistent action is creating a directory in the user's home when run.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install code-searcher
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /code-searcher 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v3.0.0
v3.0.0: Complete rewrite with real functionality.
v2.0.1
update
v2.0.0
v2.5 standard: Use-when desc, homepage, source, security fix
v1.0.7
yaml-fix+quality
v1.0.6
yaml-fix+quality
v1.0.5
Quality upgrade
v1.0.4
Quality upgrade: custom functionality
v1.0.3
De-template, unique content, script cleanup
v1.0.2
Quality fix: cleaner docs, removed flags
v1.0.1
Quality improvement: better docs, examples, cleaner text
v1.0.0
Initial release
元数据
Slug code-searcher
版本 3.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 11
常见问题

Code Searcher 是什么?

Search codebases for patterns, symbols, and TODOs. Use when navigating large codebases. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 381 次。

如何安装 Code Searcher?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install code-searcher」即可一键安装,无需额外配置。

Code Searcher 是免费的吗?

是的,Code Searcher 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Code Searcher 支持哪些平台?

Code Searcher 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Code Searcher?

由 bytesagain3(@bytesagain3)开发并维护,当前版本 v3.0.0。

💬 留言讨论