跳到正文
TakoAPI
返回技能列表

semfind

由 paperboardofficial 提供

Coding Agents & IDEs
356下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Semantic search over local text files using embeddings.

描述

该技能的功能

semfind searches text files by meaning rather than exact pattern, using local embeddings (BAAI/bge-small-en-v1.5 + FAISS) via the terminal. It works offline with no API keys. Install with `pip install semfind`.

Covers the gap where grep returns nothing because the search term and the stored text use different words for the same concept.

何时使用

  • Finding a past error in logs when you don't remember the exact wording
  • Searching project notes for a concept discussed weeks ago
  • Locating relevant memory files by topic rather than keyword
  • Recovering a decision or rationale buried in documentation
  • Scanning multiple markdown files for semantically related content

示例工作流

输入

User asks: find any notes about database connection problems in memory files

智能体
  1. 1

    Run grep first: grep "database connection" memory/*.md

  2. 2

    Grep returns no results

  3. 3

    Run semfind: semfind "database connection problems" memory/*.md -k 5

  4. 4

    Review results with similarity scores to identify relevant files

  5. 5

    Return matched lines and their similarity scores to the user

输出

memory/2026-01.md:42: Postgres refused connections after restart (0.831)

安装

clawhub install paperboardofficial/semfind

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接