Citilink Connectorのロゴ

Citilink Connector

コミュニティ
Vladimir-Human
citilink-connector

Use this skill when the operator needs Citilink electronics data — search or a product card. Trigger on "ситилинк", "citilink", "ситилинк цена". Always needs the operator's Chrome over CDP (Qrator rate block + gRPC-web). Skip for non-Citilink tasks.

概要

公開者Vladimir-Human
リポジトリru-marketplace-mcp
スキル名citilink-connector
スター
187
フォーク
31
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    Vladimir-HumanがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Citilink Connector」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/Vladimir-Human/ru-marketplace-mcp/tree/main/dsh/skills/citilink-connector
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Vladimir-Human/ru-marketplace-mcp.git /tmp/ru-marketplace-mcp
mkdir -p .claude/skills
cp -r /tmp/ru-marketplace-mcp/dsh/skills/citilink-connector .claude/skills/citilink-connector
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでCitilink Connectorを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にCitilink Connectorを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Citilink Connectorは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Citilink Connector

Reads Citilink inside the operator's Chrome over CDP. The whole domain answers HTTP 429 (stricter than DNS), and its data transport is gRPC-web — a binary protobuf protocol that is not worth reversing. A real Chrome passes Qrator and renders the pages, so the connector reads the DOM instead.

When to use

  • Search Citilink by text
  • One product's price, old price, availability

Tools available

  • citilink_search(query) — tiles from the rendered search page
  • citilink_card(product_url) — one card. The URL carries /product/<slug>/, where the slug ends in a numeric id: /product/noutbuk-lenovo-2169270/.

Not an MCP tool: citilink_selfcheck() is a tri-state canary. It is CLI-only — marketplace-mcp doctor runs every connector's canary at once.

Why the price used to come back null

Citilink renders the currency glyph in a separate element from the digits:

html
<span data-meta-price="59990"><span>59 990</span><span>₽</span></span>

The old extractor filtered text lines for руб|₽ and so never saw a line carrying both. Title parsed, price did not — on every product.

Read the data-meta attributes, not the class names

Citilink's class names are build-hashed (app-catalog-51bw0j-…) and change with every deploy, so they are useless as selectors. The site publishes a stable data-meta-* contract for its own analytics, and that is what the extractor keys on:

attributeholds
data-meta-name="Snippet__title"the product name anchor
data-meta-name="Snippet__price"the current price (glyph in a child span)
data-meta-name="Snippet__old-price"the strikethrough price, no glyph
data-meta-price="59990"the exact amount, machine-readable

data-meta-price needs no parsing and cannot be confused with an instalment or a badge, so it is preferred; the display strings are the fallback.

If prices start coming back null, check whether those attributes still exist before touching anything else — a class-name change is expected and harmless, a data-meta-* change is the real drift.

Numbers in a tile that are not the price

A tile also carries - 10% (discount badge), в 1356 пунктов (delivery points), (от 8 дней) (delivery estimate), a rating and an opinion count. Only a number attached to the currency glyph is treated as the price. Also note the first product anchor in a tile is an empty overlay link — it has no text, so the title comes from the Snippet__title anchor.

Gotchas

  • gRPC-web is deliberately not reversed: DOM extraction is the maintainable route.
  • A green citilink_selfcheck proves the page rendered and the extractor returned a shape. It does not prove the numbers are right — for that, open the product page in the same Chrome and compare.
  • From a datacenter address the domain answers 429, so nothing can be verified there. This connector only means anything from the operator's own machine.
  • A Qrator page that loads with HTTP 200 answers challenge_required: open citilink.ru in the scraping Chrome, pass the check, retry. It is never cached and never returned as a product.
  • A missing price is null, never 0: price_rub: null means Citilink had no usable price for the tile — treat it as no data, never as a free item.

DSH activation

In DeepSeek Harness, the default profile exposes only compare_prices and compare_sources through the cheap compare mount. Per-marketplace tools and marketplace_sources require RU_MARKETPLACE_MCP_FULL=1 and a profile restart; do not call them in the default mode.

よくある質問

AIスキル「Citilink Connector」では何ができますか?

Use this skill when the operator needs Citilink electronics data — search or a product card. Trigger on "ситилинк", "citilink", "ситилинк цена". Always needs the operator's Chrome over CDP (Qrator rate block + gRPC-web). Skip for non-Citilink tasks.

TypingMindでCitilink Connectorを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Citilink Connectorはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにCitilink Connectorをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/Vladimir-Human/ru-marketplace-mcp/tree/main/dsh/skills/citilink-connectorを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Citilink Connectorを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Citilink Connectorで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもCitilink Connectorを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Citilink Connector」は無料ですか?

はい。Vladimir-HumanがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