loogle-search

loogle-search is a skill for Claude Code from parcadei/Continuous-Claude-v3. It costs 14 tokens per session (576 once invoked), scanned A, original, MIT.

A search tool for Mathlib, the large Lean 4 mathematics library, that finds lemmas by their type shape or signature rather than only by name.

In plain words
What is it for?
Use it to find matching theorems for types, functions, structures, and relationships in formal Lean 4 proofs.
Why use it?
It helps when you know the kind of result you need but cannot remember the lemma's exact name.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

not rated 4.0krepo +4 14d ago A scan Socket: passSnyk: passSkillSpector: pass 14 tokens original MIT

Good fit Use it to find matching theorems for types, functions, structures, and relationships in formal Lean 4 proofs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/parcadei/continuous-claude-v3/loogle-search
About the project

Continuous-Claude-v3 is a Claude Code development environment that preserves working context between sessions, coordinates specialized agents, and stores project knowledge through ledgers, handoffs, and analysis tools. It is for people using Claude Code on ongoing or complex software work. Its catalogue entries are the skills, agents, hooks, plugin, and setting that provide its workflows and orchestration.

parcadei/Continuous-Claude-v3 · 3,953 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add parcadei/Continuous-Claude-v3 --skill loogle-search
Clone the repo
git clone --depth 1 https://github.com/parcadei/Continuous-Claude-v3

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for loogle-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/parcadei/continuous-claude-v3/loogle-search/github.svg)](https://agentmods.dev/skills/parcadei/continuous-claude-v3/loogle-search)
Your own site
<a href="https://agentmods.dev/skills/parcadei/continuous-claude-v3/loogle-search"><img src="https://agentmods.dev/badge/skills/parcadei/continuous-claude-v3/loogle-search/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for loogle-search

Your own site · 80×15
<a href="https://agentmods.dev/skills/parcadei/continuous-claude-v3/loogle-search"><img src="https://agentmods.dev/badge/skills/parcadei/continuous-claude-v3/loogle-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 576 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 18 Sept 2026
  • Snyk pass 18 Sept 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00014 $0.00576
Opus 5.5 $0.00006 $0.00230
Sonnet 5.5 $0.00003 $0.00115
Haiku 4.5 $0.00001 $0.00058

Measured 2mo ago against content hash e96e223ac62e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

loogle-search scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/loogle-search/SKILL.md · 83 lines

What it actually says

Search Mathlib for lemmas by type signature pattern.

When to Use

  • Finding a lemma when you know the type shape but not the name
  • Discovering what's available for a type (e.g., all Nontrivial ↔ _ lemmas)
  • Type-directed proof search

Commands

# Search by pattern (uses server if running, else direct)
loogle-search "Nontrivial _ ↔ _"
loogle-search "(?a → ?b) → List ?a → List ?b"
loogle-search "IsCyclic, center"

# JSON output
loogle-search "List.map" --json

# Start server for fast queries (keeps index in memory)
loogle-server &

Query Syntax

Pattern Meaning
_ Any single type
?a, ?b Type variables (same variable = same type)
Foo, Bar Must mention both Foo and Bar
Foo.bar Exact name match

Examples

# Find lemmas relating Nontrivial and cardinality
loogle-search "Nontrivial _ ↔ _ < Fintype.card _"

# Find map-like functions
loogle-search "(?a → ?b) → List ?a → List ?b"
# → List.map, List.pmap, ...

# Find everything about cyclic groups and center
loogle-search "IsCyclic, center"
# → commutative_of_cyclic_center_quotient, ...

# Find Fintype.card lemmas
loogle-search "Fintype.card"

Performance

  • With server running: ~100-200ms per query
  • Cold start (no server): ~10s per query (loads 343MB index)

Setup

Loogle must be built first:

cd ~/tools/loogle && lake build
lake build LoogleMathlibCache  # or use --write-index

Integration with Proofs

When stuck in a Lean proof:

  1. Identify what type shape you need
  2. Query Loogle to find the lemma name
  3. Apply the lemma in your proof
-- Goal: Nontrivial G from 1 < Fintype.card G
-- Query: loogle-search "Nontrivial _ ↔ 1 < Fintype.card _"
-- Found: Fintype.one_lt_card_iff_nontrivial
exact Fintype.one_lt_card_iff_nontrivial.mpr h
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 83 lines · 14 tokens per session scan A e96e223ac62e

Subscribe to this mod's changes

loogle-search is a skill published in the GitHub repository parcadei/Continuous-Claude-v3 (3,953 stars, last pushed 14d ago), licensed MIT. It adds 14 tokens to every session and 576 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

loogle-search compared with skills from other repositories

loogle-search next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
loogle-searchparcadei/Continuous-Claude-v3Skill4.0k14d agoMITA14Claude Code
explain-itsergeyklay/.agentsSkill65d agoApache-2.0A188Claude Code, Codex
processtuan3w/obsidian-vault-agentSkill448mo agoMITA134Claude Code
lecturetuan3w/obsidian-vault-agentSkill448mo agoMITA107Claude Code
recalltuan3w/obsidian-vault-agentSkill448mo agoMITA88Claude Code
self-learningychampion/claude-self-learningSkill917d agononeA54Claude Code
book-analyzertuan3w/obsidian-vault-agentSkill448mo agoMITB36Claude Code