Live survey304 models · 14 providers · 22,792 auditsAudited grill-with-docs · SAFE →What changedHow we verifyllms.txt

Agent skill · Audited from source

Javascript Dom Parser For Playwright Selector Generation

skill · ECNU-ICALK/AutoSkillLicence not declaredAudited 14 Oct 2026 · source 04e912cff54b

★ 602pushed 157 days agoversion 0.1.0
✓SAFEGrade B · 89/100 · 14 Oct 2026 · 04e912c
602repo stars · whole ECNU-ICALK/AutoSkill

Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 04e912cff54b and found no filesystem, network or shell access and no hard-coded secrets. What it does: Generates a JavaScript function to traverse and filter webpage DOM, removing noise (scripts, long text, long attributes) and retaining structural data (tags, IDs, classes, key attributes) optimized for GPT token limits…

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Javascript Dom Parser For Playwright Selector Generation (ECNU-ICALK/AutoSkill)”. Retrieved 14 Oct 2026. https://modelsatlas.com/skills/ecnu-icalk/javascript-dom-parser-for-playwright-selector-generation

Trust audit

Audit 0.4.1 · source read 14 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high0 medium0 low0 info

SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 16,667 of 17,602 audited skills.

What the source does

  • FilesystemNone observedNo reads or writes in the source
  • NetworkNone observedNo outbound calls in the source
  • ShellNone observedNo commands run in the source
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

Five audit layers

LayerWhat we checkResultFindings
L0 ProvenanceRepo owner, licence, archive status, activityPASS0
L1 Static sourceSecrets, path traversal, supply chain, hidden codeNA0
L2 InstructionsPrompt injection, authority framing, hidden directivesPASS0
L3 InventoryThe files and declarations match the sourcePASS0
L4 SandboxRun in isolation and watch behaviourSKIPPED why0

Gates applied: no behavioural pass.

Findings (0)

No findings at any severity. We re-audit when the source changes.

Audit 0.4.1 · source sha 04e912cff54b · 14 Oct 2026Report an issue or request a re-scan

Provenance

Who published it, and what the verdict is pinned to

What it tells the agent

Full source on GitHub ↗

Its description: Generates a JavaScript function to traverse and filter webpage DOM, removing noise (scripts, long text, long attributes) and retaining structural data (tags, IDs, classes, key attributes) optimized for GPT token limits…

---
id: "80a92e61-1f51-4a08-80b4-64f3fef71a9a"
name: "JavaScript DOM Parser for Playwright Selector Generation"
description: "Generates a JavaScript function to traverse and filter webpage DOM, removing noise (scripts, long text, long attributes) and retaining structural data (tags, IDs, classes, key attributes) optimized for GPT token limits to facilitate Playwright selector generation."
version: "0.1.0"
tags:
  - "javascript"
  - "dom parsing"
  - "playwright"
  - "selectors"
  - "data filtering"
triggers:
  - "parse html for playwright selectors"
  - "filter dom for gpt"
  - "clean html for selector generation"
  - "js to extract selector data"
  - "reduce html token size for selectors"
---

# JavaScript DOM Parser for Playwright Selector Generation

Generates a JavaScript function to traverse and filter webpage DOM, removing noise (scripts, long text, long attributes) and retaining structural data (tags, IDs, classes, key attributes) optimized for GPT token limits to facilitate Playwright selector generation.

## Prompt

# Role & Objective
You are a JavaScript expert specializing in DOM manipulation and data optimization for LLMs. Your task is to write a JavaScript function that parses a webpage's DOM, filters out useless information, and retains only data useful for GPT to determine Playwright selectors.

# Operational Rules & Constraints
1. **Filtering Logic**:
   - Exclude `script`, `style`, and `iframe` tags.
   - Exclude the text content of paragraphs.
   - Exclude HTML attributes where the text or value is longer than 50 characters.
2. **Data Retention**:
   - Retain element tag names.
   - Retain IDs and classes.
   - Retain specific attributes useful for selectors: `id`, `class`, `name`, `type`, `value`, `href`, `src`, `alt`, `role`, `aria-label`.
3. **Token Management**:
   - The final output must be a JSON string.
   - The JSON size must be strictly controlled to fit within a specified `maxTokens` limit. Implement logic to truncate the data (e.g., removing elements from the end) if the limit is exceeded.
4. **Selector Generation**:
   - Attempt to generate unique CSS selectors for elements (prioritize ID, then class/tag paths).

# Communication & Style Preferences
- Output ONLY the JavaScript code. Do not include explanations or markdown code blocks unless specifically requested.
- Ensure the code is robust and handles edge cases (e.g., missing attributes).

## Triggers

- parse html for playwright selectors
- filter dom for gpt
- clean html for selector generation
- js to extract selector data
- reduce html token size for selectors

Excerpt, first 2,592 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.

Install

Pinned to the audited commit 04e912c

Download folder ↗
git clone https://github.com/ECNU-ICALK/AutoSkill
git -C AutoSkill checkout 04e912cff54b

The author documents no install command, so this uses the repository directly. Our verdict covers commit 04e912cff54b only.

Works in

The author has not said which agents this skill supports, and we have not tested it in any.

Audit history

Every audit, every source change

  1. ✓SAFE B 89 / 100

    first audit · source 04e912cff54b

Similar skills

Questions about Javascript Dom Parser For Playwright Selector Generation

What does the Javascript Dom Parser For Playwright Selector Generation skill do?
AutoSkill: Experience-Driven Lifelong Learning via Skill Self-Evolution
Is Javascript Dom Parser For Playwright Selector Generation safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can Javascript Dom Parser For Playwright Selector Generation access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
How current is this page?
The grade is for one exact copy of the source (04e912cff54b), read on 2026-10-14. The repository is watched, and a new audit runs when it changes — this is the first audit.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.