page-filed-analyzer
Analyzes form fields on a live webpage using browser automation. Use when the user provides an online URL/link and wants to count and analyze form input fiel...
MIT-0 · Free to use, modify, and redistribute. No attribution required.
⭐ 0 · 23 · 0 current installs · 0 all-time installs
MIT-0
Security Scan
OpenClaw
Benign
high confidencePurpose & Capability
Name/description match the instructions: the skill uses browser automation primitives (open page, wait, take snapshot, evaluate script) to count and classify form fields. No unrelated binaries, installs, or credentials are requested.
Instruction Scope
The SKILL.md stays on topic (navigating to a URL, taking an accessibility snapshot, optionally running a contained JS snippet to count elements). However, it will inspect live page content (accessibility tree and run arbitrary in-page JS), which can expose labels/structure and potentially sensitive content (password fields, file inputs, or other user data). The instructions do not mention masking or excluding sensitive values—consider this a privacy note rather than functional incoherence.
Install Mechanism
Instruction-only skill with no install spec or external downloads; nothing is written to disk by the skill itself.
Credentials
No environment variables, credentials, or config paths are requested; the declared requirements are minimal and appropriate for the stated purpose.
Persistence & Privilege
always is false and the skill does not request persistent or elevated platform privileges. It does not attempt to modify other skills or system settings.
Assessment
This skill appears to do what it says: open a provided URL, snapshot the page, and count/classify form fields. Before using it, be aware that it examines live page content and can therefore see form structure and potentially sensitive inputs (passwords, file upload controls, or values if present in the accessibility tree). Do not run it on pages containing private data unless you control the page or have explicit consent. If you need stricter privacy, request or add safeguards (avoid capturing field values, redact snapshots, or limit analysis to public/testing pages). Finally, if a page requires authentication, the skill expects you to sign in manually first—there is no credential handling built into the skill.Like a lobster shell, security has layers — review code before you run it.
Current versionv0.0.1
Download ziplatest
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
SKILL.md
Page Field Analyzer
Analyzes form fields on live webpages using browser automation.
Usage
When the user provides an online URL, perform the following steps:
Step 1: Navigate to the URL
Use mcp__browser-use__new_page to open the provided URL
Step 2: Wait for Page Load
Wait for the page to fully load (use mcp__browser-use__wait_for if needed)
Step 3: Take a Snapshot
Use mcp__browser-use__take_snapshot to get the page's accessibility tree
Step 4: Analyze Form Fields
From the snapshot, identify and count these form field types:
Input Fields
input[type="text"]- Text inputsinput[type="number"]- Number inputsinput[type="email"]- Email inputsinput[type="password"]- Password inputsinput[type="tel"]- Phone inputsinput[type="date"]- Date inputsinput[type="file"]- File uploadsinput[type="checkbox"]- Checkboxesinput[type="radio"]- Radio buttons
Other Form Elements
select- Dropdown selectstextarea- Text areasbutton[type="submit"]- Submit buttons
UI Component Libraries (common patterns)
- Elements with role="textbox" - Input-like components
- Elements with role="combobox" - Select/autocomplete components
- Elements with role="listbox" - List selection components
- Elements with role="checkbox" - Checkbox components
- Elements with role="radio" - Radio components
- Elements with role="spinbutton" - Number picker components
- Elements with role="switch" - Toggle switches
Step 5: Use JavaScript for Detailed Analysis (Optional)
If the snapshot doesn't provide enough detail, use mcp__browser-use__evaluate_script to run:
() => {
const fields = {
inputs: document.querySelectorAll('input').length,
textInputs: document.querySelectorAll('input[type="text"], input:not([type])').length,
numberInputs: document.querySelectorAll('input[type="number"]').length,
checkboxes: document.querySelectorAll('input[type="checkbox"]').length,
radios: document.querySelectorAll('input[type="radio"]').length,
selects: document.querySelectorAll('select').length,
textareas: document.querySelectorAll('textarea').length,
dateInputs: document.querySelectorAll('input[type="date"], input[type="datetime-local"]').length,
fileInputs: document.querySelectorAll('input[type="file"]').length,
// Ant Design / CN-UI specific
antInputs: document.querySelectorAll('.ant-input, .cn-input').length,
antSelects: document.querySelectorAll('.ant-select, .cn-select').length,
antDatePickers: document.querySelectorAll('.ant-picker, .cn-date-picker').length,
antCheckboxes: document.querySelectorAll('.ant-checkbox, .cn-checkbox').length,
antRadios: document.querySelectorAll('.ant-radio, .cn-radio').length,
antSwitches: document.querySelectorAll('.ant-switch, .cn-switch').length,
antUploads: document.querySelectorAll('.ant-upload, .cn-upload').length,
// Form items (containers)
formItems: document.querySelectorAll('.ant-form-item, .cn-form-item, .next-form-item').length,
};
// Calculate total unique fields
fields.totalFields = fields.formItems || (
fields.textInputs + fields.numberInputs + fields.checkboxes +
fields.radios + fields.selects + fields.textareas +
fields.dateInputs + fields.fileInputs
);
return fields;
}
Step 6: Output Results
Format the results as a markdown table:
## Page Field Statistics: [Page URL]
### Form Fields Summary
| Field Type | Count |
|------------|-------|
| Text Inputs | X |
| Number Inputs | X |
| Selects/Dropdowns | X |
| Checkboxes | X |
| Radio Buttons | X |
| Date Pickers | X |
| File Uploads | X |
| Text Areas | X |
| Switches | X |
### Total
- **Total Form Fields**: X
- **Total Form Items/Groups**: X
### Notes
- [Any observations about the form structure]
Example
User input:
https://example.com/form-page
Output:
## Page Field Statistics: https://example.com/form-page
### Form Fields Summary
| Field Type | Count |
|------------|-------|
| Text Inputs | 12 |
| Number Inputs | 3 |
| Selects/Dropdowns | 8 |
| Checkboxes | 2 |
| Date Pickers | 4 |
### Total
- **Total Form Fields**: 29
- **Total Form Items/Groups**: 29
Tips
- If the page requires authentication, inform the user and ask them to log in first
- For single-page applications (SPAs), wait for dynamic content to load
- Some form fields may be hidden or in collapsed sections - consider expanding them
- If the page has multiple tabs or sections, analyze each one separately if requested
Files
1 totalSelect a file
Select a file to preview.
Comments
Loading comments…
