run-e2e

run-e2e is a skill for Claude Code, Codex from careerchain-ys/stdd. It costs 162 tokens per session (2,140 once invoked), scanned A, original, Apache-2.0.

A skill for running end-to-end tests inside a development container associated with a Git worktree. End-to-end tests check a complete user flow through the running application.

In plain words
What is it for?
Use it to locate or create a worktree and container, start the environment, and run the project's end-to-end test suite.
Why use it?
It finds an existing test environment or creates one, so tests can run in an isolated project copy without manual setup each time.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/careerchain-ys/stdd/run-e2e
Any agent
npx skills add careerchain-ys/stdd --skill run-e2e
Clone the repo
git clone --depth 1 https://github.com/careerchain-ys/stdd

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/careerchain-ys/stdd/run-e2e.svg)](https://agentmods.dev/skills/careerchain-ys/stdd/run-e2e)
Your own site
<a href="https://agentmods.dev/skills/careerchain-ys/stdd/run-e2e"><img src="https://agentmods.dev/badge/skills/careerchain-ys/stdd/run-e2e.svg" alt="Measured on agentmods" height="20"></a>
Per session 162 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,140 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00162 $0.02140
Opus 5 $0.00081 $0.01070
Sonnet 5 $0.00032 $0.00428
Haiku 4.5 $0.00016 $0.00214

Measured 4d ago against content hash cdaa08682029, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

run-e2e scanned grade A with 1 finding 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 4d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

devcontainer exec --workspace-folder <WORKTREE_DIR> --override-config <OVERRIDE_CONFIG> bash -c "curl -s -o /dev/null -w '%{http_code}' http://localhost:<APP_PORT> && echo ' <apps[].id> OK' || echo ' <apps[].id> NOT RUNN
plugins/playwright/skills/run-e2e/SKILL.md · 181 lines

How it starts

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

前提: 本スキルは git worktree + devcontainer を用いた並列実行フローを前提とする。.stdd.config.ymlworktree プラグインを併せて有効化すること。

Worktree上でE2Eテストを実行するスキル

worktree環境のdevcontainer内でE2Eテストをセットアップ・実行する。 稼働中のdevcontainerがあればそれを使い、なければ新規作成する。

1. 稼働中のworktree devcontainerを検索

for i in 1 2 3 4; do
  wt_dir="{{worktree.base_path}}/worktree-${i}"
  container=$(docker ps --filter "label=devcontainer.local_folder=${wt_dir}" --format "{{.Names}}" 2>/dev/null)
  if [ -n "$container" ]; then
    echo "FOUND:${i}:${container}"
  fi
done

判定ロジック

  • FOUND:N が出力された場合 → そのINSTANCE_ID=Nのdevcontainerを使用。ステップ2へ進む
  • 何も出力されない場合 → 稼働中のworktree devcontainerなし。ステップ1-Bで新規作成する

1-B. Worktree+devcontainerを新規作成

稼働中のworktree devcontainerがなかった場合のみ実行する。

空きINSTANCE_IDを特定

for i in 1 2 3 4; do
  wt_dir="{{worktree.base_path}}/worktree-${i}"
  if [ ! -d "$wt_dir" ]; then
    echo "AVAILABLE:${i}"
    break
  fi
done

最初に見つかった空きIDを使用する。空きがない場合はユーザーに不要なworktreeの破棄を案内して中断する。

worktree作成

./scripts/create-worktree.sh -b claude/e2e-run -i <INSTANCE_ID>

devcontainer起動

devcontainer up --workspace-folder {{worktree.base_path}}/worktree-<INSTANCE_ID> --override-config {{worktree.base_path}}/worktree-<INSTANCE_ID>/.devcontainer/devcontainer.override.json

起動完了を待ってからステップ2へ進む。

2. 環境変数の算出

特定したINSTANCE_IDから以下を算出する:

WORKTREE_DIR = {{worktree.base_path}}/worktree-<INSTANCE_ID>
OVERRIDE_CONFIG = ${WORKTREE_DIR}/.devcontainer/devcontainer.override.json

# ポート計算(INSTANCE_IDに応じてオフセット)
# 各アプリのベースポートは .stdd.config.yml の apps[].port を用いる(apps[] の数だけ繰り返す)
APP_PORT(<apps[].id>) = <apps[].port> + INSTANCE_ID * 100   (例: base=3000, ID=1 → 3100, ID=2 → 3200)
SUPABASE_API_PORT = 54321 + INSTANCE_ID * 1000
SUPABASE_DB_PORT = 54322 + INSTANCE_ID * 1000

以降のdevcontainer execコマンドはすべて以下の形式で実行する:

devcontainer exec --workspace-folder <WORKTREE_DIR> --override-config <OVERRIDE_CONFIG> bash -c "COMMAND"

重要: 変数代入をコマンドの先頭に置かないこと。必ず devcontainer exec からコマンドを始める(auto-approve対象パターンに合致させるため)。

Read the full file on GitHub · 181 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. 4d ago First seen · 181 lines · 162 tokens per session scan A cdaa08682029

Subscribe to this mod's changes

run-e2e is a skill published in the GitHub repository careerchain-ys/stdd (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 162 tokens to every session and 2,140 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

use-agent-browser-for-airi

Test AIRI display-model imports with agent-browser across stage-tamagotchi Electron, stage-web, and stage-pocket mobile web layouts. Use when uploading and verifying contributor-supplied Live2D ZIP, VRM, or MMD ZIP/PMX/PMD files through AIRI's model selector, including onboarding bypass, format-specific import…

moeru-ai/airi · 87 tokens

verify

Exercise the real app/API/CLI and collect observable evidence; tests alone do not count as end-to-end verification.

Hmbown/CodeWhale · 25 tokens

dogfood

Systematically explore and test a mobile app on iOS/Android with agent-device to find bugs, UX issues, and other problems. Use when asked to dogfood, QA, exploratory test, find issues, bug hunt, or test this app on mobile.

callstack/agent-device · 55 tokens

local-frontend-check

Smoke-test or verify UI behaviour on the local Jarvis Registry frontend running at http://localhost/gateway. Use for manual regression checks, bug-fix verification, and end-to-end confirmation of specific flows without running the automated test suite.

ascending-llc/jarvis-registry · 52 tokens

pr-integration-test

Design, implement, and validate Intelligent Terminal integration tests for a target pull request or regression. Use when asked to add PR integration tests, convert a bug fix into E2E coverage, prove existing behavior still works, map tests to the release checklist, or verify E2E reports mark checklist cases complete.

microsoft/intelligent-terminal · 66 tokens

test-warp-ui

Guides testing Warp UI features and changes using the computer use tool. Use this skill only when computer-use testing was requested (explicit request or accepted offer) and the computeruse tool is available to the agent. Covers launching Warp and verifying UI behavior.

warpdotdev/warp · 55 tokens