← 返回 Skills 市场
whoisme007

Enhanced Search Service

作者 whoisme007 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
210
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install enhanced-search-service
功能描述
Enhances memory search by combining co-occurrence graph analysis and semantic similarity for improved contextual relevance and ranking.
使用说明 (SKILL.md)

Enhanced Search Service

Description

Provides enhanced memory search by combining co-occurrence graph analysis and semantic vector similarity. This plugin sits between memory storage and query interfaces, offering improved relevance ranking through contextual relationships and semantic understanding.

Core Capabilities

  • Unified Search: Combines co-occurrence graph expansion with semantic vector similarity
  • Relevance Ranking: Multi-factor scoring (text match, co-occurrence strength, semantic similarity)
  • Context Awareness: Leverages memory relationships to surface relevant but non-obvious connections
  • Plugin Architecture: Independent service that can be upgraded/replaced without affecting other components

Dependencies

  • Co-occurrence Engine (co-occurrence-engine): Provides relationship graph for contextual expansion
  • Semantic Vector Store (semantic-vector-store): Provides semantic similarity scoring
  • Memory Integration (memory-integration): Optional, for direct memory access if needed

Usage

As a Plugin User

from enhanced_search_adapter import EnhancedSearchAdapter

adapter = EnhancedSearchAdapter()
results = adapter.enhance_search("query about memory sync", max_results=10)

As a System Integrator

The plugin provides an adapter that implements the standard memory adapter interface with additional enhancement methods.

Skill Files

enhanced-search-service/
├── SKILL.md (this file)
├── scripts/
│   └── enhanced_search_service.py  # Core service implementation
├── integration/
│   └── adapter/
│       └── enhanced_search_adapter.py  # Adapter for star architecture
└── references/
    ├── api.md           # API documentation
    └── architecture.md  # Design and integration notes

Configuration

Default configuration (can be overridden via adapter initialization):

search:
  co_occurrence_weight: 0.3
  semantic_weight: 0.5
  text_match_weight: 0.2
  max_expansion: 5
  min_relevance_threshold: 0.1

Integration with Star Architecture

This plugin connects to the Memory Sync Enhanced (MSE) hub through its adapter. It consumes data from:

  • Co-occurrence engine (for relationship data)
  • Semantic vector store (for similarity data)

It produces enhanced search results for:

  • Memory Integration system
  • Direct user queries
  • Other plugins needing sophisticated search

Health Checks

The adapter provides health monitoring for:

  • Dependency availability (co-occurrence engine, semantic vector store)
  • Search performance metrics
  • Result quality indicators

Version History

  • v0.1.0 (initial): Basic enhancement combining co-occurrence scores with semantic similarity
  • v0.2.0 (planned): Advanced fusion algorithms and caching
  • v0.3.0 (planned): Learning-based weighting adaptation

Development Notes

This is a Phase 3 split from the original memory-integration plugin. The goal is to create a single-function plugin focused solely on search enhancement, following the star architecture principle of separation of concerns.

安全使用建议
This skill appears to implement the advertised enhancement logic, but two things need attention before installing or enabling it: (1) SKILL.md references adapter and integration files that are not included in the package — ask the publisher for the missing adapter files or confirm where the adapters will come from. (2) The Python code inserts an absolute workspace path and imports adapters from there, which means the skill will execute code from your agent's workspace (other adapters). You should: review the adapter implementations that will be imported (co_occurrence_adapter and semantic_vector_adapter) to ensure they don't make unexpected network calls or access credentials; run the skill in a sandboxed environment if possible; and verify that no adapter will exfiltrate content. If you cannot inspect the adapters, treat this as higher risk and avoid enabling it in sensitive environments.
功能分析
Type: OpenClaw Skill Name: enhanced-search-service Version: 1.0.0 The skill bundle implements an enhanced search service that combines co-occurrence analysis and semantic similarity as described in SKILL.md. The core logic in enhanced_search_service.py focuses on calculating relevance scores and interacting with internal adapters within the OpenClaw workspace. No indicators of data exfiltration, malicious execution, or prompt injection were found.
能力评估
Purpose & Capability
The code implements co-occurrence + semantic scoring as described. However SKILL.md lists additional files and an adapter (integration/adapter/enhanced_search_adapter.py and other docs) that are not present in the packaged files — an inconsistency between claimed surface and provided artifacts.
Instruction Scope
The runtime script inserts an absolute path ('/root/.openclaw/workspace/integration/adapter') into sys.path and attempts to import adapters from there. That design is plausible for an adapter architecture, but it allows the skill to load code from the agent's workspace root (other adapters/plugins). The SKILL.md does not explicitly instruct the agent to access unrelated system paths, yet the code does so. Review of the adapters that will be imported is required because they may perform network I/O or access credentials.
Install Mechanism
There is no install spec (instruction-only), which is low risk, but the package actually includes a Python implementation file. Because no install occurs, nothing is written by an installer, yet the presence of runtime code means you must review that code and any adapters it imports.
Credentials
The skill declares no required environment variables, credentials, or config paths. The code itself does not read environment secrets. That is proportionate to the stated search-enhancement purpose.
Persistence & Privilege
always is false and the skill does not request elevated or persistent platform privileges. It does attempt to import adapters at runtime, but does not modify other skills' configs or force installation.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install enhanced-search-service
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /enhanced-search-service 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of enhanced-search-service, providing advanced search enhancement as a standalone plugin. - Combines co-occurrence graph analysis and semantic vector similarity for unified, context-aware search. - Ranks search results using multi-factor scoring: text match, co-occurrence strength, and semantic similarity. - Plugin operates independently and can be integrated into various systems without affecting other components. - Offers configuration options for relevance weights and search behavior. - Includes health checks for dependencies and search quality. - Designed as a modular phase-3 split from the original memory-integration plugin.
元数据
Slug enhanced-search-service
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Enhanced Search Service 是什么?

Enhances memory search by combining co-occurrence graph analysis and semantic similarity for improved contextual relevance and ranking. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 210 次。

如何安装 Enhanced Search Service?

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

Enhanced Search Service 是免费的吗?

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

Enhanced Search Service 支持哪些平台?

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

谁开发了 Enhanced Search Service?

由 whoisme007(@whoisme007)开发并维护,当前版本 v1.0.0。

💬 留言讨论