tavily-map — скилл для Claude Code: карта URL сайта
Скилл учит агента обходить сайт и отдавать список адресов без выкачивания текста. Пригодится, когда знаешь домен, но не знаешь, где лежит нужная страница.
npx skills add tavily-ai/skills --skill tavily-map -a claude-codeЧто делает tavily-map
Внутри скилла одна команда — tvly map. Она проходит по сайту и возвращает список URL, содержимое страниц не трогает. Поэтому на большом домене это дешевле полного обхода: нужен адрес, а не текст.
Фильтры решают почти всё. --max-depth задаёт глубину от 1 до 5 (по умолчанию 1), --limit ограничивает число найденных URL (по умолчанию 50), --max-breadth — сколько ссылок брать со страницы (по умолчанию 20). Отбирать можно по смыслу через --instructions или регулярками по путям: --select-paths, --exclude-paths. Есть отбор по доменам, ключ --json для структурного ответа и -o для записи в файл.
Нужен установленный CLI tvly и авторизация. В окружении без человека вход лучше оставить пользователю или подставить TAVILY_API_KEY: tvly login открывает браузер и ждёт callback на локальном порту. Дальше связка простая: map находит адрес, tvly extract вытаскивает текст именно с него. Полный crawl имеет смысл, только когда страниц много.
Какие задачи решает
- найти страницу про авторизацию на большом сайте документации
- собрать список URL раздела блога перед выборочным извлечением
- посмотреть структуру домена, не выкачивая страницы целиком
- отсеять внешние ссылки и служебные пути регулярками
- сохранить карту сайта в JSON и разобрать её потом
Примеры запросов агенту
- Найди в документации страницу про аутентификацию: прогони `tvly map` с `--instructions "authentication"` и покажи адреса, которые вернутся.
- Собери карту сайта с `--max-depth 3` и `--limit 200`, но оставь только раздел блога через `--select-paths "/blog/.*"`.
- Прогони `tvly map` по домену и сохрани ответ в файл ключом `-o`, чтобы я посмотрел структуру без запуска второго запроса.
Как установить tavily-map
1Через Skills CLI (Vercel)
npx skills add tavily-ai/skills --skill tavily-map -a claude-code2Вручную: положить файлы
~/.claude/skills/tavily-map/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/tavily-map/
1Через Skills CLI (Vercel)
npx skills add tavily-ai/skills --skill tavily-map -a codex2Вручную: положить файлы
.agents/skills/tavily-map/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add tavily-ai/skills --skill tavily-map -a cursor2Вручную: положить файлы
.cursor/skills/tavily-map/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install tavily-ai/skills tavily-map2Вручную: положить файлы
.github/skills/tavily-map/SKILL.md1Через Skills CLI (Vercel)
npx skills add tavily-ai/skills --skill tavily-map -a gemini-cli2Командой платформы
gemini skills install https://github.com/tavily-ai/skills --path skills/tavily-mapВручную: положить файлы
.devin/skills/tavily-map/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add tavily-ai/skills --skill tavily-map -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
Из того же набора6
Весь набор →Похожие
Вопросы о tavily-map
Как установить tavily-map в Claude Code?
Запустите npx skills add tavily-ai/skills --skill tavily-map -a claude-code. Файл скилла окажется по пути ~/.claude/skills/tavily-map/SKILL.md.
Что делает tavily-map?
Обходит сайт и возвращает список URL без извлечения текста. Агент получает адреса страниц, а не их содержимое.
Что нужно, чтобы скилл заработал?
Установленный CLI tvly и вход в аккаунт Tavily. Интерактивно это tvly login в браузере, в окружении без человека — переменная TAVILY_API_KEY.
Исходный текст
SKILL.md · MIT
--- name: tavily-map description: | Discover and list all URLs on a website without extracting content, via the Tavily CLI. Use this skill when the user wants to find a specific page on a large site, list all URLs, see the site structure, find where something is on a domain, or says "map the site", "find the URL for", "what pages are on", "list all pages", or "site structure". Faster than crawling — returns URLs only. Essential when you know the site but not the exact page. Combine with extract for targeted content retrieval. allowed-tools: Bash(tvly *) --- # tavily map Discover URLs on a website without extracting content. Faster than crawling. ## Before running Map requires authentication. Run the requested command directly when `tvly` is already authenticated; do not add a status check to every invocation. If `tvly` is missing, follow the [tavily-cli setup](../tavily-cli/SKILL.md#setup). If an installed CLI reports an authentication error, use `tvly login` for authentication only, or `tvly init --skip-skills` when guided verification is also useful. Browser-based OAuth is preferred when an interactive user can complete it. `--no-browser` prints the sign-in link instead of opening it, but still waits for a localhost callback. In an unattended agent or CI environment, leave authentication to the user or use a securely provided `TAVILY_API_KEY`. Do not start a second login immediately after guided setup has completed. ## When to use - You need to find a specific subpage on a large site - You want a list of all URLs before deciding what to extract or crawl - Step 3 in the [workflow](../tavily-cli/SKILL.md): search → extract → **map** → crawl → research ## Quick start ```bash # Discover all URLs tvly map "https://docs.example.com" --json # With natural language filtering tvly map "https://docs.example.com" --instructions "Find API docs and guides" --json # Filter by path tvly map "https://example.com" --select-paths "/blog/.*" --limit 500 --json # Deep map tvly map "https://example.com" --max-depth 3 --limit 200 --json ``` ## Options | Option | Description | |--------|-------------| | `--max-depth` | Levels deep (1-5, default: 1) | | `--max-breadth` | Links per page (default: 20) | | `--limit` | Max URLs to discover (default: 50) | | `--instructions` | Natural language guidance for URL filtering | | `--select-paths` | Comma-separated regex patterns to include | | `--exclude-paths` | Comma-separated regex patterns to exclude | | `--select-domains` | Comma-separated regex for domains to include | | `--exclude-domains` | Comma-separated regex for domains to exclude | | `--allow-external / --no-external` | Include external links | | `--timeout` | Max wait (10-150 seconds) | | `-o, --output` | Save the JSON response to a file | | `--json` | Structured JSON output | ## Map + Extract pattern Use `map` to find the right page, then `extract` it. This is often more efficient than crawling an entire site: ```bash # Step 1: Find the authentication docs tvly map "https://docs.example.com" --instructions "authentication" --json # Step 2: Extract the specific page you found tvly extract "https://docs.example.com/api/authentication" --json ``` ## Tips - **Map is URL discovery only** — no content extraction. Use `extract` or `crawl` for content. - **Map + extract beats crawl** when you only need a few specific pages from a large site. - **Use `--instructions`** for semantic filtering when path patterns aren't enough. ## See also - [tavily-extract](../tavily-extract/SKILL.md) — extract content from URLs you discover - [tavily-crawl](../tavily-crawl/SKILL.md) — bulk extract when you need many pages
© tavily-ai · MIT · tavily-ai/skills