skills/library/raglite/SKILL.md
Local-first RAG cache — distill documents into structured Markdown for fast retrieval without external services.
npx skillsauth add malue-ai/dazee-small ragliteInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
将文档蒸馏为结构化 Markdown 并建立本地索引,实现快速知识检索。无需外部向量数据库。
pip install raglite
from raglite import RAGLiteConfig, insert_document
config = RAGLiteConfig(
db_url="sqlite:///~/Documents/xiaodazi/raglite.db",
)
insert_document(
doc_path="report.pdf",
config=config,
)
from raglite import retrieve_chunks, rerank_chunks
chunks = retrieve_chunks(
query="公司的营收增长情况",
num_chunks=10,
config=config,
)
reranked = rerank_chunks(query="公司的营收增长情况", chunk_ids=[c.id for c in chunks], config=config)
from raglite import rag
response = rag(
prompt="根据文档,公司去年的营收是多少?",
config=config,
)
print(response)
development
Local web search (Tavily/Exa, requires API Key). For quick searches. If no Key configured or deep research needed, use cloud_agent instead.
development
Get current weather and forecasts (no API key required).
tools
Send WhatsApp messages to other people or search/sync WhatsApp history via the wacli CLI (not for normal user chats).
tools
Start voice calls via the Moltbot voice-call plugin.