Skip to content

project-numina/numina-lean-agent / skills/search

search

Verified

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

FileKindSize
SKILL.mdskill md1012 B
reference-hammer-premise.mdmarkdown947 B
reference-leanexplore.mdmarkdown1.4 KB
reference-leanfinder.mdmarkdown928 B
reference-leansearch.mdmarkdown860 B
reference-loogle.mdmarkdown1.2 KB
reference-state-search.mdmarkdown845 B

reference-leanexplore.md

View on GitHub
# leanexplore — Semantic Search

Searches Lean theorems/definitions using natural language, Lean terms, concept names, or identifiers. This is the recommended first-choice search tool.

> **Limit**: Do NOT run more than 5 leanexplore queries in parallel. Issue them one at a time or in small batches (≤5).

## CLI Invocation

```bash
python skills/cli/leanexplore.py QUERY [-n NUM_RESULTS]
```

Calls the Leandex HTTP API directly. If `LEAN_LEANDEX_API_KEY` is set, it is sent as a bearer token. Every invocation is logged to `cli.log`.

| Argument | Required | Default | Description |
|----------|----------|---------|-------------|
| `QUERY` | yes | — | Search query: natural language, Lean terms, concept names, identifiers |
| `-n, --num-results` | no | 5 | Maximum number of results to return |

## Examples

```bash
python skills/cli/leanexplore.py "continuous function"
python skills/cli/leanexplore.py "Cauchy Schwarz inequality"
python skills/cli/leanexplore.py "List.sum" -n 10
python skills/cli/leanexplore.py "{f : A → B} (hf : Injective f) : ∃ h, Bijective h"
```

## Notes

- Uses `LEAN_LEANDEX_API_KEY` for authenticated Leandex requests when the variable is set.
- Works best when you phrase the query as a mathematical concept, a Lean identifier, or a partial type signature.
- For proof-state-style queries, prefer `state-search` or `hammer-premise` instead.
- **Limit**: Do NOT run more than 5 leanexplore queries in parallel.
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall