Cheliped Browserのロゴ

Cheliped Browser

コミュニティ
tykimos
cheliped-browser

Agent Browser Runtime for browsing, observing, and interacting with web pages via Chrome DevTools Protocol (CDP). Use this skill when Claude needs to: (1) navigate to and browse websites, (2) extract page content, text, or links from any URL, (3) fill forms or type into input fields, (4) click buttons or links on a page, (5) take screenshots of web pages, (6) execute JavaScript in a page context, (7) perform login or search actions on websites, (8) scrape or crawl web content, or any other browser-based task. Triggers on: browse, crawl, scrape, web page, website, navigate, open URL, screenshot a site, fill a form online, login to a site.

概要

公開者tykimos
リポジトリcheliped-skills
スキル名cheliped-browser
スター
62
フォーク
11
同梱ファイル
86
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 86個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Agent Browser Runtime

Control Chrome via CDP. Extract Agent DOM — a compressed DOM where every interactive element gets a numeric agentId.

Setup

Run once before first use:

bash
cd scripts && npm install && npm run build

Core Workflow: Observe-Act Loop

bash
# 1. Navigate and observe
node scripts/cheliped-cli.mjs '[{"cmd":"goto","args":["https://example.com"]},{"cmd":"observe"}]'

# 2. Use agentId from observe output to interact
node scripts/cheliped-cli.mjs '[{"cmd":"fill","args":["3","search term"]},{"cmd":"click","args":["4"]},{"cmd":"observe"}]'

First call auto-launches Chrome and saves session. Subsequent calls reconnect (the reconnect is identity-checked against the browser's DevTools token, so a crashed-and-reused PID/port can't be mistaken for the original Chrome). Call close when done.

Output Envelope

Output is always a JSON array, one envelope per command, compact by default:

json
[{ "cmd": "goto",  "ok": true,  "result": { "url": "...", "title": "..." } },
 { "cmd": "click", "ok": false, "error": { "code": "E_STALE_ID", "message": "..." } }]

By default each command runs even if a prior one fails (per-command isolation). Error code is one of E_BAD_ARG, E_STALE_ID, E_TIMEOUT, E_BROWSER, E_UNKNOWN.

CLI flags (before the JSON argument)

FlagEffect
--session <name>named session (concurrent browsers)
--no-headless / --headedrun Chrome with a visible window
--prettyindent JSON output (default is compact, fewer tokens)
--stop-on-errorfail-fast: halt the batch on the first error
--chrome-path <path>explicit Chrome/Chromium binary (or CHROME_PATH env)
--timeout <ms>launch/connect timeout
--max-links <n> / --max-texts <n> / --max-text-length <n>tune observe compression (recall vs tokens)

Commands

CommandArgsReturns
goto["url"]{ success, url, title }
observenone{ nodes, texts, links } — nodes[].id = agentId
click["agentId"]{ success, action, agentId }
fill["agentId", "text"]{ success, action, agentId }
screenshot["path"] (optional){ success, path, size }
run-js["expression"]{ success, result }
extract["text"|"links"|"all"]{ type, data }
actionsnone[{ id, type, label, params }]
perform["actionId"] + "params":{...}{ success, actionId }
observe-graphnone{ nodes, edges, forms }
backnone{ success } — navigate back in history
forwardnone{ success } — navigate forward in history
hover["agentId"]{ success } — hover over element
scroll["direction", "pixels"]{ success } — direction: up/down/left/right
wait-for["selector", "timeout"]{ found } — wait for CSS selector
closenone{ success }
Shadow DOM Commands
observe-shadownone{ shadowHosts: [{ hostSelector, elements, iframes }] }
click-deep["selector"]{ success } — shadow-piercing click
fill-deep["selector", "text"]{ success } — shadow-piercing fill
Iframe Commands
list-framesnone{ frames: [{ index, url, name }] }
observe-frame["target"]{ url, elements: [{ index, tag, text, selector }] }
click-frame["target", "selector"]{ success } — click inside iframe
fill-frame["target", "selector", "text"]{ success } — type into iframe input
run-js-frame["target", "expression"]{ success, result } — JS in iframe

target = frame index (0-based number from list-frames) or URL substring to match.

Examples

Browse and extract content

bash
node scripts/cheliped-cli.mjs '[{"cmd":"goto","args":["https://news.ycombinator.com"]},{"cmd":"observe"}]'

Fill a form and submit

