360 Secure SkillHub
360 安全技能中心

code-search

该技能属于 tome 插件体系,用于围绕给定主题在 GitHub 上搜索已有实现、库或代码模式:构建检索查询、经 WebSearch 执行、解析并排序结果,可选用 GitHub API 获取更丰富的元数据,最终返回 Finding 结果,可作为研究流程的一部分或独立调用。

athola
athola
热度 62.42
最近更新 2026-08-26 21:24:24
分类:搜索依赖:联网浏览搜索 / 第三方 API应用场景:研究

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add nm-tome-code-search
Metadata
name
code-search
description
Searches GitHub for existing implementations, libraries, or patterns
version
1.9.8
triggers
["github","code","search","finding code examples or prior art on a topic during a research session"]
metadata
{"openclaw":{"homepage":"https://github.com/athola/claude-night-market/tree/master/plugins/tome","emoji":"🦞"}}
source
claude-night-market
source_plugin
tome

Night Market Skill — ported from claude-night-market/tome. For the full experience with agents, hooks, and commands, install the Claude Code plugin.

Code Search

When To Use

  • Finding existing implementations or libraries on GitHub
  • Part of a /tome:research session or standalone search

When NOT To Use

  • Searching local codebase (use Grep or Explore agent)
  • Academic literature (use /tome:papers)

Search GitHub for implementations of a given topic.

Usage

Invoked as part of /tome:research or standalone.

Workflow

  1. Build search queries using tome.channels.github.build_github_search_queries()
  2. Execute queries via WebSearch
  3. Parse results via parse_github_result()
  4. Optionally use GitHub API via build_github_api_search() for richer metadata
  5. Rank via rank_github_findings()
  6. Return Finding objects