Token导航 LogoToken导航TokenDH.com
研究检索external-serviceunknown未标认证来源可访问许可证需确认审计未展示

form-filling表格填写

Agent Skill

form-filling 用于查找、检索和筛选相关信息,适合在 Local Agent 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

210

周安装

9

下载量

73
Local Agent

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:form-filling(表格填写)
来源仓库:https://cbskills.xcloudzen.com
仓库路径:form-filling
安装命令:
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。当前暂无明确安装命令,请以来源页面说明为准。

简介

form-filling 用于查找、检索和筛选相关信息。

  • 它适合在 Local Agent 中根据关键词、任务场景或来源线索快速定位候选结果时使用。
  • 可结合来源仓库、安装命令和原始 README 继续核验具体用法。
  • 来源仓库:https://cbskills.xcloudzen.com
  • 适用宿主包括 Local Agent,接入前应确认版本、权限和运行环境要求。

SKILL.md

Form Filling — Detect, Fill, Submit, Verify

Works on login forms, contact forms, registration, checkout, search, multi-step wizards. Read chrome-bridge first.

Workflow

  1. Discover — enumerate fields
  2. Build selector strategy — pick the most stable handle per field
  3. Filldom_fill for plain inputs, dom_type for rich editors, execute_script for everything else
  4. Verify — read back the values before submitting
  5. Submit — click the submit button (or fallback to form.submit())
  6. Confirm — check URL change or success message after submit

Reusable scripts

Each capability has a focused JS file under scripts/. To use one:

  1. Read the script file to load it as a string.
  2. Pass the contents as the code argument to mcp__chrome-bridge__execute_script.
  3. Many scripts have selector / value placeholders embedded — edit before passing.
TaskWhenScriptNotes
Discover all forms + fieldsStep 1scripts/discover_fields.jsReturns every form with field types, names, ids, placeholders, labels, required flags, select options, submit text.
Verify values before submitStep 4scripts/form_values_dump.jsReads back values from the first form on the page.
Set a radio buttonStep 3scripts/radio_set.jsEdit the name/value selector inline.
Toggle a checkboxStep 3scripts/checkbox_set.jsEdit the name selector inline. Uses .click() to fire full event chain.
Set a <input type="date">Step 3scripts/date_input_set.jsEdit the YYYY-MM-DD value inline. Native-setter pattern for React/Vue/Angular.
Native-setter text fill (React/Vue rescue)Step 3scripts/native_setter_input.jsUse when dom_fill sets the value but validation still fails or submit stays disabled.
CAPTCHA detectionAnywherescripts/captcha_detect.jsIf detected, STOP. Never try to solve programmatically.

Step 1: Discover fields

execute_script(code=<contents of scripts/discover_fields.js>)

Step 2: Pick selectors

Priority order when choosing a handle per field:

  1. #id — most reliable if the field has an id
  2. [name="fieldname"] — reliable for named fields
  3. [type="email"], [type="tel"], [type="password"] — reliable for typed inputs when the form has one per type
  4. [placeholder="..."] — fallback for unnamed fields
  5. [aria-label="..."] — accessible forms
  6. Positional (form:nth-of-type(1) input:nth-of-type(2)) — last resort

Step 3: Fill

Plain inputs, textareas, selects

dom_fill('#email', 'user@example.com')
dom_fill('[name="password"]', 'hunter2')
dom_fill('textarea[name="message"]', 'Hello...')
dom_fill('select[name="country"]', 'MY')   # matches by value

Rich text editors (ProseMirror, TipTap, Draft.js, contentEditable)

dom_type('[role="textbox"][aria-label*="comment" i]', 'Thanks for sharing!')

dom_fill silently fails on these editors. They listen to real keystroke events, not .value assignment or input events. dom_type simulates actual CDP Input.dispatchKeyEvent — it's the only thing that works on LinkedIn, Threads, Notion, Slack, and most comment boxes on modern sites.

Radio buttons

# Edit name+value in scripts/radio_set.js, then:
execute_script(code=<contents of scripts/radio_set.js>)

Checkboxes

# Edit name in scripts/checkbox_set.js, then:
execute_script(code=<contents of scripts/checkbox_set.js>)

Date pickers (native <input type="date">)

# Edit value in scripts/date_input_set.js, then:
execute_script(code=<contents of scripts/date_input_set.js>)

Autocomplete fields

# Type character-by-character to trigger the suggestion list:
dom_type('input[name="location"]', 'Kuala Lumpur')
# Wait 1-2s for suggestions, then click the one you want:
dom_click('[role="option"]:first-child')

Step 4: Verify before submit

execute_script(code=<contents of scripts/form_values_dump.js>)

Step 5: Submit

dom_click('button[type="submit"]')

If there's no submit button or click does nothing:

execute_script(code="(function(){ document.forms[0].submit(); return 'submitted'; })()")

Step 6: Confirm

# wait 3s for the response
execute_script(code="(()=>location.href)()")  # did we redirect to a success page?
page_text()                                    # is there a "Thank you" / "Success" / error message?

React/Vue framework edge case

If dom_fill appears to work (value is set) but form validation still fails or the submit button stays disabled, the framework state didn't update. Use the native setter pattern:

# Edit selector + value in scripts/native_setter_input.js, then:
execute_script(code=<contents of scripts/native_setter_input.js>)

Multi-step wizards

# 1. Detect current step
execute_script(code="(function(){ return document.querySelector('.wizard-step.active')?.dataset.step || '?'; })()")
# 2. Fill this step's fields (discover → fill → verify)
# 3. Click Next
dom_click('button.next')   # or use execute_script to match by innerText if class varies
# 4. Wait for the next step to render, then repeat until you hit the final submit

CAPTCHA handling

execute_script(code=<contents of scripts/captcha_detect.js>)

If present, stop and tell the user to solve it manually. Never try to solve CAPTCHAs programmatically.

Common failures

SignalCauseFix
dom_fill sets value but form fails validationReact/Vue state not updatedUse scripts/native_setter_input.js
Rich-text comment editor stays empty.value assignment ignoredUse dom_type
Submit button stays disabledRequired field missed, or events didn't fireRe-run scripts/discover_fields.js; ensure every input/change dispatched
dom_click on button[type="submit"] failsAttribute selector escaping quirkUse a narrower parent, or execute_script to click by innerText
Submit redirects to loginSession expired mid-flowAsk the user to re-authenticate; don't try to auto-login
Checkbox "checked" but form ignores itBare .checked = true doesn't fire events on some frameworksUse scripts/checkbox_set.js (.click() fires the full event chain)

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Local Agent

93.09%
按下载量换算68

安全审计

暂无安全审计结果可展示。

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills