expect

expect is a skill for Claude Code from yonatangross/orchestkit. It costs 51 tokens per session (4,833 once invoked), scanned A, original, MIT.

A browser-testing workflow that uses the changes in a Git diff to decide what to test. It maps changed code to affected pages, creates a focused test plan, and runs browser checks with pass or fail results.

In plain words
What is it for?
Use it to test interface changes before merging, check affected routes, run login or checkout flows, replay saved flows, and test unstaged, committed, or branch changes.
Why use it?
It avoids spending time testing unrelated pages while still checking the user flows most likely affected by a change. A Git diff is the record of changes between code versions.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; names the AskUserQuestion tool; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the ork plugin — 83 skills, 39 commands, 36 agents, 32 hooks shipped together

Good fit Use it to test interface changes before merging, check affected routes, run login or checkout flows, replay saved flows, and test unstaged, committed, or branch changes.

Compare 6 skills 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 yonatangross/orchestkit
Claude Code
/plugin install ork

Made for: Claude Code.

Or install ork, the plugin that ships this one along with the rest of its 83 skills, 39 commands, 36 agents, 32 hooks.

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 expect

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/yonatangross/orchestkit/expect"><img src="https://agentmods.dev/badge/skills/yonatangross/orchestkit/expect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,833 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.00051 $0.04833
Opus 5.5 $0.00020 $0.01933
Sonnet 5.5 $0.00010 $0.00967
Haiku 4.5 $0.00005 $0.00483

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

Security

Grade A, and why

expect 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 6d ago.

The scan reads SKILL.md. This mod also ships 8 executable files (scripts/coverage-context.sh, scripts/diff-scan.sh, scripts/fingerprint.sh, …), 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.

plugins/ork/skills/expect/SKILL.md · 415 lines

How it starts

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

Expect — Diff-Aware AI Browser Testing

Analyze git changes, generate targeted test plans, and execute them via AI-driven browser automation.

Note: If disableSkillShellExecution is enabled, the agent-browser install check won't run. Verify it's installed: npx agent-browser --version.

expect                              # Auto-detect changes, test affected pages
expect -m "test the checkout flow"  # Specific instruction
expect --flow login                 # Replay a saved test flow
expect --target branch              # Test all changes on current branch vs main
expect -y                           # Skip plan review, run immediately

Core principle: Only test what changed. Git diff drives scope — no wasted cycles on unaffected pages.

Argument Resolution

ARGS = "[-m <instruction>] [--target unstaged|branch|commit] [--flow <slug>] [-y]"

# Parse from full argument string
import re
raw = "$ARGUMENTS"  # Full argument string

INSTRUCTION = None
TARGET = "unstaged"  # Default: test unstaged changes
FLOW = None
SKIP_REVIEW = False

# Extract -m "instruction"
m_match = re.search(r'-m\s+["\']([^"\']+)["\']|-m\s+(\S+)', raw)
if m_match:
    INSTRUCTION = m_match.group(1) or m_match.group(2)

# Extract --target
t_match = re.search(r'--target\s+(unstaged|branch|commit)', raw)
if t_match:
    TARGET = t_match.group(1)

# Extract --flow
f_match = re.search(r'--flow\s+(\S+)', raw)
if f_match:
    FLOW = f_match.group(1)

# Extract -y
if '-y' in raw.split():
    SKIP_REVIEW = True

STEP 0: MCP Probe + Prerequisite Check

# memory may be absent from the user's .mcp.json; probe so the memory steps below are skipped, not failed:
ToolSearch(query="select:mcp__memory__search_nodes")

# Verify agent-browser is available (Rust-native, no Playwright)
Bash("command -v agent-browser || npx agent-browser --version")
# If missing: "Install agent-browser: npm i -g agent-browser"

# Load agent-browser's version-matched workflow guide (ships with the CLI).
# NOT `skills get agent-browser` — that resolves but returns only the thin
# top-level router; `core --full` is the actual 2,800+ line command reference.
Bash("agent-browser skills get core --full")

# Load it before the first agent-browser command, never drive the CLI from memory.
# Windows (Git Bash): never pipe a command that may start the daemon (| tail hangs);
# redirect to a file instead. See ../browser-tools/references/ork-delta.md,
# section "Windows (Git Bash) and piping".

Read the full file on GitHub · 415 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. 6d ago Changed c8e7ea864dfd
  2. 8d ago Changed e42f72418979
  3. 12d ago Changed · +5 lines 36062722411e
  4. 23d ago Changed · +3 lines a68020fa2a16
  5. 27d ago Changed · -44 tokens per session 998c4664ba77
  6. 28d ago Changed · +22 tokens per session 9a8e531e2851
  7. 2mo ago Changed da4a960fc39c
  8. 2mo ago Changed · -1 lines e0599bb23ad1
  9. 2mo ago Changed · +2 lines b8ab053e6aee
  10. 2mo ago First seen · 406 lines · 73 tokens per session scan A 6d511214caf8

Subscribe to this mod's changes

expect is a skill published in the GitHub repository yonatangross/orchestkit (312 stars, last pushed today), licensed MIT. It adds 51 tokens to every session and 4,833 once invoked, about $0.0002 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-03.

Related

expect compared with skills from other repositories

expect next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
expectyonatangross/orchestkitSkill312todayMITA51Claude Code
playwright-cliVoltAgent/voltagentSkill11k24d agoMITA52Claude Code
web-system-testsAdamBien/airailsSkill76yesterdayMITA233Claude Code
browser-qadamianvtran/local-operatorSkill232todayMITA45Claude Code, Codex
pn-smoke-testsperniemann/pnCoreSkill0todayMITA31Cursor
browser-useKripu77/software-factorySkill62mo agoMITA40Claude Code
webapp-testingashrafmusa/agenticanaSkill2yesterdayMITA20Claude Code