Search Tools

SkillSearch

Search tools for finding Lean theorems, lemmas, and definitions in Mathlib

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Search Tools skill

What this skill tells your AI

The instructions your AI receives, as published by project-numina/numina-lean-agent in skills/search/SKILL.md and read by ahel’s review.

Tools for finding relevant Lean theorems, lemmas, and definitions. All scripts are in skills/cli/.

Available Tools

ToolPurposeWhen to use
leanexploreSemantic search by natural language or Lean termsFirst choice for any search; max 5 parallel queries
looglePattern-based search by type shapeWhen you know the type signature pattern
leanfinderMathlib semantic searchAlternative semantic search
leansearchNatural language + Lean term searchAlternative to leanexplore
state-searchSearch by proof goal/stateWhen you have a specific proof state to match
hammer-premisePremise retrieval for automationWhen looking for premises for automated tactics

For full parameters and examples, read the corresponding reference-<tool>.md file in this directory.

Signals

GitHub stars
273
Forks
34
Last commit
Jul 2026
Advanced
Catalog kind
skill
Gateway key
search-project-numina
Source
github.com/project-numina/numina-lean-agent