Skip to content
Back to skills

Lightrag

ASecurity

Search and manage knowledge bases using LightRAG API. Supports multiple servers, context-aware writing, and direct information retrieval. Use when the user wants to query a LightRAG-powered knowledge base or use it as context for tasks.

  • 21 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added September 7, 2026
businessapi

Works with

  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill lightrag --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Lightrag?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Lightrag
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-lightrag/badge)](https://www.skillsdirectory.com/skills/modbender-lightrag)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: lightrag
description: Search and manage knowledge bases using LightRAG API. Supports multiple servers, context-aware writing, and direct information retrieval. Use when the user wants to query a LightRAG-powered knowledge base or use it as context for tasks.
---

# LightRAG Skill

This skill allows you to interact with one or more LightRAG API servers. You can perform queries in various modes (local, global, hybrid, mix, naive) and use the retrieved context for further processing.

## Configuration

The skill uses a configuration file at `~/.lightrag_config.json` to store server details.
Format:
```json
{
  "servers": {
    "alias1": {
      "url": "http://server1:9621",
      "api_key": "optional_key"
    },
    "alias2": {
      "url": "http://server2:9621",
      "api_key": "optional_key"
    }
  },
  "default_server": "alias1"
}
```

## Workflows

### 1. Direct Search
To find information, use `scripts/query_lightrag.py`.
Modes: `local`, `global`, `hybrid`, `mix`, `naive`.

### 2. Using Context for Writing
To use a knowledge base as context (e.g., for a test or article):
1. Run `query_lightrag.py` with the `--only-context` flag.
2. Pass the resulting context to your writing task/model.

## Reference
See [API_DOCS.md](references/API_DOCS.md) for endpoint details.

Files in this skill

  • SKILL.md1.3 KB
  • references/API_DOCS.md573 B
  • scripts/query_lightrag.py3.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in business →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.