Token导航 LogoToken导航

Agent Skill · 开发

mteb-retrieve(mteb 检索)

mteb-retrieve 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

mteb-retrieve 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证为 MIT,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 13,713。

总安装 840周安装 35GitHub Stars 93下载 280核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/letta-ai/skills --skill mteb-retrieve

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

mteb-retrieve 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。适合围绕仓库状态、代码变更或协作事项进行整理和分析。通过 npx skills add 命令安装,需结合原始 README 核验具体用法。安装前建议确认权限范围、维护状态及是否触发联网或命令执行。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/mteb-retrieve

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

mteb-retrieve 怎么安装?

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

mteb-retrieve 支持哪些 AI 工具?

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

mteb-retrieve 需要什么权限?

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

mteb-retrieve 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

mteb-retrieve 用的人多吗?

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

mteb-retrieve 安全吗?

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

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

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

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
mteb-retrieve

mteb 检索 · 本页

84093执行命令MIT通过

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

SKILL.md 原文

MTEB Retrieve

Overview

This skill provides guidance for text embedding retrieval tasks that involve encoding documents and queries using embedding models, computing similarity scores, and retrieving or ranking documents based on semantic similarity.

Workflow

Step 1: Inspect and Parse Data

Before writing any code, carefully inspect the raw data format:

  1. Read the data file and examine actual line contents
  2. Identify formatting artifacts such as:

- Line number prefixes (e.g., 1→, 2→, 1., 1:) - Whitespace or tab characters - Quote characters or escape sequences - Header rows or metadata

  1. Design parsing logic that strips all non-content artifacts

Common data format issues:

  • Files with line numbers prepended (e.g., 1→Document text here)
  • CSV/TSV files with headers
  • JSON files with nested structures
  • Files with trailing whitespace or newlines

Verification: Print 2-3 parsed documents to confirm they contain only the actual text content.

Step 2: Load the Embedding Model

  1. Identify the model specified in the task (e.g., sentence-transformers/all-MiniLM-L6-v2)
  2. Load the model using the appropriate library (typically sentence-transformers)
  3. Verify model loading succeeded before proceeding
from sentence_transformers import SentenceTransformer
model = SentenceTransformer('model-name')

Step 3: Encode Documents and Query

  1. Encode all documents using the model's encode method
  2. Encode the query using the same model
  3. Ensure consistent encoding - same model and parameters for both

Step 4: Compute Similarities

  1. Use cosine similarity (most common for embedding retrieval)
  2. Compute similarity between query embedding and all document embeddings
  3. Store similarities with corresponding document indices
from sklearn.metrics.pairwise import cosine_similarity
similarities = cosine_similarity([query_embedding], document_embeddings)[0]

Step 5: Rank and Retrieve

  1. Sort documents by similarity score in descending order
  2. Handle the ranking request (e.g., "5th most similar" means index 4 after sorting)
  3. Extract the requested document(s)

Step 6: Validate Results

Critical verification steps before finalizing:

  1. Print top 10 results with similarity scores and document text
  2. Semantic sanity check: Do top results relate to the query?

- If query is "terminal-bench", expect documents containing "terminal", "bench", or "benchmark" - If results seem unrelated, investigate data parsing or encoding issues

  1. Check for anomalies:

- Are similarity scores reasonable (typically 0.0 to 1.0)? - Are there unexpected ties in similarity values? - Do document texts look properly parsed?

Common Pitfalls

1. Data Format Parsing Errors

Problem: Document files often include line numbers, prefixes, or other formatting artifacts.

Example: A file might contain:

 1→Beyond the Imitation Game...
 2→MTEB: Massive Text Embedding Benchmark

If not properly parsed, embeddings are computed on 1→Beyond the Imitation Game... instead of just Beyond the Imitation Game....

Solution: Always inspect raw file contents and strip all formatting artifacts before encoding.

2. Skipping Validation

Problem: Accepting results without verification can lead to incorrect answers.

Solution: Always print intermediate results (top 10 documents with scores) and verify they make semantic sense given the query.

3. Off-by-One Errors in Ranking

Problem: Confusion between 0-indexed and 1-indexed rankings.

Example: "5th most similar" means:

  • Sort by similarity descending
  • Take index 4 (0-indexed) or position 5 (1-indexed)

Solution: Be explicit about indexing when retrieving ranked results.

4. Ignoring Semantic Reasonableness

Problem: Not questioning whether results make logical sense.

Example: If query is "terminal-bench" and the 5th result is "HumanEval: Benchmarking Python code generation", ask: Does this semantically relate to the query? If not, something may be wrong.

Solution: Apply domain knowledge to sanity-check results before finalizing.

Verification Checklist

Before submitting results, confirm:

  • Data was inspected for formatting artifacts
  • Documents were parsed to contain only actual text content
  • Embedding model loaded successfully
  • Query and documents encoded with same model
  • Similarity computation used correct metric (cosine similarity)
  • Top 10+ results printed and reviewed
  • Top results semantically relate to the query
  • Correct document extracted based on ranking request

平台分布

Claude Code

29.26%
按下载量换算82

Gemini CLI

24.24%
按下载量换算68

Antigravity

18.27%
按下载量换算51

windsurf

14.21%
按下载量换算40

OpenCode

9.13%
按下载量换算26

Codex

3.42%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

继续浏览同类 Skills