Token导航 LogoToken导航

Agent Skill · 研究检索

symdex-code-search(symdex 代码搜索)

symdex-code-search 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

symdex-code-search 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 24,738。

总安装 3,936周安装 164GitHub Stars 173下载 1,312核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:symdex-code-search(symdex 代码搜索)
来源仓库:https://github.com/husnainpk/symdex
仓库路径:skills/symdex-code-search
安装命令:
npx skills add https://github.com/husnainpk/symdex --skill symdex-code-search
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/husnainpk/symdex --skill symdex-code-search

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

symdex-code-search 用于查找、检索和筛选相关信息。适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词或任务场景快速定位候选结果。通过 npx skills add 命令从指定 GitHub 仓库安装并使用。

安装前需确认权限范围、维护状态,注意是否会触发联网、命令执行或文件读写。建议结合原始 README 核验具体用法和功能边界。

来源仓库内路径:skills/symdex-code-search

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/husnainpk/symdex --skill symdex-code-search;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

symdex-code-search 怎么安装?

在终端执行 npx skills add https://github.com/husnainpk/symdex --skill symdex-code-search。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

symdex-code-search 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

symdex-code-search 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/husnainpk/symdex --skill symdex-code-search 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

symdex-code-search 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

symdex-code-search 用的人多吗?

公开数据是累计安装 3,936 次,近一周安装 164 次,下载 1,312 次,GitHub 173 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

symdex-code-search 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
symdex-code-search

symdex 代码搜索 · 本页

3,936173执行命令未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

SymDex Code Search

Use SymDex before broad file browsing. Use it to save tokens by retrieving the exact code the agent needs instead of scanning whole files. SymDex currently covers 21 language surfaces, including Python, Go, Kotlin, Dart, Swift, HTML, CSS, Shell, Vue/Svelte script blocks, and Markdown headings plus supported fenced code blocks.

Current SymDex Snapshot

  • Package version: 0.1.26
  • Latest public tag: v0.1.26
  • MCP tool surface: 21 tools
  • Language coverage: 21 language surfaces, including Android/Kotlin, Flutter/Dart, iOS/Swift, HTML, CSS-family stylesheets, Shell, Vue/Svelte script blocks, Markdown headings, and supported fenced code blocks
  • Route extraction: Python, JavaScript/TypeScript, Spring/Kotlin, Laravel, Gin-style Go, ASP.NET, Rails/Sinatra, Phoenix, and Actix
  • Search outputs: one-line CLI token-savings footers plus MCP roi, roi_summary, and roi_agent_hint
  • Quality outputs: MCP results and CLI JSON include quality with confidence, freshness, parser mode, language surface, generated-file hints, and embedding availability
  • Context packs: CLI symdex pack and MCP build_context_pack assemble token-budgeted evidence bundles for broader feature questions
  • Semantic backends: local sentence-transformers, Voyage, OpenAI-compatible /embeddings, Gemini, and compatible proxies
  • Hosted embedding support: SYMDEX_EMBED_RPM plus symdex index --lazy for foreground structural indexing with background embedding fill
  • No-embedding mode: symdex index --no-embed skips semantic embedding work entirely
  • Watch behavior: low-memory structural refresh by default; use symdex watch --embed only when semantic embeddings must refresh continuously
  • State model: global ~/.symdex by default, optional workspace-local ./.symdex with registry.json
  • Markdown support: .md, .markdown, and .mdx headings plus supported fenced code blocks are indexed alongside source files

Start Here

  1. If the SymDex CLI reports a newer release, prefer upgrading before long sessions.
  2. Confirm the repo id.
  3. If the repo id is already known, pass repo on every scoped tool call.
  4. If the repo id is unknown, call list_repos and match the current worktree.
  5. Check freshness with get_index_status(repo).
  6. If the current worktree is not indexed, call index_folder(path=".").
  7. If the workspace already has .symdex, treat it as the intended local SymDex state and reuse it.
  8. Reuse the returned repo id for the rest of the task.

If SymDex is unavailable or indexing fails, say so clearly and fall back to normal file reads only as needed.

Core Rules

  • Search first.
  • Pass repo whenever you know it.
  • Use build_context_pack for broad "how does this feature work?", docs, API, or bug-investigation questions before issuing many separate narrow searches.
  • Prefer get_symbol or get_file_outline over full-file reads.
  • Use call graph and route tools before manual tracing.
  • Re-check get_index_status after major edits or worktree switches.
  • Read full files only when editing, reviewing unsupported or generated content, or when SymDex cannot answer.
  • Optimize for lower-token retrieval, not broad context loading.
  • If a search tool returns roi, roi_summary, or roi_agent_hint, mention the approximate token savings briefly in your response.
  • Inspect quality before reasoning from a result. Prefer fresh, parser-backed, high-confidence evidence; warn the user when evidence is stale, generated, fallback text, or missing embeddings.
  • If the repo uses workspace-local SymDex state (./.symdex), stay inside that workspace so the same index is auto-discovered.
  • Treat symdex watch as low-memory by default; only request --embed when semantic embeddings must refresh on file changes.
  • For remote embedding providers with strict request limits, prefer symdex index --lazy and set SYMDEX_EMBED_RPM instead of blocking an agent session on a long foreground embedding run.

