dns-connector — скилл для Claude Code: поиск в DNS-Shop
Скилл dns-connector для Claude Code ищет электронику в каталоге DNS-Shop и открывает карточку товара. Для работы нужен Chrome оператора, подключённый через CDP.
MIT ★ 203 обновлён 2026-10-19
npx skills add Vladimir-Human/ru-marketplace-mcp --skill dns-connector -a claude-codeЧто делает dns-connector
Скилл ищет товары в каталоге DNS-Shop и считывает данные с карточки: цену, прежнюю цену и наличие. Для поиска использует dns_search(query), для карточки — dns_card(product_url); вместо полного URL можно передать ID товара из 16 шестнадцатеричных символов.
Страница загружается в Chrome оператора через CDP: Qrator проверяет браузер с помощью JavaScript. Самопроверка показывает, загрузилась ли страница и вернул ли извлекатель данные нужной формы, но не подтверждает точность цены. Если цена важна, её нужно сверить на странице товара в том же Chrome. Частые запросы Qrator может замедлить; при обращении с дата-центра сайт отвечает ошибкой 401.
Какие задачи решает
- найти электронику в каталоге DNS-Shop по запросу
- получить цену и прежнюю цену товара
- проверить наличие товара по его карточке
Примеры запросов агенту
- Найди в DNS-Shop ноутбуки по запросу «ноутбук»
- Открой карточку товара в DNS-Shop по ссылке и прочитай цену и наличие
- Найди в DNS-Shop товар по названию и покажи его цену
Как установить dns-connector
1Через Skills CLI (Vercel)
npx skills add Vladimir-Human/ru-marketplace-mcp --skill dns-connector -a claude-code2Вручную: положить файлы
~/.claude/skills/dns-connector/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/dns-connector/
1Через Skills CLI (Vercel)
npx skills add Vladimir-Human/ru-marketplace-mcp --skill dns-connector -a codex2Вручную: положить файлы
.agents/skills/dns-connector/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add Vladimir-Human/ru-marketplace-mcp --skill dns-connector -a cursor2Вручную: положить файлы
.cursor/skills/dns-connector/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install Vladimir-Human/ru-marketplace-mcp skills/dns-connector2Вручную: положить файлы
.github/skills/dns-connector/SKILL.md1Через Skills CLI (Vercel)
npx skills add Vladimir-Human/ru-marketplace-mcp --skill dns-connector -a gemini-cli2Командой платформы
gemini skills install https://github.com/Vladimir-Human/ru-marketplace-mcp --path skills/dns-connectorВручную: положить файлы
.devin/skills/dns-connector/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add Vladimir-Human/ru-marketplace-mcp --skill dns-connector -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о dns-connector
Как установить dns-connector в Claude Code?
Выполни npx skills add Vladimir-Human/ru-marketplace-mcp --skill dns-connector -a claude-code. Файл скилла находится по пути ~/.claude/skills/dns-connector/SKILL.md.
Что делает dns-connector?
Скилл ищет товары в DNS-Shop и читает цену, прежнюю цену и наличие с карточки товара. Для загрузки страниц он использует Chrome оператора через CDP.
Что нужно для работы dns-connector?
Нужен Chrome оператора, доступный через CDP. Qrator проверяет браузер на странице; с дата-центра сайт отвечает ошибкой 401.
Исходный текст
SKILL.md · MIT
--- name: dns-connector description: Use this skill when the operator needs DNS-Shop electronics data — search or a product card. Trigger on "днс", "dns-shop", "dns", "ноутбук днс". Always needs the operator's Chrome over CDP (Qrator proof-of-work). Skip for non-DNS tasks. --- # DNS-Shop Connector Reads DNS-Shop inside the operator's Chrome over CDP. Qrator's JavaScript proof-of-work answers every dynamic page with HTTP 401 + a challenge script — no header trick clears it, but a real Chrome executes it natively. The connector renders the page and reads the DOM. ## When to use - Search DNS electronics catalog by text - One product's price, old price, availability ## Tools available - `dns_search(query)` — tiles from the rendered search page - `dns_card(product_url)` — one card. The URL carries `/product/<id>/`, where the id is a 16-hex string: `/product/b7a1667f9b19ed20/`. A bare id also works. **Not an MCP tool:** `dns_selfcheck()` is a tri-state canary. It is CLI-only — `marketplace-mcp doctor` runs every connector's canary at once. ## A green selfcheck does NOT mean the data is right This connector is why that sentence appears throughout this repo. In July 2026 the product-id regex was fixed, search began returning 24 links, and `dns_selfcheck` went green — while **every item still came back with `title: null` and `price: null`**. The transport was fine; the parser understood nothing. `dns_selfcheck` answers one question: did the page load and did the extractor return a shape. If a number has to be trusted, open the product page in the same Chrome and read it. ## The price on a DNS tile is not the smallest number on it Three traps, all confirmed against the live grid on 2026-07-28: - **An instalment sits next to the price.** A tile showing `58 999 ₽` also shows `от 5 751 ₽/ мес.`. Anything that takes the minimum reports the monthly payment — a number that validates, looks plausible and is wrong. The extractor reads the named price node and skips instalment and bonus nodes. - **The strikethrough price carries no currency glyph** — `.product-buy__prev` renders a bare `54 999`, so a filter keyed on `₽` never sees it. - **The first product anchor in a tile is the image link**, which has no text. Tiles are selected by the exact BEM block `.catalog-product`, never by walking up from an anchor. `price_rub` is `None` when no price could be read — never `0`, never a guess. If a whole page comes back unpriced the response carries a `no_prices_on_page` warning: that is drift to investigate, not "free". ## Gotchas - The first navigation pays the proof-of-work and is slow; later reads on the same session are fast. - Bursts get throttled by Qrator and degrade to `transport_down`. That is rate-limiting of the browser, not a parser fault — pace the calls. - A Qrator page that loads with HTTP 200 answers `challenge_required`: open dns-shop.ru in the scraping Chrome, pass the check, retry. It is never cached and never returned as a product. - From a datacenter address the site answers 401, so there is nothing to verify there. This connector is only meaningful from the operator's own machine. ## DSH activation In DeepSeek Harness the default profile mounts `compare-mcp`, which exposes exactly 4 tools: `compare_prices`, `compare_sources`, `compare_verify_offer` and `compare_browser_snapshot`. The middle `decision-mcp` profile adds `decision_inspect` (5 tools). This connector's own tools and `marketplace_sources` need `RU_MARKETPLACE_MCP_FULL=1` and a profile restart; do not call them in the default mode.
© Vladimir-Human · MIT · Vladimir-Human/ru-marketplace-mcp