Chuyển đến nội dung
Skillpedia
Tự động hóa81k · #1577

browser-form-fill

Skill này làm gì

Skill này hướng dẫn agent điền một biểu mẫu web với các giá trị bạn cung cấp, ánh xạ tên từng trường tới đúng ô nhập trên trang. Phù hợp với người phải gửi cùng một biểu mẫu nhiều lần.

Khi nào nên dùng

  • ✓Khi bạn cần điền cùng một biểu mẫu web nhiều lần.
  • ✓Khi một biểu mẫu có các trường ổn định và đã có ánh xạ được lưu.
  • ✓Khi bạn muốn lưu ánh xạ trường của một biểu mẫu mới để dùng sau.

Liên kết skill

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-browser/skills/browser-form-fill/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-browser/skills/browser-form-fill/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Điền biểu mẫu liên hệ trên trang này bằng tên, công ty và email của tôi, nhưng chưa gửi.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent tìm các ô nhập tương ứng từ một mẫu đã lưu hoặc bố cục trang, kiểm tra các giá trị về thông tin cá nhân, điền từng trường, và chỉ gửi khi bạn yêu cầu.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Browser Form Fill

Fill a form using a structured field map ({"first_name": "Ada", "company": "..."}). When a browser-templates entry exists for the host, use it to resolve field names → CSS selectors automatically; otherwise resolve via the page accessibility snapshot.

When to use

  • Submitting a known form (signup, contact, checkout) where field names are stable.
  • Re-using a stored template for a recurring submission.
  • Authoring a new template for a site by recording the resolved selectors.

Steps

  1. Open a recorded session via browser-record.
  2. Resolve selectors:
    • Template path (--template <name>): pull {field_name → selector} from browser-templates.
    • Snapshot path: call browser_snapshot, walk the accessibility tree, match each input's accessible name / label to the field map keys.
  3. AIDefence PII gate: every value in the field map passes aidefence_has_pii before any keystroke; record pii_in_form: true in the session manifest. Do not record the values themselves in the trajectory; record only the field names + a redacted placeholder.
  4. Fill with browser_fill / browser_type / browser_select / browser_check per input type.
  5. Submit if --submit: locate the submit button via the snapshot, browser_click, then browser_wait for navigation.
  6. Persist the template if a new mapping was discovered:
    npx -y @claude-flow/cli@latest memory store --namespace browser-templates \
      --key "<host>:<form-name>" \
      --value "{field_map:{...}, submit_selector:..., post_submit_url_pattern:...}"
    
  7. Verify post-submit state if a verification snippet was provided in the field map's _assert key.

Caveats

  • Trajectory steps for fills MUST redact values. The PII gate is the contract.
  • For inputs that require typing simulation (e.g., autocomplete reactions), use browser_type (simulates keystrokes) rather than browser_fill (sets value programmatically). Record which one was used in the trajectory step.
  • Multi-step forms are a sequence of browser-form-fill invocations; chain them via the same session id.
  • If the form has a CAPTCHA, surface the request to the user — do not attempt to bypass.
Câu hỏi thường gặp

Nó có tự gửi biểu mẫu không?

Chỉ khi bạn yêu cầu gửi. Nếu không, nó chỉ điền các trường rồi dừng lại.

Giá trị của tôi có được lưu trong nhật ký không?

Skill nói nó chỉ ghi lại tên trường và một chỗ giữ chỗ đã che, không ghi giá trị.

Nó có học được biểu mẫu mới không?

Có. Skill có thể lưu ánh xạ nó phát hiện để lần sau điền dễ hơn.

Chi tiết

Mô tả gốc của tác giả

Fill a web form by mapping field-name → value, with optional template lookup from browser-templates for known forms

repo: ruvnet/ruflo

Độ phổ biến

Sao GitHub
81k
Vị trí xếp hạng
#1577
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự