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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/ruslanlanket/lightragWhat 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
- "Use LightRAG to query the local knowledge base about our Q4 architecture plans using the hybrid mode."
- "Search for the latest security protocols in the global knowledge base and summarize the findings for my report."
- "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.jsonfile 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.mdif you are extending the script functionality, as specific endpoints may evolve with updates to the LightRAG architecture.
Metadata
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-ruslanlanket-lightrag": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-read
Related Skills
vk
Manage VK.com (Vkontakte) community: post content (text, photos, videos) and handle messages. Use for automating community management via VK API.
dzen
Publish articles and posts to Dzen.ru (Yandex Zen). Supports text, images, and videos. Requires session cookies and a CSRF token from a logged-in browser session.
Pinterest API v5 integration. Allows creating and reading pins, managing boards, retrieving profile data and analytics. Use this skill when the user needs to automate Pinterest tasks or access account data.
threads
Взаимодействие с Threads API для публикации постов (текст, изображения), чтения постов и получения информации о профиле. Используйте, когда пользователю нужно работать с Threads через Graph API.
avito
Manage Avito.ru account, items, and messenger via API. Use for listing items, checking balance, reading chats, and getting account info.