Agent SkillsKnockOutEZ/wigolo › wigolo-crawl

wigolo-crawl

GitHub

支持sitemap、BFS/DFS及URL映射策略的本地优先多页爬虫,具备去重、限速和robots.txt遵循功能。爬取内容自动嵌入并缓存,便于后续通过cache或find_similar进行高效检索与查询。

skills/wigolo-crawl/SKILL.md KnockOutEZ/wigolo

触发场景

索引文档站点 批量提取页面内容 用户指令包含crawl、index this site、get all the docs

安装

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

不安装直接使用

npx skills use KnockOutEZ/wigolo@wigolo-crawl

指定 Agent (Claude Code)

npx skills add KnockOutEZ/wigolo --skill wigolo-crawl -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-crawl",
    "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": "Local-first multi-page crawl with sitemap, BFS, DFS, and URL-map strategies, anchor-fragment dedup, rate limiting, robots.txt respect, and automatic local cache population. Use when the user wants to index documentation, crawl a docs site, extract all pages under a path, or says \"crawl\", \"index this site\", \"get all the docs\", \"bulk extract\". Prefer when crawled pages should land in a reusable local cache for later `cache` \/ `find_similar` queries.\n"
}

wigolo crawl

Crawl sites with configurable strategy, depth, and rate limiting. All pages enter the local cache with embeddings.

Quick Reference

// Crawl docs via sitemap (fastest, recommended for doc sites)
{ "url": "https://docs.example.com", "strategy": "sitemap", "max_pages": 30 }

// BFS crawl with scope filter
{ "url": "https://example.com", "strategy": "bfs", "max_depth": 3, "max_pages": 50, "include_patterns": ["^https://example\\.com/docs"] }

// URL discovery only (no content fetched — fastest for scoping)
{ "url": "https://example.com", "strategy": "map" }

// Authenticated crawl
{ "url": "https://app.example.com/docs", "strategy": "bfs", "use_auth": true, "max_pages": 20 }

Parameters

Parameter Type Default When to use
url string required Seed URL
strategy string "bfs" "sitemap" for doc sites, "map" for URL discovery only
max_depth number 2 How many link levels to follow
max_pages number 20 Hard cap on pages fetched
include_patterns string[] none Regex whitelist — ALWAYS add to stay in scope
exclude_patterns string[] none Regex blacklist
use_auth boolean false For authenticated sites
extract_links boolean false Return inter-page link graph
max_total_chars number 100000 Total char budget
max_tokens_out number none Token-budget cap (cl100k-base)
include_full_markdown boolean false Pages return evidence-only by default
citation_format string "numbered" "numbered" / "json" / "anthropic_tags"

Pages are dedup'd by canonical URL (anchor-fragment aware: /intro and /intro#install collapse to one entry).

After Crawling

All crawled pages enter the local cache with embeddings. This means:

  • cache({ query: "..." }) finds content instantly (no network).
  • find_similar({ url: "..." }) discovers related pages from cached content.
  • Future searches that hit cached URLs return instantly.

Crawl first, then use cache and find_similar for subsequent lookups.

Anti-Patterns

  • DON'T crawl max_pages: 100 without include_patterns — fetches nav/footer/sitemap noise.
  • DON'T use BFS on large doc sites — strategy: "sitemap" is faster and more complete.
  • DON'T crawl when you need one page — use fetch.

When NOT to use wigolo-crawl

  • Login-required crawl beyond what use_auth covers — handle authentication externally first, then crawl.

See Also

版本历史

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

同 Skill 集合

skills/wigolo-agent/SKILL.md
skills/wigolo-cache/SKILL.md
skills/wigolo-diff/SKILL.md
skills/wigolo-extract/SKILL.md
skills/wigolo-fetch/SKILL.md
skills/wigolo-find-similar/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
8565bf7f
收录时间
2026-07-19 08:59

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