sui-e2e

sui-e2e is a command for Claude Code from contract-hero/sui-pilot. It costs 26 tokens per session (422 once invoked), scanned A, original, MIT.

An end-to-end browser testing command for a Sui decentralised application, including approvals in the Slush cryptocurrency wallet. End-to-end testing checks a complete user flow rather than one isolated part.

In plain words
What is it for?
Use it to test wallet connection, signed login messages, and transaction signing in a Sui application.
Why use it?
It removes the need to click through the application and wallet approval pop-ups by hand during a full-flow test.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the sui-pilot plugin — 7 skills, 6 commands, 1 agent shipped together

Good fit Use it to test wallet connection, signed login messages, and transaction signing in a Sui application.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/contract-hero/sui-pilot/sui-e2e
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/contract-hero/sui-pilot

Made for: Claude Code.

Or install sui-pilot, the plugin that ships this one along with the rest of its 7 skills, 6 commands, 1 agent.

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 sui-e2e

README.md
[![agentmods](https://agentmods.dev/badge/commands/contract-hero/sui-pilot/sui-e2e/github.svg)](https://agentmods.dev/commands/contract-hero/sui-pilot/sui-e2e)
Your own site
<a href="https://agentmods.dev/commands/contract-hero/sui-pilot/sui-e2e"><img src="https://agentmods.dev/badge/commands/contract-hero/sui-pilot/sui-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 sui-e2e

Your own site · 80×15
<a href="https://agentmods.dev/commands/contract-hero/sui-pilot/sui-e2e"><img src="https://agentmods.dev/badge/commands/contract-hero/sui-pilot/sui-e2e.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 422 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.00026 $0.00422
Opus 5.5 $0.00010 $0.00169
Sonnet 5.5 $0.00005 $0.00084
Haiku 4.5 $0.00003 $0.00042

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

Security

Grade A, and why

sui-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.

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.

commands/sui-e2e.md · 35 lines

What it actually says

Invoke the sui-e2e skill to drive a full end-to-end test of a Sui dapp, including every wallet approval.

What This Command Does

  • Phase A — brings up Google Chrome for Testing on port 9222 with the wallet profile, then checks that the debugged browser is the one holding Slush and that chrome-devtools-mcp attached to it rather than spawning its own. Slush is an MV3 worker that can be dormant, so the definitive wallet check is functional and happens in Phase B
  • Phase B — drives the dapp through chrome-devtools-mcp and every Slush approval popup through the bundled scripts/cdp.py
  • Handles connect, sign-in message, and transaction signing without manual clicks
  • Verifies each approval on the dapp side, not just that the click landed
  • Works around chrome-devtools-mcp being unable to see chrome-extension:// pages at all — wallet popups never reach list_pages, so a bundled raw-CDP client drives them instead

When to Use

  • Testing a Sui dapp end to end with a real wallet in the loop
  • An automated browser flow is blocked on a Slush popup
  • Verifying a connect-then-sign login works after a change

When NOT to Use

  • The toolchain is not installed yet — run /sui-setup first
  • You only need to check Move code compiles — that needs no browser

Limitations

  • The hosted Slush web wallet cannot sign against a private localnet; the skill routes localnet runs to a faucet-funded local keypair instead.
  • Wallet state is report-only — a locked wallet or a wiped profile stops the run and asks you.
  • /sui-setup — Install and verify everything this command needs
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 · 35 lines · 26 tokens per session scan A a7370eaff410

Subscribe to this mod's changes

sui-e2e is a command published in the GitHub repository contract-hero/sui-pilot (10 stars, last pushed 11d ago), licensed MIT. It adds 26 tokens to every session and 422 once invoked, about $0.0001 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-09-16.