agentweaver: Skill for Claude Code

.github/skills/agentweaver-ui-harness/SKILL.md

agentweaver-ui-harness is a skill for Claude Code from sabbour/agentweaver. It costs 49 tokens per session (609 once invoked), scanned A, original, MIT.

A browser-testing skill for Agentweaver’s deployed user interface. It uses a managed Edge browser to collect evidence, reproduce problems, and run plain-English user scenarios.

In plain words
What is it for?
Use it to validate screens, investigate reported UI issues, capture browser evidence, and test canvas interactions.
Why use it?
It provides a documented way to test Agentweaver’s actual interface and avoids unreliable manual browser automation or blocked sign-in flows.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is sabbour/agentweaver's own configuration. It tells Claude Code how to work on agentweaver itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agentweaver configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is Bash(node scripts/ui-harness/agent-driver-ui/tools.mjs:*) Bash(npm --prefix scripts/ui-harness:*).

Reuse

Borrowing it

Nothing to install: this file belongs to sabbour/agentweaver. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/sabbour/agentweaver/dev/.github/skills/agentweaver-ui-harness/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/sabbour/agentweaver

Made for: Claude Code.

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 agentweaver-ui-harness

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sabbour/agentweaver/agentweaver-ui-harness"><img src="https://agentmods.dev/badge/skills/sabbour/agentweaver/agentweaver-ui-harness.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 609 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.00049 $0.00609
Opus 5.5 $0.00020 $0.00244
Sonnet 5.5 $0.00010 $0.00122
Haiku 4.5 $0.00005 $0.00061

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

Security

Grade A, and why

agentweaver-ui-harness 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.

.github/skills/agentweaver-ui-harness/SKILL.md · 53 lines

What it actually says

UI harness

Use this skill for a single UI-harness run: browser UI validation, persona browser-flow evidence capture, or investigation of a UI-reported issue. It is not the combined launcher; do not replace the API or MCP harnesses, or orchestrate a full cross-surface sweep here.

Read and follow the detailed CLI contract in scripts/ui-harness/SKILL.md. Invoke its actual node scripts/ui-harness/agent-driver-ui/tools.mjs commands rather than recreating browser steps with another Playwright interface.

Canvas interactions use the documented drag command with stable source/target test IDs. It drives a genuine pointer down/move/up sequence and records failed attempts.

That contract now includes list-scenarios for the reviewed built-in UI catalog. Use the separate harness-scenarios skill for cross-surface cataloging and persona generation.

The auth pattern requires the managed Chrome Default profile to satisfy Conditional Access (plain Chromium is blocked by Entra policy). Close all Chrome windows first, then:

node scripts/ui-harness/login-chrome-default.mjs --base-url <staging-url>

The command launches a disposable, git-ignored clone rather than the live Default directory; it detects Chrome locks and exits before launching when Chrome is still running. Do not use generic Playwright, CDP/DevTools, ad-hoc profile copies/launches, or manual browser automation as a fallback. Resolve the explicit harness error and rerun this command. The script writes git-ignored state to scripts/ui-harness/.auth/ and a session-token.txt for the API harness — never print or commit these. It requires the installed literal Google Chrome chrome.exe through Playwright's chrome channel and never substitutes bundled Playwright Chromium. The API harness consumes the matching cached session sidecar only in memory, so a successful UI login is reused rather than requiring another sign-in.

Read scripts/ui-harness/SKILL.md Authentication section for recovery details and the legacy tool notes. Never automate the login flow or expose the storage-state file.

Before running, check scripts/harness-shared/learnings.md (surface: ui or all) for already-known bugs, environment facts, and scenario-design notes so they aren't rediscovered from source each run.

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 c9aa35d9579c
  2. 2mo ago Changed 9dd6ed0cba8d
  3. 3mo ago First seen · 46 lines · 49 tokens per session scan A 9f37d04e557e

Subscribe to this mod's changes

agentweaver-ui-harness is a skill published in the GitHub repository sabbour/agentweaver (8 stars, last pushed yesterday), licensed MIT. It adds 49 tokens to every session and 609 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-08-31.

Related

agentweaver-ui-harness compared with skills from other repositories

agentweaver-ui-harness next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agentweaver-ui-harnesssabbour/agentweaverSkill8yesterdayMITA49Claude Code
webapp-testingHmbown/CodeWhaleSkill41ktodayMITA32Claude Code, Codex
qa-executioncompozy/compozySkill2.9ktodayMITA34Claude Code
qaSethGammon/CitadelSkill9422d agoMITA56Claude Code
playwright-visual-testingmanagedcode/dotnet-skillsSkill530todayMITA101Claude Code, Codex
run-dashboard-e2e-local-changesBlackBeltTechnology/pi-agent-dashboardSkill358todayMITA42Claude Code, Codex
chrome-automationaAAaqwq/AGI-Super-TeamSkill1254d agoMITA34Claude Code