jacobemanuel

Leks — Git skill for Claude Code

Git community

Local search for coding agents: Claude Code, GitHub Copilot and Codex get the passages that answer, with file and line, from your notes, decisions, PDFs and code.

How to install Leks

This entry records only its repository, not the path inside it, so there is no exact command to give. Open jacobemanuel/leks and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Leks does

Local search for coding agents: Claude Code, GitHub Copilot and Codex get the passages that answer, with file and line, from your notes, decisions, PDFs and code. A replaced decision ranks below the one that replaced it. Words and meaning, over MCP, on your own machine.

Alternatives in Git

  • Win Dev Skills — Agent plugins for building Windows apps with GitHub Copilot, Claude Code, OpenAI Codex, and more 463 ★
  • Memorix — Open-source cross-agent memory layer for coding agents via MCP 392 ★
  • Hermes IDE — One console for every coding agent 333 ★

README

LEKS

[![tests](https://github.com/jacobemanuel/leks/actions/workflows/tests.yml/badge.svg)](https://github.com/jacobemanuel/leks/actions/workflows/tests.yml) ![Python 3.10+](https://img.shields.io/badge/python-3.10%2B-3776ab) ![License: MIT](https://img.shields.io/badge/license-MIT-2f855a)

**Your coding agent misses the note that answers, or quotes a decision you already replaced. LEKS hands it the right passages with file and line, from an index on your own machine**

It searches your notes, decisions, PDFs, `.docx` files and code by words and by meaning, puts a replaced note below the one that replaced it, and plugs into Claude Code, GitHub Copilot and Codex over MCP. No API key, no cloud

At a glance

  • The agent gets more right and costs less. Three scripted working days of questions and dev tasks in one conversation: 89% of answers right with LEKS vs 75% without (same 100 questions, Holm p 0.0043), all 14 dev tasks passed vs 12 of 14, and the bill came out 15% lower
  • Next to other local search tools. 695 held-out questions none of the tools was tuned on: with its models LEKS has the right note in the top 5 for 93.4%, vs 86.5% for qmd query, 83.3% for knowledge-rag and 81.2% for MemPalace, each gap with Holm p 1.2e-6 or lower. On words alone it's 76.3% in about 6 ms (comparison)
  • Keeps replaced decisions below their successors. On the public PEP benchmark LEKS lists the newer PEP above the replaced one for 30 of 41 pairs on words alone and 31 with models, against 2 to 11 for qmd, MemPalace and knowledge-rag, and the replaced PEP points to the newer one (comparison)
  • Finds the right note way more often. 158 held-out questions no tuning had seen, each answered by a note: 85.4% in the top 5 vs 61.4% for LEKS 2.0. 42 of them only 3.0 finds, 4 only 2.0 finds
  • Holds up on fresh questions. 120 questions written after 3.0 went live, from documents drawn at random: 83