bash
node scripts/cheliped-cli.mjs '[{"cmd":"observe"},{"cmd":"fill","args":["7","hello"]},{"cmd":"click","args":["8"]}]'

Semantic action (login, search)

bash
node scripts/cheliped-cli.mjs '[{"cmd":"goto","args":["https://example.com/login"]},{"cmd":"actions"}]'
node scripts/cheliped-cli.mjs '[{"cmd":"perform","args":["login-form"],"params":{"email":"user@example.com","password":"pass"}}]'

Concurrent sessions

bash
node scripts/cheliped-cli.mjs --session agent1 '[{"cmd":"goto","args":["https://site-a.com"]}]'
node scripts/cheliped-cli.mjs --session agent2 '[{"cmd":"goto","args":["https://site-b.com"]}]'

Interact with shadow DOM content (e.g. Cloudflare Turnstile, web components)

bash
# 1. Discover shadow DOM hosts and their contents
node scripts/cheliped-cli.mjs '[{"cmd":"observe-shadow"}]'

# 2. Click element inside shadow DOM (pierces shadow boundaries recursively)
node scripts/cheliped-cli.mjs '[{"cmd":"click-deep","args":["input[type=checkbox]"]}]'

# 3. Use ">>>" to explicitly cross shadow DOM boundaries
node scripts/cheliped-cli.mjs '[{"cmd":"click-deep","args":["#turnstile-widget >>> input[type=checkbox]"]}]'

# 4. Fill input inside shadow DOM
node scripts/cheliped-cli.mjs '[{"cmd":"fill-deep","args":["#shadow-host >>> input[name=email]","user@example.com"]}]'

click-deep and fill-deep use absolute coordinate dispatch for real mouse events. Plain selectors auto-search all shadow roots recursively. Use >>> to target specific shadow host → inner element paths.

Interact with iframe content (e.g. Cloudflare Turnstile, CAPTCHA, embedded widgets)

bash
# 1. List all iframes on the page
node scripts/cheliped-cli.mjs '[{"cmd":"list-frames"}]'

# 2. Observe elements inside iframe at index 0
node scripts/cheliped-cli.mjs '[{"cmd":"observe-frame","args":["0"]}]'

# 3. Click a checkbox inside the iframe (use CSS selector from observe-frame output)
node scripts/cheliped-cli.mjs '[{"cmd":"click-frame","args":["0","input[type=checkbox]"]}]'

# Or match iframe by URL substring instead of index
node scripts/cheliped-cli.mjs '[{"cmd":"click-frame","args":["turnstile","input[type=checkbox]"]}]'

The iframe commands use absolute coordinate dispatch (iframe position + element position) to produce real mouse events that pass bot detection.

Key Notes

  • Call observe before click/fill — agentIds are only valid after observation.
  • fill works with React/SPA apps (uses native input value setters).
  • Agent DOM is token-compressed — far fewer tokens than raw HTML.
  • Chrome persists between calls until close. No restart needed.
  • Output is always a JSON array of { cmd, ok, result|error } envelopes (see Output Envelope above); compact by default, --pretty to indent.
  • click scrolls the target into view and validates its box before dispatching, so off-screen / zero-area elements don't produce a silent no-op.
  • For shadow DOM content (Cloudflare Turnstile, web components): use observe-shadow → click-deep/fill-deep. Supports >>> syntax to pierce shadow boundaries.
  • For iframe content (embedded widgets): use list-frames → observe-frame → click-frame/fill-frame. Regular observe/click cannot interact with iframe elements.
  • list-frames also discovers iframes hidden inside shadow DOM.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

ほかに26個のファイルがあります。

よくある質問

AIスキル「Cheliped Browser」では何ができますか?

Agent Browser Runtime for browsing, observing, and interacting with web pages via Chrome DevTools Protocol (CDP). Use this skill when Claude needs to: (1) navigate to and browse websites, (2) extract page content, text, or links from any URL, (3) fill forms or type into input fields, (4) click buttons or links on a page, (5) take screenshots of web pages, (6) execute JavaScript in a page context, (7) perform login or search actions on websites, (8) scrape or crawl web content, or any other browser-based task. Triggers on: browse, crawl, scrape, web page, website, navigate, open URL, screens...

TypingMindでCheliped Browserを使うメリットは何ですか?

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

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

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/tykimos/cheliped-skills/tree/main/browserを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Cheliped Browserを使えるAIモデルはどれですか?

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

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

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

AIスキル「Cheliped Browser」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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