Skip to content
Back to skills

Search

ASecurity

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

  • 273 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 12, 2026
toolsgo

Works with

  • cli

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned September 12, 2026

npx -y skills add project-numina/numina-lean-agent --skill search --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Search?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Search
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/project-numina-search/badge)](https://www.skillsdirectory.com/skills/project-numina-search)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: search
description: "Search tools for finding Lean theorems, lemmas, and definitions in Mathlib"
---

# Search Tools

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

## Available Tools

| Tool | Purpose | When to use |
|------|---------|-------------|
| **leanexplore** | Semantic search by natural language or Lean terms | First choice for any search; **max 5 parallel queries** |
| **loogle** | Pattern-based search by type shape | When you know the type signature pattern |
| **leanfinder** | Mathlib semantic search | Alternative semantic search |
| **leansearch** | Natural language + Lean term search | Alternative to leanexplore |
| **state-search** | Search by proof goal/state | When you have a specific proof state to match |
| **hammer-premise** | Premise retrieval for automation | When looking for premises for automated tactics |

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

Files in this skill

  • SKILL.md1012 B
  • reference-hammer-premise.md947 B
  • reference-leanexplore.md1.4 KB
  • reference-leanfinder.md928 B
  • reference-leansearch.md860 B
  • reference-loogle.md1.2 KB
  • reference-state-search.md845 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.