Token导航 LogoToken导航TokenDH.com
研究检索执行命令clawhub未标认证来源可访问clear审计通过

literagliterag 文档

Agent Skill

literag 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,780

周安装

117

GitHub Stars

公开资料未说明

下载量

973
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:literag(literag 文档)
来源仓库:https://github.com/mozi1924/literag
安装命令:
openclaw skills install literag
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install literag

简介

literag 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 使用独立的 SQLite 知识库和关键字加向量混合搜索大型文档语料库。
  • 通过安装命令 openclaw skills install literag 集成到 OpenClaw 宿主环境。
  • 使用前需确认权限范围、维护状态及是否涉及联网、命令执行或文件读写。
  • 建议结合来源仓库和原始 README 进一步核验具体用法和功能边界。

SKILL.md

name
literag
version
0.2.2
description
Local retrieval skill for large documentation corpora using independent SQLite knowledge libraries with keyword plus vector hybrid search. Use when searching Blender manuals, API references, SDK docs, framework docs, product docs, blog/article archives, exported markdown doc sets, or any other large external documentation that should not live in OpenClaw's main memory index. Also use when indexing, reindexing, debugging retrieval quality, checking index compatibility/status, or inspecting LiteRAG sqlite metadata. Usage: /literag search <library> <query> | /literag inspect <library> <path> [--start N --end N] | /literag index <library> | /literag status <library> | /literag meta <library> | /literag benchmark <library> --query ...
user-invocable
true
homepage
https://github.com/little-jax/literag
metadata
{ "openclaw": { "emoji": "📚", "requires": { "bins": ["python3"] } } }

LiteRAG

Use this skill when the target corpus is too large or too noisy for main agent memory.

Install

Packaged dependency install:

python3 -m pip install -r {baseDir}/requirements.txt

Layout

  • Config + databases live under <workspace>/.literag/
  • Main config: <workspace>/.literag/knowledge-libs.json
  • Default workspace resolution order: OPENCLAW_WORKSPACEWORKSPACE → walk upward from the current path until the OpenClaw workspace sentinel files are found
  • Core scripts live under skills/literag/scripts/
  • Skill bin entrypoint: skills/literag/bin/literag
  • Workspace convenience wrappers live at scripts/literag-query.py, scripts/literag-index.py, scripts/literag-status.py, scripts/literag-meta.py, and scripts/lq

Rules

  • Keep personal/work memory in OpenClaw builtin memory
  • Keep large external corpora in LiteRAG, not memory_search
  • Treat each knowledge base as an independent library with its own SQLite
  • Search first, inspect second
  • Prefer grouped document hits over raw chunk spam
  • Prefer source-relative paths when citing files back to the user
  • Use local OpenAI-compatible embeddings by default unless explicitly changed in config

Read these files when needed

  • Always read <workspace>/.literag/knowledge-libs.json when targeting a library or changing config
  • Read references/usage.md when you need command examples, output schema, or the intended search → inspect workflow
  • Read references/configuration.md when adding libraries, source roots, excludes, chunking overrides, or ranking overrides
  • Read references/agent-prompts.md when another agent / ACP harness needs a ready-made LiteRAG prompt template
  • Read references/optimization-playbook.md when a specific library needs retrieval-quality tuning, ranking cleanup, or indexing-throughput tuning
  • Read scripts under skills/literag/scripts/ only when editing behavior or diagnosing bugs

Slash / user-invocable usage

When invoked as /literag ..., parse the remaining argument string as a subcommand.

Supported forms:

  • /literag search <library> <query>
  • /literag inspect <library> <path> [--start N --end N]
  • /literag index <library> [--limit-files N] [--embedding-batch-size N]
  • /literag index-all [--limit-files N] [--embedding-batch-size N]
  • /literag status <library>
  • /literag meta <library>
  • /literag benchmark <library> --query ...

If the user gives a natural-language request instead of a strict subcommand, translate it to the nearest supported operation instead of being pedantic.

Supported commands

  • index_library.py — index one library
  • index_all.py — index all configured libraries
  • search_library.py — grouped hybrid/fts/vector retrieval
  • inspect_result.py — expand a hit by file path + chunk range
  • status_library.py — show index health / compatibility / counts
  • meta_library.py — dump raw sqlite meta records
  • benchmark_library.py — benchmark hybrid/fts/vector latency + hit shape across fixed query sets
  • bin/literag — packaged CLI entrypoint for search / inspect / index / status / meta / benchmark
  • scripts/literag-query.py — query/search/inspect wrapper
  • scripts/literag-index.py — index wrapper for one library or all libraries
  • scripts/literag-status.py — status wrapper
  • scripts/literag-meta.py — meta wrapper
  • scripts/literag-benchmark.py — benchmark wrapper
  • scripts/lq — tiny shell alias for literag-query.py

Operating workflow

  1. Read <workspace>/.literag/knowledge-libs.json
  2. Resolve the target library
  3. Run search_library.py for grouped retrieval
  4. If needed, run inspect_result.py on the top hit or chosen range
  5. For quick operator use, prefer scripts/literag-query.py or scripts/lq
  6. Use scripts/literag-index.py when you need a short indexing entrypoint
  7. Use scripts/literag-status.py before debugging weird retrieval or after config changes
  8. Use scripts/literag-meta.py when you need the raw stored metadata
  9. Use scripts/literag-benchmark.py or skills/literag/scripts/benchmark_library.py when you need repeatable retrieval latency / hit-shape comparisons
  10. Keep LiteRAG separate from builtin memory unless the user explicitly wants a durable summary copied into workspace memory

Current intent

Use LiteRAG for:

  • Blender manual + Blender Python reference
  • Future blog/article/site knowledge bases
  • Any large external docs where hybrid retrieval is needed without polluting builtin memory

适合场景

01

研究助手

02

事实核查

03

知识库问答

04

带来源的搜索总结

能力概览

能力 1

组合搜索和大模型调用

能力 2

支持多来源检索和总结

能力 3

强调引用来源和事实核查

能力 4

适合研究型 Agent 流程

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

78.57%
按下载量换算764

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install literag 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills