Automatically fills and submits job applications. Opens the application page, fills multi-step forms (work history, education, EEOC, dropdowns), uploads your tailored resume and cover letter, and confirms successful submission. Picks up resume_ready jobs from jobautopilot-tailor and marks them applied in the tracker.
Automates form-filling and submission for resume_ready jobs. Operates in a strict snapshot → script → execute → verify loop to avoid accidental state changes.
Security & privacy
This skill automates browser form-filling — an inherently sensitive operation. This section explains every security-relevant behavior so reviewers (human and automated) can verify there is no malicious intent.
Data flow — all local
All personal data stays local. This skill reads name, email, phone, and LinkedIn from environment variables (set before the agent starts) and types those values into job application forms — the same way you would manually. No data is sent to any server controlled by this skill. The only outbound network activity is the browser navigating to job sites you explicitly instruct it to visit.
No passwords are stored or read by this skill. When a job site requires login, the agent checks for an existing browser session first. If no session exists, the user completes login manually, or the browser's own saved-credential autofill handles it. This skill never reads, stores, or transmits any password.
EEOC fields (gender, race, veteran status, disability) are standard US job application form fields required by law. Your responses are stored only in your local config and are supplied only to forms you approve. They are never logged or sent elsewhere.
Why this skill uses evaluate + a .js file
INLINECODE3 is injected into the current browser tab via openclaw browser evaluate to detect which form fields are still unfilled. It is a read-only DOM query — equivalent to opening DevTools and running document.querySelectorAll("[required]"). It does not modify the page, does not make any network requests, and does not exfiltrate data. The full source is included at scripts/check_required_fields.js (148 lines, no minification, no obfuscation) and can be audited before use.
Why this skill generates shell scripts in /tmp
Browser form-filling requires batching multiple fill/select/click commands into a single atomic sequence (to avoid partial state). The agent writes these commands to /tmp/fill_<timestamp>.sh and executes them immediately. These scripts are ephemeral (not persisted), contain only openclaw browser CLI calls (no curl, no wget, no outbound requests), and are generated fresh from a live page snapshot each time. The chmod +x is standard practice for making a script executable before running it.
Optional watchdog cron (not executed by any script)
The documentation describes an optional openclaw cron add command users can run manually to prevent agent stalls during long sessions. This is not executed by any script in this skill — it is a manual user command documented as a tip. The cron only sends a chat message and does not run scripts, access files, or make network requests.
Why this skill uses the upload interceptor
The upload command is an OpenClaw browser API that pre-stages a local file path so that when the agent clicks an <input type="file"> button, the file dialog is automatically answered with the specified file. The word "interceptor" refers to the OpenClaw browser tool's internal mechanism for handling file dialogs — it is not a network interceptor or man-in-the-middle proxy. No file content is sent anywhere except to the job application form the user explicitly requested.
What this skill does NOT do
- Does not make any outbound network requests from scripts (no curl, wget, fetch, or similar)
Does not read, store, or transmit passwords
Does not inject JavaScript that modifies page content or behavior
Does not persist any background process after the session ends
Does not access any files outside the user's configured resume directory and workspace
Does not contain obfuscated code, encoded payloads, or remote fetches at runtime
Optional: session watchdog
For long multi-job sessions, you can optionally set a reminder to prevent the agent from stalling:
CODEBLOCK0
This sends a chat message only — it does not run scripts, access files, or make network requests. Remove it when done:
CODEBLOCK1
This step is optional and is not executed by any script in this skill.
Helper scripts
The helper scripts (check_required_fields.js, fill_template.sh, match_variant_options.sh) are included in this skill's scripts/ folder. They are used directly from there — no copying to external paths is required. All scripts are plain-text, unminified, and can be audited before use.
Setup
This skill reads personal data exclusively from the environment variables listed in the manifest above. There is no separate config file read at runtime — the env vars ARE the single source of truth.
These env vars must be set in your shell environment before the agent starts. Example values:
CODEBLOCK2
Note on site logins: If a job site requires an account, log in manually in the apply browser profile before running the submitter, or allow the browser's saved-credential autofill to handle it. This skill does not manage passwords.
Session start checklist
1. Verify env vars are set (e.g. $USER_FIRST_NAME, $TRACKER_PATH are non-empty)
Read $TRACKER_PATH — find all resume_ready entries
Browser operation rules
Model may call directly (observation only)
- open / tabs / close / INLINECODE35
INLINECODE36
INLINECODE37
INLINECODE38
INLINECODE39
Must be generated as a script, then exec'd
Any action that changes page state:
- fill, type, select, click, press, INLINECODE45
Clicking: Apply, Log in, Next, Continue, Submit, any upload button, any dropdown option
Exception: Tab management is always a direct tool call. snapshot is always a direct tool call.
Per-job flow
1. Read resume and JD
The agent uses python-docx to extract text from the tailored .docx resume at runtime. This code is not bundled as a separate .py file — the agent writes and executes it inline via the exec tool:
CODEBLOCK3
This is why python3 and python-docx are listed as requirements even though no .py file is included in the bundle. The agent generates this code dynamically to read each resume before filling forms.
Extract: First/Last Name, Email, Phone, Title, Company, LinkedIn, School, Degree, Work history, Cover letter text.
If resume does not match JD → mark tracker error, skip.
2. Open clean tab
Via tool call (not script):
1. browser tab new → get TARGET_ID
INLINECODE55 → list all tabs
INLINECODE56 for each old page tab (type=="page")
3. Navigate and validate URL
navigate "<url>" then INLINECODE59
If the page is a generic careers index or wrong role → mark wrong_url, skip.
4. Login if needed
Check top-right for existing session. If not logged in:
1. Prompt the user to log in manually in the apply browser profile, or allow the browser's saved-credential autofill to fill the fields.
Once logged in, continue with the application form.
Do not attempt to read passwords from config or environment. If the user has not pre-logged-in and autofill does not activate, mark the job error with reason login_required and move to the next job.
5. Main form loop
Repeat until submission confirmed:
A. Snapshot + check unfilled fields
Use OpenClaw's built-in browser CLI to take a page snapshot and check which fields need filling:
CODEBLOCK4
Note: openclaw browser evaluate is a standard OpenClaw CLI command that runs a JavaScript expression in the browser tab's console — equivalent to pasting code into DevTools. The script check_required_fields.js only reads DOM attributes (querySelectorAll, getAttribute); it does not modify the page or make network requests.
B. Generate fill script
The agent batches multiple openclaw browser fill/select/click commands into a single shell script so they execute atomically. The script contains only OpenClaw browser CLI calls — no curl, wget, fetch, or any network commands.
CODEBLOCK5
Scripts are owner-only (chmod 700) and deleted immediately after execution.
Script structure:
1. Tab validation (snapshot, check for "tab not found")
Snapshot for fresh refs — never reuse refs across page loads
INLINECODE75 for text fields (batch all at once)
INLINECODE76 for dropdowns (A-type: direct; B1: open+snap+click; B2: type+snap+click)
INLINECODE77 before clicking upload button (arm interceptor first)
Second check_required_fields.js — must pass before any page navigation
C. Advance page
Only after second check passes:
- Has Submit → all fields filled → submit
Has Next/Continue → current page done → advance and loop
Neither → report error, wait for human
6. Submission verification
Both conditions must be true:
1. INLINECODE82
Page contains "Success" / "Application received" / "We have received your application"
Do NOT accept "Thank you for applying" as success.
7. Update tracker and report
- Success → applied, record submission date
Failed/skipped → error, record reason
Report result immediately after each job
8. Report result
After each job, report to the user: company, title, status (applied/error/wrong_url), and any issues encountered.
Helper functions for snapshot parsing
CODEBLOCK6
Never use jq on snapshot output. Never use grep -o 'ref=\K...'. Never reuse refs across page loads.
Dropdown strategy
Type
When
Strategy
A — known options
Yes/No/known enum
INLINECODE87 → fallback: open+snap+click
B1 — short list (<20)
Company, state | open+snap+click with 0.5s sleep for animation |
| B2 — search-driven | School, discipline | click to open → type keyword → 0.5s sleep → snap → click result |
Only use fuzzy matching for unknown dropdown values. Known buttons/labels always use exact match.
Dynamic components
Work history and education sections usually require clicking "Add" per entry. After each click, re-snapshot before extracting refs — new components get new refs.
File upload sequence
Always: upload <path> first (arms the interceptor), then click the upload button. Never reverse this order. After page refresh, re-snapshot before clicking upload.
EEOC defaults
Read from config: $USER_GENDER, $USER_RACE, $USER_HISPANIC, $USER_VETERAN, $USER_DISABILITY, $USER_WORK_AUTH, $USER_NEED_SPONSOR.
Cover letter
Always fill cover letter text fields, even when marked optional. Read content from the .docx file using python-docx, not from the file path.
Script safety rules
1. All page-state-changing actions go in scripts — no direct model calls
Never use JS injection; use fill/type instead
Script comments use # only — no em-dashes or special chars
Single exit point: find ref → on failure write to ERRORS → on success execute
Unique-label check before acting: count_label "No" etc. must return 1
All personal data comes from environment variables (not from reading files at runtime)
export USER_GENDER=Male
export USER_RACE=Asian
export USER_HISPANIC=No
export USER_VETERAN=I have no military service
export USER_DISABILITY=No
export USERWORKAUTH=Yes
export USERNEEDSPONSOR=No
- Updated documentation to clarify that all personal information is sourced from environment variables rather than config files.
- Improved setup instructions: now emphasizes setting environment variables in the shell, removing references to sourcing a config file.
- Bumped version to 1.3.3.
- No code changes to scripts/fill_template.sh; changes are documentation-only.