← 返回 Skills 市场
eddieluong

Rag Accuracy Optimizer

作者 eddie Luong · GitHub ↗ · v1.3.0 · MIT-0
cross-platform ⚠ suspicious
129
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install rag-accuracy-optimizer
功能描述
Optimize accuracy for RAG (Retrieval-Augmented Generation) systems. Covers: DB schema design, chunking strategies, retrieval optimization, accuracy testing,...
安全使用建议
This skill contains substantial, plausible RAG guidance and runnable Python scripts, but the package metadata currently omits the many provider keys and connection strings the code references. Before installing or running: (1) ask the publisher to list required environment variables and config (OpenAI/Gemini/Anthropic/Cohere API keys, Qdrant/Postgres URLs, DB credentials, etc.); (2) review the included scripts (scripts/*.py) locally to confirm there are no unexpected network endpoints or hardcoded URLs; (3) run the code in a sandbox or isolated environment and provide only least-privilege credentials (use test accounts or scoped API keys); (4) if you plan to let the agent call the skill autonomously, be cautious—LLM prompts in the skill mention system prompts and injection testing, so verify the orchestration code won't leak sensitive content (system prompts, secrets) to external models; (5) consider scanning the code for outbound network calls (requests.post, socket, subprocess, etc.) and restrict network access if you cannot audit thoroughly. If the owner cannot or will not clarify the missing credential declarations, treat the omission as a red flag and prefer not to enable the skill in production.
能力评估
Purpose & Capability
Name, description, and included reference docs/scripts align with an end-to-end RAG accuracy optimizer: chunking, embeddings, hybrid retrieval, reranking, evaluation frameworks and orchestrator patterns. The presence of examples for multiple embedding providers, rerankers, and vector DBs is coherent with the stated purpose.
Instruction Scope
SKILL.md and the reference files contain concrete runtime instructions and code to call embedding/LLM providers, DB clients, and run evaluation pipelines. That scope is appropriate for a RAG optimizer, but parts of the SKILL.md include prompt-injection examples/patterns and LLM prompts — these are probably defensive (detection) patterns but flagged by pre-scan. Also the instructions and examples reference environment variables and external endpoints (OpenAI/Gemini/Anthropic/Cohere, qdrant, Postgres) that are not declared in the registry metadata.
Install Mechanism
This is instruction-first with no install spec. No remote downloads or install scripts are specified, which reduces supply-chain risk. Code files are included in the skill bundle (Python scripts) but nothing in the manifest indicates an installer that would fetch remote code at install time.
Credentials
Registry lists no required env vars or credentials, yet numerous code examples and scripts reference provider keys and connection strings (e.g., OPENAI_API_KEY, GEMINI_API_KEY, ANTHROPIC_API_KEY, Cohere key, Qdrant/Postgres connection info). That mismatch is an incoherence risk: the skill will need multiple external credentials to run as documented but does not declare them. Additionally, the examples suggest connecting to DBs and external services—ensure any keys used are least-privilege and that you understand where network traffic will go.
Persistence & Privilege
The skill does not request always:true, does not declare changes to platform-wide configuration, and is user-invocable. No elevated persistence or forced-inclusion privileges are requested in the manifest.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install rag-accuracy-optimizer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /rag-accuracy-optimizer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.3.0
**v1.3.0 summary: Major update with expanded references, enriched retrieval/testing scripts, and English documentation.** - Updated documentation in English for broader accessibility (SKILL.md and references). - Expanded and clarified advanced RAG, chunking, embedding, retrieval, and orchestrator pattern guides. - Added or improved accuracy testing, chunk optimization, and embedding benchmarking scripts. - Enhanced coverage for metadata schemas and domain-specific patterns. - Improved evaluation and testing framework reference files. - Broader vector DB and Vietnam NLP guidance.
v1.2.0
**Changelog for rag-accuracy-optimizer v1.2.0:** - Added orchestrator patterns reference (`references/orchestrator-patterns.md`) to complement the main skill documentation. - Updated SKILL.md to reference the new orchestrator documentation. - No major changes to workflow or examples in the main documentation; overall structure and guidance remain consistent.
v1.1.0
Version 1.1.0 — Major update with expanded reference materials and test scripts. - Added comprehensive reference documents: advanced RAG techniques, embedding models, testing frameworks, vector DB comparisons, and Vietnamese NLP. - Introduced new scripts for embedding benchmarking and RAGAS evaluation. - Expanded resources to support learning and experimenting with RAG system optimization. - Improved overall guidance and breadth for RAG accuracy tuning workflows.
v1.0.0
Initial release of RAG Accuracy Optimizer — a comprehensive guide for maximizing accuracy in Retrieval-Augmented Generation (RAG) systems. - Covers end-to-end workflow: data/schema design, chunking strategies, retrieval optimization, accuracy evaluation, and production safeguards. - Provides sector-specific schema design patterns (insurance, finance, healthcare, e-commerce) and detailed metadata strategies. - Outlines best practices in chunking: semantic, hierarchical, domain-specific, overlap, and chunk enrichment. - Presents retrieval optimization pipeline: query rewriting, multi-query, hybrid search (vector + BM25), reranking, contextual compression, and filtering. - Includes practical recommendations for SQL vs Vector DB usage, normalization, and monitoring for deployment.
元数据
Slug rag-accuracy-optimizer
版本 1.3.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 4
常见问题

Rag Accuracy Optimizer 是什么?

Optimize accuracy for RAG (Retrieval-Augmented Generation) systems. Covers: DB schema design, chunking strategies, retrieval optimization, accuracy testing,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 129 次。

如何安装 Rag Accuracy Optimizer?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install rag-accuracy-optimizer」即可一键安装,无需额外配置。

Rag Accuracy Optimizer 是免费的吗?

是的,Rag Accuracy Optimizer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Rag Accuracy Optimizer 支持哪些平台?

Rag Accuracy Optimizer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Rag Accuracy Optimizer?

由 eddie Luong(@eddieluong)开发并维护,当前版本 v1.3.0。

💬 留言讨论