# hydra-rag-hooks

> hydra-rag-hooks — ra-yavuz-hydra-rag-hooks. Use this tool when you need to automate code retrieval and insertion in your coding workflow. It solves problems of manual code searching and integration by providing keyword-triggered local RAG hooks for Claude Code and OpenAI Codex CLI. The tool takes in a query as input and outputs retrieved code chunks from a per-folder LanceDB index, making it ideal for use in git-based development projects.

Canonical page: https://skillsregistry.net/skills/ra-yavuz-hydra-rag-hooks  
JSON: https://api.skillsregistry.net/v1/skills/ra-yavuz-hydra-rag-hooks

## Description

Keyword-triggered local RAG hooks for Claude Code AND OpenAI Codex CLI. Type rag <q>; the hook prepends retrieved chunks from a per-folder LanceDB index. apt install + codex plugin add. Successor to claude-rag-hook.

## Trust

- **Trust score (0–1):** 0.84
- **Verification tier:** verified
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** container
- **Runtime environment:** vm
- **Category:** ai-ml
- **Updated:** 2026-09-28

## Source

- **Source listing:** [GitHub](https://github.com/ra-yavuz/hydra-rag-hooks)

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "ra-yavuz-hydra-rag-hooks"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/ra-yavuz-hydra-rag-hooks` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/ra-yavuz-hydra-rag-hooks/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
