搜索

PythonReactSEOPDF
OpenClaw

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 intelligently match skills to tasks. Supports hybrid search (BM25 + semantic), natural language task descriptions, and intelligent skill recommendations.

at61320 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install at6132/fitcheck-skill-search

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

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 v...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/at6132/fitcheck-skill-search
Version
—
Commit
ab8aaa4a63ec28427f98a0fff14bf73ff27ffea5
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

skill-search

Find and discover available skills without loading them all into context.

The Problem

Every skill you load into an agent's context consumes tokens and attention. Loading 10+ skills at once clutters the prompt and degrades performance.

The Solution

Keep only skill-search loaded. When you need a specific capability, search first, then load just that skill.

Installation

Copy this folder into your agent's skills directory:

# For OpenClaw agents
cp -r skill-search ~/.openclaw/workspace/skills/

# Or wherever your agent loads skills from

Usage

From the Agent

When the agent receives a task, have it run:

./scripts/skill_search.py "weather"

This finds relevant skills without loading them into context.

From Command Line
# Search for skills matching a keyword
./scripts/skill_search.py "pdf"

# List all available skills
./scripts/skill_search.py --list-all

# Output as JSON (for scripting)
./scripts/skill_search.py "image" --json

Workflow

  1. User asks: "I need to generate some images"
  2. Agent runs: skill_search.py "image"
  3. Agent sees: openai-image-gen — Batch-generate images via OpenAI Images API
  4. Agent loads: Only openai-image-gen/SKILL.md and uses it

Result: One skill in context instead of ten.

How It Works

The script searches:

  • System skills: /usr/local/lib/node_modules/openclaw/skills/
  • User skills: ~/.openclaw/workspace/skills/

It parses SKILL.md frontmatter (name, description) to build an index without loading file contents.

Files

  • SKILL.md — Skill definition (loaded by agent)
  • scripts/skill_search.py — Search executable
  • README.md — This file

License

MIT (or wherever this ends up)

来源内容

SKILL.md
# 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)
```bash
./scripts/skill_search.py keyword "weather"
./scripts/skill_search.py keyword "pdf"
./scripts/skill_search.py keyword "image generation"
```

### 2. Semantic Search (Meaning-based)
```bash
./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)
```bash
./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
```bash
./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*
```bash
./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 v...
README
# skill-search

Find and discover available skills without loading them all into context.

## The Problem

Every skill you load into an agent's context consumes tokens and attention. Loading 10+ skills at once clutters the prompt and degrades performance.

## The Solution

Keep only `skill-search` loaded. When you need a specific capability, search first, then load just that skill.

## Installation

Copy this folder into your agent's skills directory:

```bash
# For OpenClaw agents
cp -r skill-search ~/.openclaw/workspace/skills/

# Or wherever your agent loads skills from
```

## Usage

### From the Agent

When the agent receives a task, have it run:

```bash
./scripts/skill_search.py "weather"
```

This finds relevant skills without loading them into context.

### From Command Line

```bash
# Search for skills matching a keyword
./scripts/skill_search.py "pdf"

# List all available skills
./scripts/skill_search.py --list-all

# Output as JSON (for scripting)
./scripts/skill_search.py "image" --json
```

## Workflow

1. **User asks**: "I need to generate some images"
2. **Agent runs**: `skill_search.py "image"`
3. **Agent sees**: `openai-image-gen` — Batch-generate images via OpenAI Images API
4. **Agent loads**: Only `openai-image-gen/SKILL.md` and uses it

Result: One skill in context instead of ten.

## How It Works

The script searches:
- System skills: `/usr/local/lib/node_modules/openclaw/skills/`
- User skills: `~/.openclaw/workspace/skills/`

It parses `SKILL.md` frontmatter (name, description) to build an index without loading file contents.

## Files

- `SKILL.md` — Skill definition (loaded by agent)
- `scripts/skill_search.py` — Search executable
- `README.md` — This file

## License

MIT (or wherever this ends up)

相关技能

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

139mail

chang-tong

139邮箱邮件收发 Skill - 支持 IMAP/SMTP 协议,兼容139/QQ/163/Gmail等主流邮箱 功能: 1. 发送邮件(SMTP) 2. 接收邮件(IMAP) 3. 查看收件箱列表 4. 查看未读邮件 当用户提到 "发邮件"、"收邮件"、"查看邮件"、"邮箱"...