skills$openclaw/lightrag
ruslanlanket9.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.

9.7k stars5.4k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

namelightrag
descriptionSearch 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.
ownerruslanlanket
repositoryruslanlanket/lightrag
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @ruslanlanket/lightrag
last updatedFeb 7, 2026

Maintainer

ruslanlanket

ruslanlanket

Maintains lightrag in the OpenClaw Skills directory.

View GitHub profile
File Explorer
6 files
.
references
API_DOCS.md
544 B
scripts
query_lightrag.py
3.3 KB
_meta.json
465 B
SKILL.md
1.3 KB
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:

{
  "servers": {
    "alias1": {
      "url": "http://server1:9621",
      "api_key": "optional_key"
    },
    "alias2": {
      "url": "http://server2:9621",
      "api_key": "optional_key"
    }
  },
  "default_server": "alias1"
}

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 for endpoint details.

README.md

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.