generate

generate is a command for Claude Code from rakutentech/sorify. It costs 102 tokens per session (4,077 once invoked), scanned A, original, Apache-2.0.

A command that creates Playwright end-to-end tests, which check a complete user flow in a real browser, from a website description or URL. It can use a code repository or local project as an optional source and uploads the tests to Sorify.

In plain words
What is it for?
Use it to generate tests for a staging or other web URL, optionally using a GitHub repository or local project to understand the application.
Why use it?
It turns a plain-language testing request into browser tests without requiring you to describe every test file and setup detail manually.

Command for Claude Code

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

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/hiro/projects/myapp.

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

Good fit Use it to generate tests for a staging or other web URL, optionally using a GitHub repository or local project to understand the application.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add rakutentech/sorify
Claude Code
/plugin install 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 generate

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/rakutentech/sorify/generate"><img src="https://agentmods.dev/badge/commands/rakutentech/sorify/generate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,077 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.00102 $0.04077
Opus 5.5 $0.00041 $0.01631
Sonnet 5.5 $0.00020 $0.00815
Haiku 4.5 $0.00010 $0.00408

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

Security

Grade A, and why

generate 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 2mo 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/generate.md · 471 lines

How it starts

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

sorify

Trigger

Invoked from the generate command with natural language or structured arguments.


Step 1: Understand the input and determine mode

The input may be plain arguments, structured text, or natural language in any language. Read the entire input and extract:

What How to identify
target_url Any https:// or http:// URL that is clearly the service being tested (NOT a GHE/GitHub repo URL)
source A GHE/GitHub URL, or a local filesystem path (/, ~/, ./ prefix) — optional

Examples:

https://stg.example.com/
  → target_url = https://stg.example.com/, source = none

https://stg.example.com/ https://github.com/your-org/your-repo
  → target_url = https://stg.example.com/, source = ghe (order does not matter)

https://github.com/your-org/your-repo https://stg.example.com/
  → same result

このサービスのテストを作成して。URL: https://stg.example.com/ リポジトリ: https://github.com/your-org/your-repo
  → target_url = https://stg.example.com/, source = ghe

/Users/hiro/projects/myapp https://stg.example.com/
  → target_url = https://stg.example.com/, source = /Users/hiro/projects/myapp

If target_url cannot be identified → abort with error:

Error: No target URL found. Please provide the URL of the service to test.

Determine mode:

source absent or empty  → DOM Mode
source is GHE/GitHub URL (contains 'ghe.' / 'github.com' / 'your-ghe-domain')  → GHE Source Mode
source is local path (starts with '/', '~/', './')  → Local Source Mode

Step 2: Determine the Sorify base URL

The Sorify MCP server (configured in this plugin's .mcp.json) already handles authentication transparently — no login step is needed here. Read SORIFY_URL from ~/.sorify only for building the human-readable run link in the final summary:

if [ ! -f ~/.sorify ]; then
  echo "Error: ~/.sorify not found. Please create it with your Sorify credentials."
  echo "See the plugin README for the required format."
  exit 1
fi

SORIFY_BASE_URL=$(grep "^SORIFY_URL" ~/.sorify | cut -d= -f2)
UPLOADED_BY=$(grep "^SORIFY_USERNAME" ~/.sorify | cut -d= -f2)

Read the full file on GitHub · 471 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. 2mo ago Changed · +7 lines 31977777bda6
  2. 3mo ago First seen · 464 lines · 102 tokens per session scan A e4568a59fdf5

Subscribe to this mod's changes

generate is a command published in the GitHub repository rakutentech/sorify (57 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 102 tokens to every session and 4,077 once invoked, about $0.0004 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

generate compared with commands from other repositories

generate next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
generaterakutentech/sorifyCommand571mo agoApache-2.0A102Claude Code
mtestlocalmultiplex-ai/muggle-ai-worksCommand15todayApache-2.0A21Claude Code
recordShubhenduVaid/flipbookCommand02mo agoMITA14Claude Code
expectyonatangross/orchestkitCommand312todayMITA51Claude Code, Cursor
amazing-e2e-checkbtspoony/mstar-harnessCommand74todayMITA29Claude Code
monobrowsemonoes/monomindCommand234d agoApache-2.0A27Claude Code
mtestprepmultiplex-ai/muggle-ai-worksCommand15todayApache-2.0A22Claude Code