Tool Selection

NeedTool
Index the current worktreeindex_folder
Register and index a repo explicitlyindex_repo
Find a function, class, or method by namesearch_symbols
Find code by intent or behaviorsemantic_search
Find literal text or regex matchessearch_text
Build a query-shaped evidence bundlebuild_context_pack
Read exact source for one symbolget_symbol
Get a file outline before readingget_file_outline
Get a repo map or summaryget_repo_outline or get_file_tree
Trace who calls a symbolget_callers
Trace what a symbol callsget_callees
Find HTTP routessearch_routes
Check repo freshnessget_index_status
Get code metrics and language mixget_repo_stats
List indexeslist_repos
Clean deleted-worktree indexesgc_stale_indexes

Typical Flow

  1. Confirm the repo id and freshness.
  2. Index with index_folder if needed.
  3. For broad feature, API, docs, or bug-investigation questions, start with build_context_pack.
  4. For narrow lookups, start with search_symbols, semantic_search, or search_text.
  5. Narrow to get_symbol or get_file_outline.
  6. Check quality fields on returned items before making code-understanding claims.
  7. Use get_callers, get_callees, search_routes, or get_repo_stats for deeper analysis.
  8. Fall back to direct file reads only when SymDex cannot answer precisely enough.

Decision Guide

  • "Where is X defined?" -> search_symbols
  • "What does this do?" -> semantic_search, then get_symbol
  • "How does this feature work?" -> build_context_pack
  • "Gather evidence before documenting this API" -> build_context_pack with include=["routes", "docs", "tests"]
  • "Who uses this?" -> get_callers
  • "What does this call?" -> get_callees
  • "Where is the endpoint?" -> search_routes
  • "Show me the file structure first" -> get_file_outline
  • "Give me a repo-level picture" -> get_repo_outline or get_repo_stats
  • "Is the index current?" -> get_index_status

Good Trigger Phrases

  • "Find the function that validates JWTs"
  • "Who calls this route handler?"
  • "Show me the outline of this file"
  • "Search for the code that parses webhook payloads"
  • "Find the HTTP route for /api/checkout"
  • "Give me the repo summary before I edit anything"
  • "Find the code path that might explain this bug"
  • "Check whether this logic is coherent across callers and callees"
  • "Build a context pack for this feature"

Bug And Logic Investigation

Use SymDex as evidence retrieval, not as proof by itself.

  1. Start with the symptom, route, function, or text clue.
  2. Use build_context_pack when the bug spans multiple symbols, routes, docs, or tests.
  3. Retrieve the exact symbol, route, caller chain, callee chain, and relevant docs.
  4. Inspect quality.index_fresh, quality.confidence, quality.parser_mode, quality.is_generated, and quality.has_embeddings.
  5. If evidence quality is weak, say what is missing before claiming a bug.
  6. Cite the concrete symbol, file, route, or call edge behind any bug hypothesis.

Editing

When you need to edit code:

  1. Use SymDex to find the exact symbol or file location.
  2. Read only that file or symbol slice.
  3. Make the smallest change needed.

Watch And Semantic Search

  • symdex watch refreshes structural indexes by default without loading local embedding models.
  • Use symdex watch --embed only when the task needs semantic search to stay fresh continuously.
  • If semantic_search has no embeddings, fall back to search_symbols or search_text, or re-index after enabling symdex[local], Voyage, OpenAI-compatible, Gemini, or another hosted embedding backend.
  • Use symdex index --lazy when embeddings may be slow because of hosted-model latency or RPM limits.
  • Workspace-local state keeps watcher metadata under ./.symdex, so commands should run from that workspace or pass the matching --state-dir.

Use Normal Browsing Only When Needed

  • SymDex is unavailable.
  • The repo is not indexed and cannot be indexed in the current environment.
  • The target file type is unsupported or generated.
  • You need surrounding context that the symbol-level response does not provide.

Output Checklist

  • Repo id confirmed or derived
  • Index freshness checked
  • SymDex tool chosen before broad file reads
  • Context pack used for broad multi-file questions
  • Exact symbol or file outline used before whole-file reads when possible
  • Quality metadata inspected before logic or bug claims
  • Direct file reads used only when SymDex could not answer cleanly

平台分布

Codex

37.25%
按下载量换算489

Claude

27.16%
按下载量换算356

Cursor

17.94%
按下载量换算235

Gemini CLI

8.18%
按下载量换算107

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/husnainpk/symdex --skill symdex-code-search 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills