← 返回
AI智能 中文

Skill Search

Find and retrieve available skills using keyword search, semantic search, or LLM-powered task matching. Use when the agent needs to discover, search, or inte...
使用关键词搜索、语义搜索或LLM驱动的任务匹配来查找和获取可用技能。当代理需要发现、搜索或集成技能时使用。
at6132
AI智能 clawhub v1.1.0 1 版本 99897.5 Key: 无需
★ 0
Stars
📥 975
下载
💾 47
安装
1
版本
#latest

概述

Skill Search V1.1

Find skills using keyword, semantic, or AI-powered task matching.

Overview

This skill provides three search modes:

  1. Keyword Search (Fast BM25) — Match skill names and descriptions
  2. Semantic Search (Embeddings) — Find skills by meaning/concept similarity
  3. LLM Task Matching (AI-powered) — Describe your task, get skill recommendations

When to Use

  • Before starting a new task — check if a relevant skill exists
  • When user asks for capabilities — "what can you do with PDFs?"
  • To avoid context bloat — find the right skill first, then load only that one
  • When unsure which skill applies — use semantic or LLM matching for fuzzy matches

Search Modes

1. Keyword Search (Fast)

./scripts/skill_search.py keyword "weather"
./scripts/skill_search.py keyword "pdf"
./scripts/skill_search.py keyword "image generation"

2. Semantic Search (Meaning-based)

./scripts/skill_search.py semantic "automate web browsing"
./scripts/skill_search.py semantic "create images with AI"
./scripts/skill_search.py semantic "search my past conversations"

3. LLM Task Matching (AI-powered)

./scripts/skill_search.py suggest "I need to transcribe a podcast episode"
./scripts/skill_search.py suggest "Help me generate product photos"
./scripts/skill_search.py suggest "Search through my old emails"

4. List All Skills

./scripts/skill_search.py list

Usage Pattern

  1. Search: Find skills matching your need (keyword/semantic/LLM)
  2. Preview: Read SKILL.md metadata (description, triggers)
  3. Load: If it's the right skill, read full body and execute

Example Workflows

User: "I need to generate some images"

Agent: Uses semantic search

./scripts/skill_search.py semantic "generate images AI"

Output:

Top matches (semantic):
1. openai-image-gen (0.87) — Batch-generate images via OpenAI Images API
2. browser (0.65) — Control web browser via Playwright

Agent: Reads SKILL.md, confirms fit, executes


User: "What skill should I use for transcribing audio?"

Agent: Uses LLM suggest

./scripts/skill_search.py suggest "transcribe audio"

Output:

Recommended skills for "transcribe audio":

1. openai-whisper-api — Transcribe audio via OpenAI Audio Transcriptions API (Whisper)
   Confidence: High
   Reason: Task explicitly matches skill purpose

2. sag — ElevenLabs text-to-speech (inverse operation, may be related)
   Confidence: Low
   Reason: Related to audio processing but output not input

Search Index

The skill maintains a local search index at:

  • ~/.openclaw/workspace/skills/skill-search/index/skills_index.json — Skill metadata
  • ~/.openclaw/workspace/skills/skill-search/index/embeddings.json — Semantic embeddings (lazy-loaded)

Indexing happens automatically on first semantic search if no index exists.

Force reindex:

./scripts/skill_search.py index

Resources

scripts/

  • skill_search.py — Main search interface (keyword/semantic/LLM)
  • indexer.py — Build/update search index
  • embeddings.py — Embedding generation (local miniLM)

index/

  • skills_index.json — Searchable skill metadata
  • embeddings_cache.json — Pre-computed embeddings for semantic search

版本历史

共 1 个版本

  • v1.1.0 当前
    2026-03-29 09:33 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Proactive Agent

halthelobster
将AI智能体从任务执行者升级为主动预判需求、持续优化的智能伙伴。集成WAL协议、工作缓冲区、自主定时任务及实战验证模式。Hal Stack核心组件 🦞
★ 839 📥 213,426
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,362 📥 318,964
ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 714 📥 244,101