edgequake: Skill for Claude Code

.github/skills/playwright-ux-ui-capture/SKILL.md

playwright-ux-ui-capture is a skill for Claude Code, Codex from raphaelmansuy/edgequake. It costs 55 tokens per session (686 once invoked), scanned A, original, Apache-2.0.

A Playwright workflow for capturing screenshots and request data from EdgeQuake WebUI pages. Playwright is a browser-testing tool that can open pages and record what happens during automated tests.

In plain words
What is it for?
Finding capturable Next.js routes, running screenshot tests, saving per-page request JSON, and creating an index of the captured pages for UX and UI review.
Why use it?
It makes UI captures repeatable across known routes and writes each page's artifacts immediately, which helps preserve results even if a later capture fails. It also uses fixed desktop, tablet, and mobile widths.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is raphaelmansuy/edgequake's own configuration. It tells Claude Code and Codex how to work on edgequake 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 edgequake configures →

About the project

EdgeQuake is a Rust framework that turns documents into knowledge graphs for GraphRAG, a retrieval-and-generation approach that uses linked facts to help language models find relevant information. It is used to build applications that search and generate answers from document collections.

raphaelmansuy/edgequake · 2,089 stars · on GitHub · edgequake.com

Reuse

Borrowing it

Nothing to install: this file belongs to raphaelmansuy/edgequake. 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/raphaelmansuy/edgequake/edgequake-main/.github/skills/playwright-ux-ui-capture/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/raphaelmansuy/edgequake

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 playwright-ux-ui-capture

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/raphaelmansuy/edgequake/playwright-ux-ui-capture"><img src="https://agentmods.dev/badge/skills/raphaelmansuy/edgequake/playwright-ux-ui-capture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 686 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 58
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
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.00055 $0.00686
Opus 5 $0.00028 $0.00343
Sonnet 5 $0.00011 $0.00137
Haiku 4.5 $0.00006 $0.00069

Measured 9d ago against content hash 15ec683a2669, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

playwright-ux-ui-capture 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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/derive_routes.mjs), 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.

.github/skills/playwright-ux-ui-capture/SKILL.md · 70 lines

How it starts

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

Playwright UX/UI Capture (Artifact-first)

When to use

Use this skill when implementing or modifying Playwright E2E to:

  • capture screenshots for a set of routes
  • emit per-route artifacts immediately to disk
  • keep the process robust and deterministic

Repo conventions

  • Playwright config: edgequake_webui/playwright.config.ts
  • Tests live in: edgequake_webui/e2e/
  • UX/UI output dir: ux_ui_map/ (repo root)

Route discovery

Prefer enumerating concrete page.tsx files under edgequake_webui/src/app/**/page.tsx.

  • Ignore route groups: folders like (dashboard) do not appear in URL paths.
  • Avoid dynamic segments: paths with [param], [...param], [[...param]] are not capturable without fixture data.

Helper script (no dependencies):

Example:

node .github/skills/playwright-ux-ui-capture/scripts/derive_routes.mjs --format json

Viewports (required)

Capture exactly these 3 widths (use a reasonable height):

  • desktop: 1440px
  • tablet: 768px
  • mobile: 375px

Waiting strategy (important)

  • Prefer Playwright auto-waits + a stable “page ready” signal (e.g. a visible main or h1).
  • Avoid relying on waitForLoadState('networkidle') as the primary sync.

Artifact write-out (must be immediate)

For each route:

  1. create ux_ui_map/screenshots/{page}/
  2. write desktop.png, tablet.png, mobile.png
  3. write/update ux_ui_map/requests/{page}.json from the template
  4. append one JSON line to ux_ui_map/capture-index.jsonl

How to run

From repo root:

  • cd edgequake_webui && npm run test:e2e

To run a single spec (preferred while iterating):

  • cd edgequake_webui && npx playwright test e2e/<spec>.spec.ts

Output example (capture index)

Each line is a standalone JSON object:

{"page":"dashboard","route":"/","capturedAt":"2025-12-26T12:34:56.000Z","ok":true}

Common failure handling

  • If a page requires auth, capture /login first and then attempt the route.
  • If a route 404s, still write a capture-index line with ok:false and store a screenshot of the error state.

Read the full file on GitHub · 70 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 70 lines · 55 tokens per session scan A 15ec683a2669

Subscribe to this mod's changes

playwright-ux-ui-capture is a skill published in the GitHub repository raphaelmansuy/edgequake (2,089 stars, last pushed today), licensed Apache-2.0. It adds 55 tokens to every session and 686 once invoked, about $0.0003 per session on Opus 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-30.

Related

Other skills, from other repositories

graphify

Use for any question about a codebase, its architecture, file relationships, or project content — especially when graphify-out/ exists, where the question should be treated as a graphify query first. Turns any input (code, docs, papers, images, videos) into a persistent knowledge graph with god nodes, community…

Graphify-Labs/graphify · 76 tokens

potpie-debug-memory

Use while debugging or troubleshooting failures, flaky tests, incidents, production alerts, CI failures, local dev setup issues, repeated bugs, prior fixes, failed attempts, and verification history.

potpie-ai/potpie · 41 tokens

potpie-project-preferences

Use before writing, modifying, reviewing, refactoring, or testing code so repo/project preferences surface: error handling, file structure, frameworks, logging, dependency choices, testing, security, API style, and naming. Also use after code work when a reusable project preference should be recorded.

potpie-ai/potpie · 63 tokens

app-user-story-qa

End-to-end app feature inventory and user-story testing workflow with a canonical tracker. Use when the user asks to audit every feature, derive expected behavior from code, test user journeys, or explicitly fix and retest documented UX or logistical defects.

majiayu000/spellbook · 54 tokens

design-ship

One-shot pipeline turning a claude.ai/design link into a pull request: scaffold via /ork:design-import, stories and specs via /ork:cover, browser verification via /ork:expect, then open the PR. Use when a design link should come back as a PR with no intermediate steps; if all you need is the components written to…

yonatangross/orchestkit · 84 tokens

ring:checking-frontend-quality

Checking frontend quality against changed UI via ring:qa-frontend in accessibility, visual, e2e, or performance mode and aggregating pass/fail verdicts. Use when a frontend change needs standalone a11y, visual-snapshot, Playwright e2e, or Lighthouse/Core-Web-Vitals validation outside the dev cycle. Skip for…

LerianStudio/ring · 102 tokens