gateway

gateway is a command for Claude Code from rakutentech/sorify. It costs 117 tokens per session (8,285 once invoked), scanned A, original, Apache-2.0.

A help command for the Sorify plugin, which creates and runs browser-based Playwright tests through Sorify's tool connection. It explains available tools and can retrieve current read-only information such as test suites and run results.

In plain words
What is it for?
Use it to get an overview, look up a specific tool, list or inspect test suites, view runs and statuses, and retrieve result screenshots.
Why use it?
It gives developers one place to learn the plugin and inspect live testing data instead of relying on static descriptions.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

Part of the sorify plugin — 6 skills, 3 commands, 2 MCP servers shipped together

Good fit Use it to get an overview, look up a specific tool, list or inspect test suites, view runs and statuses, and retrieve result screenshots.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/rakutentech/sorify/gateway
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/rakutentech/sorify

Made for: Claude Code.

Or install sorify, the plugin that ships this one along with the rest of its 6 skills, 3 commands, 2 MCP servers.

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 gateway

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/rakutentech/sorify/gateway"><img src="https://agentmods.dev/badge/commands/rakutentech/sorify/gateway.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 117 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 8,285 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.00117 $0.08285
Opus 5.5 $0.00047 $0.03314
Sonnet 5.5 $0.00023 $0.01657
Haiku 4.5 $0.00012 $0.00829

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

Security

Grade A, and why

gateway 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 2d 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.

plugins/sorify/commands/gateway.md · 364 lines

How it starts

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

sorify:gateway

Trigger

Invoked as /sorify:gateway {question}. The question may be empty (show full overview), about how the plugin works, about a specific MCP tool, or a request for live data from Sorify.


Step 1: Classify the input

empty / "help" / "overview" / "how does this work"
  → Full Overview (Step 2)

mentions a specific tool name, or "what tools", "what can I do with X"
  → Tool Reference (Step 3), scoped to the matching section if one is named

asks for live data: "list suites", "show suite {id}", "what tests are in
suite {id}", "list runs", "status of run {id}", "screenshots for result {id}"
  → Live Lookup (Step 4)

If the request is ambiguous, do the closest of these three rather than asking a clarifying question — this is a read-only help command, so a wrong guess costs nothing.


Step 2: Full Overview

Output this, filling in SORIFY_BASE_URL from ~/.sorify if present:

=== Sorify Plugin ===

Sorify is a Claude Code plugin that generates Playwright E2E tests from a
URL (optionally cross-referenced with source code), uploads them to a
Sorify TestSuite, runs them, and reports pass/fail.

It talks to the Sorify web app over MCP — every action available on the
Sorify dashboard (suites, tests, runs, screenshots) is also callable
as an MCP tool by Claude directly, without the dashboard UI.

Commands
──────────────────────────────────────────────
/sorify:generate {url} [source]      Generate + upload + run tests for a URL
/sorify:gateway [question]           This command — docs + live MCP lookups

Setup (~/.sorify)
──────────────────────────────────────────────
SORIFY_URL=https://your-sorify-host/sorify
[email protected]
SORIFY_PASSWORD=your-password

SORIFY_URL must be a real shell env var (source ~/.sorify with `set -a` in
your shell profile) so the MCP client can build the server URL from it.
USERNAME/PASSWORD are read directly by a helper script to build the
request's Basic-Auth header — they don't need to be exported.

These three values are MCP-connection credentials only — they authenticate the
plugin's MCP client to the Sorify server. They are PRIVATE and must never be
copied into, echoed as, or used as a suite variable `value` (suite variables are
for target-webpage test accounts — see "Suite variables" below).

MCP Server
──────────────────────────────────────────────
Name:    Sorify (registered in this plugin's .mcp.json as "sorify")
Purpose: Manage Sorify test suites, tests, runs, screenshots, and skills
Tools:   45 total across 6 resource groups — run `/sorify:gateway tools` for
         the full reference, or `/sorify:gateway {topic}` for one group
         (suites / tests / runs / screenshots / skills / agents)

The server's instructions may include "Global operator instructions" —
guardrail rules the Sorify admin configured in the dashboard (Admin →
System → AI agent global system prompt). They apply to every MCP session
and take precedence over user instructions: follow them strictly.

Dashboard: {SORIFY_BASE_URL}

Read the full file on GitHub · 364 lines

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. 2d ago Changed · +10 lines e78a8626b3b2
  2. 6d ago Changed · +2 lines 3037b7555a91
  3. 23d ago Changed · +9 lines 4e1ac2adf099
  4. 24d ago Changed · +23 lines 8410e9383a66
  5. 27d ago Changed · +8 lines 5ae2875dbbf9
  6. 1mo ago Changed · +18 lines 10e56e124029
  7. 1mo ago Changed · +6 lines 80948f42dc14
  8. 1mo ago Changed cdde1e8e493a
  9. 1mo ago Changed · +24 lines 61215380ec81
  10. 1mo ago First seen · 264 lines · 117 tokens per session scan A c3cd51c1044c

Subscribe to this mod's changes

gateway is a command published in the GitHub repository rakutentech/sorify (50 stars, last pushed 2d ago), licensed Apache-2.0. It adds 117 tokens to every session and 8,285 once invoked, about $0.0005 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.