9.7k★by ruslanlanket
lightrag – OpenClaw Skill
lightrag is an OpenClaw Skills integration for coding workflows. 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.
Skill Snapshot
| 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. OpenClaw Skills integration. |
| owner | ruslanlanket |
| repository | ruslanlanket/lightrag |
| language | Markdown |
| license | MIT |
| topics | |
| security | L1 |
| install | openclaw add @ruslanlanket/lightrag |
| last updated | Feb 7, 2026 |
Maintainer

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:
{
"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):
- Run
query_lightrag.pywith the--only-contextflag. - Pass the resulting context to your writing task/model.
Reference
See API_DOCS.md for endpoint details.
No README available.
Permissions & Security
Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.
Requirements
- OpenClaw CLI installed and configured.
- Language: Markdown
- License: MIT
- Topics:
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" } ```
FAQ
How do I install lightrag?
Run openclaw add @ruslanlanket/lightrag in your terminal. This installs lightrag into your OpenClaw Skills catalog.
Does this skill run locally or in the cloud?
OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.
Where can I verify the source code?
The source repository is available at https://github.com/openclaw/skills/tree/main/skills/ruslanlanket/lightrag. Review commits and README documentation before installing.
