# CodeBrain

> Use this tool when you need to efficiently search and retrieve specific code snippets or understand the index status of a codebase. CodeBrain solves problems related to code discovery, reuse, and maintenance by providing AI tools with a semantic search functionality using Retrieval-Augmented Generation (RAG). It takes in code queries as input and outputs relevant code snippets and index information, ideal for use cases involving large-scale codebase management and AI-powered development.

Canonical page: https://skillsregistry.net/skills/liuwanwan1-codebrain  
JSON: https://api.skillsregistry.net/v1/skills/liuwanwan1-codebrain

## Description

Provides semantic code search and index status for codebases using RAG, enabling AI tools to query code knowledge.

## Trust

- **Trust score (0–1):** 0.68
- **Verification tier:** scanned
- **Last scanned:** 2026-08-30

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** search
- **Updated:** 2026-08-30

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/f3t07pxo93)
- **Repository:** <https://github.com/liuwanwan1/CodeBrain>

## 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": "liuwanwan1-codebrain"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/liuwanwan1-codebrain` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/liuwanwan1-codebrain/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
