executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
mtebUse MTEB to evaluate embedding models, select tasks and benchmarks, validate model protocols, run CLI workflows, inspect result caches, and contribute tasks/models/benchmarks.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this skill when working with MTEB, the Massive Text Embedding Benchmark package for evaluating text, multimodal, and retrieval embedding systems. It routes common agent tasks across evaluation, task selection, model wrappers, command-line automation, result analysis, leaderboard workflows, and repository contributions.
pip install mteb; add extras only for the workflow that needs them, such as mteb[leaderboard], mteb[codecarbon], mteb[image], mteb[audio], or model-provider extras.python -c "import mteb; print(mteb.__version__)" and mteb --help before writing automation.mteb.ResultCache(cache_path="mteb-results-cache") or mteb run --output-folder mteb-results-cache for reproducible runs.references/repo-provenance.md when deciding whether this skill matches the current MTEB release.references/troubleshooting.md for cross-cutting install, import, optional dependency, task download, CLI, cache, and result issues.sub-skills/evaluation-workflows/SKILL.md for mteb.evaluate(...), overwrite strategies, ResultCache, predictions, CO2 tracking, failure tolerance, and mock smoke checks.sub-skills/tasks-and-benchmarks/SKILL.md for mteb.get_tasks(...), mteb.get_task(...), mteb.get_benchmark(...), languages, scripts, domains, task types, categories, modalities, beta/private/superseded behavior, and metadata inspection.sub-skills/models-and-encoders/SKILL.md for mteb.get_model(...), ModelMeta, SentenceTransformers/CrossEncoder compatibility, custom encoder/search protocols, prompts, cache/compression wrappers, BM25, and optional model dependencies.sub-skills/cli-and-automation/SKILL.md for mteb run, available-tasks, available-benchmarks, create-model-results, leaderboard, help checks, and CI-safe command validation.sub-skills/results-and-leaderboard/SKILL.md for result cache layout, ResultCache, BenchmarkResults, dataframes, model-card result metadata, result submission, and local leaderboard caveats.sub-skills/contributing-to-mteb/SKILL.md for adding tasks/datasets, benchmarks, model metadata/implementations, citations, descriptive stats, and pre-PR validation.import mteb
model = mteb.get_model("mteb/baseline-random-encoder")
tasks = mteb.get_tasks(tasks=["Banking77Classification.v2"])
cache = mteb.ResultCache(cache_path="mteb-results-cache")
results = mteb.evaluate(
model,
tasks=tasks,
cache=cache,
overwrite_strategy="only-missing",
co2_tracker=False,
)
print(results.model_name, len(results.task_results))
mteb run \
--model sentence-transformers/all-MiniLM-L6-v2 \
--tasks Banking77Classification.v2 \
--output-folder mteb-results-cache \
--overwrite-strategy only-missing \
--no-co2-tracker
references/api-surface.md summarizes the top-level APIs and CLI command surface used by multiple sub-skills.references/troubleshooting.md covers cross-cutting failures before routing to a sub-skill-specific troubleshooting file.scripts/check_mteb_environment.py verifies package import, version, CLI availability, and key API signatures without running benchmarks or downloading datasets.tasks=[...] selection takes precedence over broad filters; for combined logic, select/filter explicitly and inspect metadata.only-missing for resumable work, only-cache for offline inspection, never to protect existing results, and always for forced recomputation.import mteb and mteb --help both work in the target environment.