Optimize agent skills for discoverability on ClawdHub/MoltHub. Use when improving search ranking, writing descriptions for semantic search, understanding how the registry indexes skills, testing search visibility, or analyzing why a skill isn't being found.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install skill-search-optimizer或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install skill-search-optimizer⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/skill-search-optimizer/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: skill-search-optimizer description: Optimize agent skills for discoverability on ClawdHub/MoltHub. Use when improving search ranking, writing descriptions for semantic search, understanding how the registry indexes skills, testing search visibility, or analyzing why a skill isn't being found. metadata: {"clawdbot":{"emoji":"🔎","requires":{"anyBins":["npx"]},"os":["linux","darwin","win32"]}} ---
Optimize skills for discoverability on the ClawdHub registry. Covers how search works, how to write descriptions that rank well, content strategies for semantic matching, testing visibility, and competitive positioning.
ClawdHub uses vector-based semantic search, not keyword matching:
User query → OpenAI embedding → Vector similarity search → Ranked results
(text-embedding-*) (Convex vector index)
Key implications:
PRIMARY: description field (frontmatter)
SECONDARY: name/slug field
TERTIARY: skill content (body markdown) — likely summarized or truncated before embedding
The description field is your search ranking. Everything else is secondary.
# How search is called internally
# POST https://clawdhub.com/api/cli/search
# Body: { "query": "user search terms", "limit": 10 }
# Returns: ranked list of skills with similarity scores
# CLI search
npx molthub@latest search "your query"
# Pattern:
# [Action verb] + [specific scope]. Use when [trigger 1], [trigger 2], [trigger 3].
# Also covers [related topic].
# Example (strong):
description: >-
Schedule and manage recurring tasks with cron and systemd timers.
Use when setting up cron jobs, writing systemd timer units,
handling timezone-aware scheduling, monitoring failed jobs,
implementing retry patterns, or debugging why a scheduled task didn't run.
# Why it works:
# - "Schedule and manage recurring tasks" → broad match for scheduling queries
# - "cron and systemd timers" → exact match for specific tool queries
# - "Use when..." triggers → matches natural-language questions
# - "debugging why a scheduled task didn't run" → matches troubleshooting queries
description: >-
[Verb] with [tool/technology]. Use when [task 1], [task 2], [task 3].
Covers [sub-topic 1], [sub-topic 2], and [sub-topic 3].
Example:
description: >-
Debug Docker containers and Compose stacks. Use when inspecting
container logs, diagnosing networking issues, troubleshooting
build failures, or investigating resource usage. Covers exec,
health checks, multi-stage builds, and distroless containers.
description: >-
[Topic] patterns for [scope]. Use when [task 1], [task 2], [task 3].
Also covers [related scope].
Example:
description: >-
Regex patterns for validation, parsing, and text extraction across
JavaScript, Python, Go, and grep. Use when writing regex for emails,
URLs, IPs, dates, or custom formats. Also covers lookahead,
lookbehind, and search-and-replace for code refactoring.
description: >-
[Process description] from [start] to [end]. Use when [scenario 1],
[scenario 2], [scenario 3].
Example:
description: >-
CI/CD pipeline configuration from commit to deployment. Use when
setting up GitHub Actions, creating matrix builds, caching
dependencies, building Docker images, or managing deployment secrets.
Semantic search understands synonyms, but being explicit helps:
# Include both the formal term AND common synonyms
description: >-
SSH tunneling and port forwarding for remote access.
Use when creating SSH tunnels, setting up port forwards,
connecting through jump hosts (bastion hosts), managing
SSH keys, or transferring files with scp and rsync.
# "tunneling" and "port forwarding" are related but distinct queries
# "jump hosts" and "bastion hosts" are synonyms — include both
# "scp and rsync" catches file transfer queries
Terms to include:
docker, git, curl, makedebug, test, deploy, monitor, parsecontainer / Docker, CI/CD / pipeline / GitHub Actionsdebugging why X doesn't work, troubleshooting YTOO SHORT (< 50 chars):
"Make things with Makefiles"
→ Not enough semantic surface for the embedding model
SWEET SPOT (80-200 chars):
"Write Makefiles for any project type. Use when setting up build
automation, defining multi-target builds, or using Make for Go,
Python, Docker, and Node.js. Also covers Just and Task."
→ Rich semantic content, multiple match angles
TOO LONG (> 250 chars):
[Long paragraph trying to list everything]
→ Gets truncated in search results display
→ Dilutes the embedding with low-signal words
→ Harder to read in listings
The skill body (markdown content after frontmatter) likely contributes to search in two ways:
Optimization strategy:
# GOOD: Heading matches likely search query
## Port Forwarding
## Key Management
## Connection Debugging
# BAD: Generic headings with no search value
## Getting Started
## Advanced Usage
## Miscellaneous
The first paragraph after the title is prime search real estate:
# GOOD
# SSH Tunnel
Create and manage SSH tunnels for secure remote access. Covers local,
remote, and dynamic port forwarding, jump hosts, key management,
agent forwarding, and file transfers with scp and rsync.
# BAD
# SSH Tunnel
This skill provides information about SSH.
# Test with the exact queries users would type
# Broad query (should your skill appear?)
npx molthub@latest search "docker"
npx molthub@latest search "testing"
npx molthub@latest search "build automation"
# Specific query (should your skill rank #1?)
npx molthub@latest search "debug docker container"
npx molthub@latest search "write makefile for go project"
npx molthub@latest search "cron job not running"
# Problem-oriented query (does your skill match troubleshooting?)
npx molthub@latest search "container networking not working"
npx molthub@latest search "why is my cron job not executing"
...安装 Skill Search Optimizer 后,可以对 AI 说这些话来触发它
Help me get started with Skill Search Optimizer
Explains what Skill Search Optimizer does, walks through the setup, and runs a quick demo based on your current project
Use Skill Search Optimizer to optimize agent skills for discoverability on ClawdHub/MoltHub
Invokes Skill Search Optimizer with the right parameters and returns the result directly in the conversation
What can I do with Skill Search Optimizer in my data & analytics workflow?
Lists the top use cases for Skill Search Optimizer, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/skill-search-optimizer/ 目录(个人级,所有项目可用),或 .claude/skills/skill-search-optimizer/(项目级)。重启 AI 客户端后,用 /skill-search-optimizer 主动调用,或让 AI 根据上下文自动发现并使用。
Skill Search Optimizer 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Skill Search Optimizer 可免费安装使用。请查阅仓库了解许可证信息。
Optimize agent skills for discoverability on ClawdHub/MoltHub. Use when improving search ranking, writing descriptions for semantic search, understanding how the registry indexes skills, testing search visibility, or analyzing why a skill isn't being found.
Automate my data & analytics tasks using Skill Search Optimizer
Identifies repetitive steps in your workflow and sets up Skill Search Optimizer to handle them automatically
Skill Search Optimizer 属于「Data & Analytics」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。