ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 4/5

lightrag

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.

Why use this skill?

Seamlessly integrate LightRAG with OpenClaw. Query knowledge bases using local, global, and hybrid search modes for intelligent, context-aware information retrieval.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/ruslanlanket/lightrag
Or

What This Skill Does

The LightRAG skill acts as an intelligent interface between OpenClaw and one or more LightRAG (Retrieval-Augmented Generation) API servers. It allows you to tap into large-scale, structured knowledge bases to retrieve precise information, synthesize complex data, or provide context-aware responses to your queries. By abstracting the complexities of graph-based retrieval, it allows you to switch between different search modes—local, global, hybrid, mix, and naive—ensuring the most relevant information is retrieved based on your specific needs.

Installation

To integrate this skill into your environment, run the following command in your terminal: clawhub install openclaw/skills/skills/ruslanlanket/lightrag

After installation, you must configure your server endpoints. Create or edit the configuration file located at ~/.lightrag_config.json. Ensure that the file follows the JSON structure containing your server aliases, URLs, and optional API keys. Designate your primary server using the default_server key to ensure seamless query execution.

Use Cases

This skill is ideal for technical research, complex knowledge management, and content creation. You can use it to query documentation repositories, summarize enterprise-level knowledge graphs, or provide grounded context for AI-driven writing tasks. For instance, developers can use it to cross-reference multiple technical specifications, while content creators can use it to ensure their writing is strictly grounded in existing documentation retrieved via the --only-context flag.

Example Prompts

  1. "Use LightRAG to query the local knowledge base about our Q4 architecture plans using the hybrid mode."
  2. "Search for the latest security protocols in the global knowledge base and summarize the findings for my report."
  3. "Retrieve technical context regarding the legacy database migration using the --only-context flag and write a summary of the implementation steps."

Tips & Limitations

  • Performance: Choose your retrieval mode carefully. Global modes are better for holistic summaries, while local modes excel at retrieving specific details.
  • Security: Always ensure that your ~/.lightrag_config.json file has restricted file permissions if you are storing API keys within it.
  • Connectivity: The skill requires a stable network connection to your configured LightRAG API endpoints. If a server is down, OpenClaw will report a connection error.
  • Formatting: Always refer to references/API_DOCS.md if you are extending the script functionality, as specific endpoints may evolve with updates to the LightRAG architecture.

Metadata

Stars1133
Views0
Updated2026-02-18
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-ruslanlanket-lightrag": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#knowledge-graph#retrieval#search#rag
Safety Score: 4/5

Flags: network-access, file-read