manifold: Skill for Claude Code

.claude/skills/webmcp-e2e/SKILL.md

webmcp-e2e is a skill for Claude Code from nonchan7720/manifold. It costs 140 tokens per session (2,281 once invoked), scanned A, original, MIT.

An end-to-end test workflow for a WebMCP reverse gateway, a system that connects a browser page’s tools back to an agent. It runs the gateway, demo page, browser extension, pairing process, tool calls, and tab-close error check, with screenshots as evidence.

In plain words
What is it for?
Building the extension, starting the gateway and demo page, pairing a browser, testing example tools, checking behavior after a tab closes, and validating remote identity routing with keys and tokens.
Why use it?
It checks that the separate gateway, webpage, extension, and agent connection work together in a complete browser scenario. Remote mode also checks that authenticated identities are routed separately.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PROJECT_DIR} variable. Also seen: reads .claude/ paths.

This is nonchan7720/manifold's own configuration. It tells Claude Code how to work on manifold itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything manifold configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is mkdir -p examples/webmcp-reverse/tmp # sqlite.path: ./tmp/manifold.db 用.

Reuse

Borrowing it

Nothing to install: this file belongs to nonchan7720/manifold. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/nonchan7720/manifold/main/.claude/skills/webmcp-e2e/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/nonchan7720/manifold

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for webmcp-e2e

README.md
[![agentmods](https://agentmods.dev/badge/skills/nonchan7720/manifold/webmcp-e2e/github.svg)](https://agentmods.dev/skills/nonchan7720/manifold/webmcp-e2e)
Your own site
<a href="https://agentmods.dev/skills/nonchan7720/manifold/webmcp-e2e"><img src="https://agentmods.dev/badge/skills/nonchan7720/manifold/webmcp-e2e/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for webmcp-e2e

Your own site · 80×15
<a href="https://agentmods.dev/skills/nonchan7720/manifold/webmcp-e2e"><img src="https://agentmods.dev/badge/skills/nonchan7720/manifold/webmcp-e2e.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 140 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,281 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00140 $0.02281
Opus 5.5 $0.00056 $0.00912
Sonnet 5.5 $0.00028 $0.00456
Haiku 4.5 $0.00014 $0.00228

Measured 1mo ago against content hash e720508ed7a3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

webmcp-e2e scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/create-pairing-code.mjs, scripts/e2e-remote.mjs, scripts/e2e.mjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/webmcp-e2e/SKILL.md · 113 lines

How it starts

The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.

WebMCP Reverse Gateway E2E 結合確認

設計文書: docs/design/webmcp-reverse-gateway.ja.md

前提

  • tools/extension/、examples/webmcp-demo/、.claude/skills/webmcp-e2e/scripts/ はいずれも pnpm パッケージ(pnpm install 済みであること。scripts/ は @modelcontextprotocol/sdk と playwright の実行用依存を持つ)
  • ポート: Manifold = 9999、デモページ = 5173(変更したら以降のコマンド・config を合わせる)

static モードの手順

1. 拡張をビルド

cd tools/extension && pnpm install && pnpm build   # dist/ が生成される
cd .claude/skills/webmcp-e2e/scripts && pnpm install   # e2e.mjs / create-pairing-code.mjs 用

2. Manifold を起動

mkdir -p examples/webmcp-reverse/tmp    # sqlite.path: ./tmp/manifold.db 用
ENCRYPT_KEY=$(openssl rand -base64 32) go run . gateway --config examples/webmcp-reverse/config.yaml
  • config は examples/webmcp-reverse/config.yaml(gateway.port: 9999、edge auth は pairing + static、origin は http://localhost:5173)

3. デモページを起動

cd examples/webmcp-demo && pnpm dev    # http://localhost:5173

document.modelContext に echo / get_current_time / increment_counter / decrement_counter が登録される。

4. ペアリングコードを取得

node .claude/skills/webmcp-e2e/scripts/create-pairing-code.mjs
  • edge.pairing.type: static(このスキルの config)では reverse サーバーへの /mcp/{name} に JWT ミドルウェア自体が掛からないため、Authorization ヘッダーは不要(スクリプトも送らない)
  • reverse サーバーはタブ未接続でも create_pairing_code ツールだけは公開している(ベースサーバーが起動時に構築される)

5. 拡張入り Chromium を起動してペアリング

Playwright でヘッドフル Chromium を --load-extension=tools/extension/dist 付きで起動し、拡張 popup で edge URL(ws://localhost:9999/edge/ws)とコードを入力してペアリング。

6. 検証(scripts/e2e.mjs が一括実行)

node .claude/skills/webmcp-e2e/scripts/e2e.mjs
検証項目 期待結果
タブ接続後の tools/list create_pairing_code, echo, get_current_time, increment_counter, decrement_counter
echo("...") 入力文字列がそのまま返る
increment_counter(by: 3) "3" が返り、ページ内カウンタ表示も一致
タブを閉じて tools/call isError: true + 「対象アプリのタブが開かれていません。…」の案内文

remote モードの手順

remote は identityKey を Bearer JWT(自前 JWKS で署名検証)から導出する。JWT を送るのは MCP クライアント(エージェント)側であり、拡張はペアリング(POST /edge/pair)のみ static と同じフローで、拡張自体の変更は不要。scripts/e2e-remote.mjs が JWKS サーバー起動・Manifold 起動・ペアリング・検証・プロセス終了までを一括で行う。

Read the full file on GitHub · 113 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 113 lines · 140 tokens per session scan A e720508ed7a3

Subscribe to this mod's changes

webmcp-e2e is a skill published in the GitHub repository nonchan7720/manifold (4 stars, last pushed today), licensed MIT. It adds 140 tokens to every session and 2,281 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

golang-testing

Go testing best practices including table-driven tests, test helpers, benchmarking, race detection, coverage analysis, and integration testing patterns. Use when writing or improving Go tests.

affaan-m/ECC · 37 tokens

ci

Configure Ginkgo for continuous integration — the recommended CLI flag set and the rationale for each flag (-r -p --randomize-all --randomize-suites --fail-on-pending --fail-on-empty --keep-going --cover --race --trace --json-report --timeout --poll-progress-after/-interval), invoking via go run to pin the CLI to…

onsi/ginkgo · 151 tokens

golang-testing

Production-ready Golang tests — table-driven tests, testify suites and mocks, parallel tests, fuzzing, fixtures, goroutine leak detection with goleak, snapshot testing, code coverage, integration tests, idiomatic test naming. Use when writing or reviewing Go tests, choosing a testing approach, setting up Go test CI…

samber/cc-skills-golang · 115 tokens

performing-api-fuzzing-with-restler

Uses Microsoft RESTler to perform stateful REST API fuzzing by automatically generating and executing test sequences that exercise API endpoints, discover producer-consumer dependencies between requests, and find security and reliability bugs. The tester compiles an OpenAPI specification into a RESTler fuzzing…

xalgorix/xalgorix · 123 tokens

generate-server-card

Generate an MCP server card JSON (mcp-gateway-registry format) by analyzing server source code in a folder or GitHub URL. Studies code to detect server name, tools, transport, auth, and generates a registry-compatible config.

agentic-community/mcp-gateway-registry · 52 tokens

debug

Debug issues in the MCP Gateway Registry using first-principles thinking. Invoke when something is broken, timing out, returning errors, or behaving unexpectedly. Forces structured root-cause analysis before any code change is proposed.

agentic-community/mcp-gateway-registry · 45 tokens