agent-autofill-form-memory

Installation
SKILL.md

Agent Autofill form memory

Prepare, fill, and gate external form submissions using Agent Autofill's local metadata and scoped reads. Read references/record-contracts.md before calling write_records or update_record_scope.

1. Form-field preflight & retrieval

  1. Contextual & metadata preflight: Check get_task_context when confirmed bundles exist (mapping explicit components like street, city, postcode, country). Otherwise send visible field labels, required flags, stable locator hints (name, autocomplete, type, role), target_origin, purpose, and safe state flags (obscured, blocked, validation_error, task_specific, consent, page_default) to match_form_fields—never pass form values.
  2. Act on match_form_fields classifications:
    • matched / ambiguous: Use the value-free ranked candidate_rows (group_summary, group_label, is_primary, matches_self_profile, recipient_initials, state, country, confidence, llm_guidance). Pick the top/clearest candidate from page context without pausing per field; ask one grouped question (e.g., home vs. work) only when genuinely tied. Keep address components within a single group_id (list_profile_groups -> request_profile_fields(..., group_id=...)).
    • credential: Route through match_credentials / request_credential (delivery="direct" or "extension").
    • missing: Use Just-in-time capture below.
    • consent / task_specific / page_default: Keep in current task state; never infer task_specific answers from profile records or treat page_default placeholders as saved user data.
    • transient / obstructed / validation_error: Never save OTPs/CAPTCHAs; report obstructions or validation errors without auto-accepting consent banners or transforming values blindly.
  3. Locate controls reliably: Prefer accessible labels and name/autocomplete/type/role attributes over generated DOM IDs. Filling browser fields is preparation and needs no extra prompt before typing.

2. Just-in-time capture for missing fields

Pause once at the missing ordinary field (or batch multiple missing ordinary fields together) with a single compact check-in offering use once, save to Agent Autofill, or skip:

Installs
1
GitHub Stars
1
First Seen
Today