pilotspace

Laya Codex — Development skill for Claude Code

Development community

Ranked code retrieval for Claude Code: tree-sitter + BM25 + the Laya re-ranker, delivered through hooks and MCP.

How to install Laya Codex

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

What Laya Codex does

Ranked code retrieval for Claude Code: tree-sitter + BM25 + the Laya re-ranker, delivered through hooks and MCP.

Alternatives in Development

  • Mempalace Help — Show comprehensive MemPalace help — available skills, MCP tools, CLI commands, hooks, and architecture 58.6k ★
  • Godogen Source Repo — This repository contains two source trees for the same project: - claude/ — Claude Code source tree - codex/ 2.8k ★
  • Claude Code Everything You Need To Know — Ultimate all-in-one guide to mastering Claude Code 1.3k ★

README

laya-codex

**Claude Code gets the right code with your prompt: it reads 38% less, takes 21% fewer turns, and names the right files more often.**

laya-codex indexes your repository on your machine and, before Claude starts each task, gives it the code that task needs. Claude skips most of the grep-and-open-files hunt.

[![Latest release](https://img.shields.io/github/v/release/pilotspace/laya-codex?label=release&color=2da44e)](https://github.com/pilotspace/laya-codex/releases/latest) [![CI](https://github.com/pilotspace/laya-codex/actions/workflows/ci.yml/badge.svg)](https://github.com/pilotspace/laya-codex/actions/workflows/ci.yml) [![License: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue)](LICENSE) [![Model on Hugging Face](https://img.shields.io/badge/%F0%9F%A4%97%20model-laya--code-yellow)](https://huggingface.co/tindang/laya-code) [![Claude Code plugin](https://img.shields.io/badge/Claude%20Code-plugin-d97757)](#install)

With laya-codex, Claude Code reads 38% fewer code tokens, takes 21% fewer turns and costs 10% less; total input (−3.7%) and wall-clock time (+3.5%) show no significant change (paired benchmark, 60 tasks on three repositories, 95% confidence intervals)

Install

**macOS (Apple Silicon)** or **Linux x86_64**. Installation takes about a minute, plus the model download on macOS.

**1. Install the `laya-codex` binary**

curl -fsSL https://raw.githubusercontent.com/pilotspace/laya-codex/main/install.sh | sh

**2. Turn it on in Claude Code**, for every repository at once:

/plugin marketplace add pilotspace/laya-codex
/plugin install laya-codex@laya-codex

That's it. Open Claude Code in any git repository: laya-codex indexes it in the background and starts helping from the next prompt. To che