Agent SkillsKnockOutEZ/wigolo › wigolo-find-similar

wigolo-find-similar

GitHub

通过融合向量嵌入、关键词搜索和实时网页搜索(RRF算法)发现相似内容。支持基于URL或概念查找相关页面,提供缓存优先、纯网络扩展及爬取排名等多种模式,适用于内容关联挖掘与冷启动场景。

skills/wigolo-find-similar/SKILL.md KnockOutEZ/wigolo

触发场景

用户要求查找与给定URL或概念相似的内容 用户使用'find similar'、'related pages'等指令 需要基于已知源进行语义发现时

安装

npx skills add KnockOutEZ/wigolo --skill wigolo-find-similar -g -y
更多选项

不安装直接使用

npx skills use KnockOutEZ/wigolo@wigolo-find-similar

指定 Agent (Claude Code)

npx skills add KnockOutEZ/wigolo --skill wigolo-find-similar -a claude-code -g -y

安装 repo 全部 skill

npx skills add KnockOutEZ/wigolo --all -g -y

预览 repo 内 skill

npx skills add KnockOutEZ/wigolo --list

SKILL.md

Frontmatter
{
    "name": "wigolo-find-similar",
    "license": "AGPL-3.0-only",
    "metadata": {
        "author": "KnockOutEZ",
        "version": "0.1.43-beta.2",
        "homepage": "https:\/\/github.com\/KnockOutEZ\/wigolo",
        "repository": "https:\/\/github.com\/KnockOutEZ\/wigolo"
    },
    "description": "Hybrid semantic discovery — fuses embeddings + keyword search + live web search via 3-way Reciprocal Rank Fusion. Use when the user has a good source and wants more like it, says \"find similar\", \"related pages\", \"more like this\", or wants to discover content related to a known URL or concept. Works best after a `crawl` or several `fetch` calls have warmed the local cache. Emits `cold_start` when local signals are weak.\n"
}

wigolo find_similar

Hybrid semantic discovery: semantic embeddings + keyword search + web search, fused via Reciprocal Rank Fusion (RRF).

Quick Reference

// Find pages similar to a URL
{ "url": "https://docs.astro.build/en/getting-started/" }

// Find pages related to a concept
{ "concept": "JavaScript framework server-side rendering" }

// Scoped to specific domains
{ "url": "https://react.dev/reference/react/use", "include_domains": ["vuejs.org", "svelte.dev"] }

// Cache-only (no web fallback)
{ "url": "https://example.com/page", "include_web": false }

Parameters

Parameter Type Default When to use
url string Find pages similar to this URL's content
concept string Find pages related to a text concept (no URL needed)
max_results number 10 Cap at 50
include_domains string[] none Scope results to specific sites
exclude_domains string[] none Filter out domains
include_cache boolean true Search local cache (fast, free)
include_web boolean true Web fallback when cache is sparse
mode string "auto" "auto", "cache", "web-expansion", "crawl-rank"
threshold number 0 Hard post-filter on the raw fused score; 0 = no filtering. Filters match_signals.fused_score, not the normalized relevance_score
include_ranking_debug boolean false Attach per-result ranking_debug with the raw ranks
max_tokens_out number none Token-budget cap (cl100k-base)
include_full_markdown boolean false Restore full body alongside evidence
citation_format string "numbered" "numbered" / "json" / "anthropic_tags"

Provide either url or concept (not both).

How It Works

  1. Embeds the input (URL content or concept text) into a vector.
  2. Searches local cache via embedding similarity + keyword matching.
  3. Falls back to web search if local hits are sparse.
  4. Fuses all signals via 3-way Reciprocal Rank Fusion (RRF).
  5. Returns ranked results. Each carries match_signals with the fused_score. Set include_ranking_debug: true to also attach a per-result ranking_debug object exposing the individual source ranks (fts5_rank, embedding_rank, web_rank, rrf_score) so you can audit disagreement between the three ranking sources.

Modes

  • auto (default) — pick the strategy from available signals.
  • cache — local hybrid only (keyword + semantic over the cache).
  • web-expansion — derive key terms and expand via web search.
  • crawl-rank — 1-hop crawl from the seed URL, embed, and cosine-rank the neighbours.

Cold-Start Signal

When the fused score from local signals is below threshold (env WIGOLO_FIND_SIMILAR_COLD_START_THRESHOLD), the response includes a cold_start string explaining why results came from web search. Pass it verbatim to the user.

Important: Build the Cache First

find_similar works best with a warm cache. Recommended workflow:

// Step 1: crawl to populate cache with embeddings
{ "url": "https://docs.framework.dev", "strategy": "sitemap", "max_pages": 20 }

// Step 2: now find_similar has real semantic signal
{ "url": "https://docs.framework.dev/getting-started" }

Anti-Patterns

  • DON'T use find_similar on a fresh install expecting embedding results — crawl first.
  • DON'T provide both url and concept — pick one.
  • DON'T use when you want web-only results — use search instead.

When NOT to use wigolo-find-similar

  • No local cache and no plan to build one — fall back to search with include_domains.

See Also

版本历史

  • a15277b 当前 2026-07-19 08:59

同 Skill 集合

skills/wigolo-agent/SKILL.md
skills/wigolo-cache/SKILL.md
skills/wigolo-crawl/SKILL.md
skills/wigolo-diff/SKILL.md
skills/wigolo-extract/SKILL.md
skills/wigolo-fetch/SKILL.md
skills/wigolo-research/SKILL.md
skills/wigolo-search/SKILL.md
skills/wigolo-watch/SKILL.md
skills/wigolo/SKILL.md
tests/integration/fixtures/skills-legacy/wigolo-search-SKILL.md

元信息

文件数
0
版本
180ac3d
Hash
5ebdd7f7
收录时间
2026-07-19 08:59

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-22 10:54
浙ICP备14020137号-1 $访客地图$