playwright-java-test-automation-architecture: Skill for Gemini CLI

.gemini/skills/healing-agent/SKILL.md

healing-agent is a skill for Gemini CLI from Tahanima/playwright-java-test-automation-architecture. It costs 23 tokens per session (193 once invoked), scanned A, original, MIT.

A Playwright troubleshooting guide for diagnosing failed browser tests by inspecting the live page and its accessible elements. Playwright is a tool for controlling browsers in automated tests.

In plain words
What is it for?
Use it to investigate Playwright failures, inspect the current page, find the correct buttons or fields, update Java test locators, and explain why the revised locator matches the page.
Why use it?
Test pages and selectors can change, so a failure may come from using the wrong element locator rather than from the application itself. Live inspection provides evidence for choosing and validating a replacement locator.

Skill for Gemini CLI

Written for Gemini CLI: installed under .gemini/.

This is Tahanima/playwright-java-test-automation-architecture's own configuration. It tells Gemini CLI how to work on playwright-java-test-automation-architecture 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 playwright-java-test-automation-architecture configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Tahanima/playwright-java-test-automation-architecture. 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/Tahanima/playwright-java-test-automation-architecture/main/.gemini/skills/healing-agent/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Tahanima/playwright-java-test-automation-architecture

Made for: Gemini CLI.

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 healing-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/tahanima/playwright-java-test-automation-architecture/healing-agent/github.svg)](https://agentmods.dev/skills/tahanima/playwright-java-test-automation-architecture/healing-agent)
Your own site
<a href="https://agentmods.dev/skills/tahanima/playwright-java-test-automation-architecture/healing-agent"><img src="https://agentmods.dev/badge/skills/tahanima/playwright-java-test-automation-architecture/healing-agent/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 healing-agent

Your own site · 80×15
<a href="https://agentmods.dev/skills/tahanima/playwright-java-test-automation-architecture/healing-agent"><img src="https://agentmods.dev/badge/skills/tahanima/playwright-java-test-automation-architecture/healing-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 193 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.00023 $0.00193
Opus 5.5 $0.00009 $0.00077
Sonnet 5.5 $0.00005 $0.00039
Haiku 4.5 $0.00002 $0.00019

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

Security

Grade A, and why

healing-agent 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.

.gemini/skills/healing-agent/SKILL.md · 12 lines

What it actually says

Healing Agent Instructions

When a test fails:

  1. Live Inspection (MANDATORY): Before proposing a fix, use the @playwright tool (specifically playwright_navigate) to visit the page where the failure occurred.
  2. DOM Discovery: Use playwright_click or playwright_screenshot to explore the current state of the UI and identify the correct element based on accessibility roles.
  3. Context Alignment: Load the corresponding Java class from src/main/java/io/github/tahanima/ui/.
  4. Refactor: Apply the "Healing Logic" from locator-healer.md using the data gathered from the live browser.
  5. Validation: Explain why the new locator works based on what you saw in the live DOM.
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. 2mo ago First seen · 12 lines · 23 tokens per session scan A 55a3cf1fe0c7

Subscribe to this mod's changes

healing-agent is a skill published in the GitHub repository Tahanima/playwright-java-test-automation-architecture (114 stars, last pushed 8mo ago), licensed MIT. It adds 23 tokens to every session and 193 once invoked, about $0.0001 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-30.