Apply
SkillDev toolsSearches for jobs on LinkedIn, filters by profile Must-haves, applies via Easy Apply, registers each application in DB.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Apply skill
What this skill tells your AI
The instructions your AI receives, as published by galiprandi/job-seeker in .agents/skills/apply/SKILL.md and read by ahel’s review.
Trigger
Keyword: apply
The user says apply (or variants: "apply to N jobs", "postulate", "search jobs") and the full search and application flow is triggered.
Pre-flight (applies to ALL applications: LinkedIn Easy Apply AND direct career pages)
- Verify active LinkedIn session. If session closed → open browser with wrapper (see AGENTS.md "Browser session"):
node scripts/browser.js open <url> --headed(Gold Rule 5) → notify user → wait for confirmation - Browser: always use
node scripts/browser.jsfor open/close/goto. See AGENTS.md "Browser session" and "Parallel execution" for details. Never callplaywright-cli opendirectly, never open Chrome directly - Parallel execution: if running alongside other flows (e.g:
newsortargets), attach a session withnode scripts/browser.js attach --session apply-1and pass--session apply-1tolinkedin-easy-apply.jsand all browser commands. Usedetachwhen done (neverclose— it's ref-counted) - Load active preferences (see
memoryskill):node scripts/db.js "SELECT category, key, value, confidence, source FROM preferences WHERE user_id = 1 AND status = 'active' ORDER BY category, key" - Load strategy (see AGENTS.md "Strategy levels"):
Respect:node scripts/db.js "SELECT data->'strategy' AS strategy FROM users WHERE id = 1"apply_batch_size(max jobs per session),match_threshold(must_only / must_strong / must_strong_nice),relax_must_haves(loosen Must-have filtering). Ifapply_batch_size = 0, don't auto-apply, only present matches for manual approval - Read profile and existing applications via db CLI:
node scripts/db.js "SELECT data->'profile' AS profile, data->'job_preferences' AS prefs, data->'personal_info' AS personal FROM users WHERE id = 1" node scripts/db.js "SELECT url FROM applications WHERE user_id = 1" - DB is the single source of truth for ALL form fields. Before filling ANY form (LinkedIn, Lever, Greenhouse, Workday, SuccessFactors, custom sites), the agent must have the profile data loaded in context. Never invent, guess, or fabricate any value. If a required field is not in the DB, STOP, ask the user, save the answer to DB, then continue. This is Gold Rule 5c.
- Captcha policy: NEVER attempt to solve captchas programmatically. This is Gold Rule 5b. When a captcha appears (hCaptcha, reCAPTCHA, image challenge, drag-and-drop, etc.), the agent must: (1) ensure browser is headed, (2) notify the user and wait, (3) continue only after user confirms. Never retry in a loop. Never attempt to click captcha elements, solve challenges, or bypass them.
Flow
1. Search jobs
Preferred: use the automation script (see AGENTS.md "Scripts de automatizacion"):
# Dry-run first to see what's available
node scripts/linkedin-easy-apply.js --dry-run --max 15
# Apply to top N jobs
node scripts/linkedin-easy-apply.js --max 10
# Run in a specific browser session (for parallel execution with other agents)
# First attach a session: node scripts/browser.js attach --session apply-1
# Then run the script with --session:
node scripts/linkedin-easy-apply.js --max 10 --session apply-1
The script handles: search with Easy Apply filter, form filling with standard answers, radio/combobox/checkbox handling, DB registration, and captcha detection (stops on captcha). The --session flag allows running in parallel with other agents by using an attached session instead of the default one.
Manual fallback (when script fails or forms have complex open-ended questions):
Search LinkedIn Jobs with filters:
- Keywords derived from profile (primary role, seniority, AI-related terms)
- Location: Worldwide or remote
- Work type: Remote
- Experience level: per profile (mid-senior, director)
- Easy Apply: yes (filter
f_AL=true) - Sort: Date posted (most recent first)
Paginate until collecting 20-30 candidates.
2. Filter by Must-haves
For each job, verify against profile Must-haves from users.data.job_preferences. Discard if:
- Doesn't match any Must-have (the filter is dynamic, based on the user's Must-weighted preferences, not hardcoded)
- Requires visa/location the user doesn't have (e.g: US-only, EU-only)
- Not in the user's field/sector (per
users.data.profile.sectorandjob_preferences) - Already applied (check against DB)
Keep 10-15 matching positions.
2.5. Warm Sourcing & Referral Pre-Check (Strategy #1 & #4)
Gate: only run this step if referrals is in strategy.sources_active. If not, skip to Step 3.
For each selected position, before submitting a cold application:
- Run warm sourcing discovery:
node scripts/linkedin-warm-sourcing.js --company "<Company>" --role "<Role>" --json - If an internal contact, alumni, or ex-colleague is found:
- Prioritize Strategy #1 (Internal Referral) over cold apply.
- Stage a personalized referral request draft in
messagestable (following Gold Rule 7 & user style profile). - Register card in pipeline as
discovered.
- If NO internal contact exists:
- If
strategy.cold_outreach = false→ skip recruiter outreach, proceed to Step 3 (cold apply only). - If
strategy.cold_outreach = true→ extract Recruiter / Hiring Manager info for the position, stage a recruiter outreach DM draft (Strategy #4 Multi-channel combo). - Perform ATS micro-alignment (tailor CV keywords to JD if applying directly/email) and proceed to Step 3.
- If
3. Apply via Easy Apply
For each selected job:
- Navigate to the job URL
- Click "Easy Apply"
- Advance through form steps:
- Contact info: pre-filled by LinkedIn, verify
- Resume: already loaded in LinkedIn profile, verify
- Additional questions: answer based on profile and preferences
- Years of experience: use real value from profile
- Salary expectations: use profile range from DB (
job_preferences.salary.value: min/max/currency). Convert to local currency if the form requires it. Never invent a salary number. - Location: use
personal_info.city+personal_info.countryfrom DB - Work authorization: answer honestly
- Availability: use
job_preferences.availability.valuefrom DB
- For any field not in the DB: STOP, ask the user, save answer to DB, then fill. Gold Rule 5c.
- Review → Submit
- If a captcha appears at any point: STOP, ensure browser is headed, notify user, wait. Gold Rule 5b. Never attempt to solve it.
- Verify "Application submitted" on screen
- Register in DB via db CLI:
node scripts/db.js "INSERT INTO applications (user_id, platform, company, role, url, status, data) VALUES (1, 'linkedin', '<company>', '<role>', '<url>', 'applied', '<json>'::jsonb)" --write
data should include: match reason, method (easy_apply), location, questions_answered count.
4. Anti-ban
- Wait 2-3 seconds between actions (don't spam clicks)
- Don't apply to more than 15 jobs per session
- If a captcha or block appears: STOP IMMEDIATELY. Do NOT attempt to solve it. Do NOT retry in a loop. Ensure browser is headed, notify the user, and wait for them to solve it. This is Gold Rule 5b. The agent fills the entire form, triggers submit, and when the captcha appears, it stops and asks the user. Period.
- Vary navigation order (don't go sequentially through the results list)
5. Summary
Upon completion, present table with:
- Company, role, URL
- Total applied
- Total skipped with reason
6. Direct applications (non-LinkedIn: Lever, Greenhouse, Workday, SuccessFactors, custom sites)
When applying directly to a company career page (not via LinkedIn Easy Apply), the same pre-flight rules apply. The flow is:
- Load profile data from DB first (pre-flight checklist). Have all values in context before opening the form.
- Navigate to the application URL.
- Fill ALL form fields using ONLY data from the DB:
- Name:
profile.full_nameorpersonal_info - Email:
profile.email - Phone:
personal_info.phone - Address:
personal_info.address,personal_info.city,personal_info.state,personal_info.postal_code,personal_info.country - Salary:
job_preferences.salary.value(min/max/currency). Convert to local currency if the form requires it. - LinkedIn URL:
profile.linkedin_profile - GitHub URL:
profile.github - CV:
profile.cv_pathorpersonal_info.cv_pdf_path - Work experience:
profile.experience[] - Education:
profile.education[] - Skills:
profile.skills[]orprofile.tech_stack - Languages:
profile.languages[]
- Name:
- If a field is required but NOT in the DB: STOP, ask the user, save to DB, then fill. Gold Rule 5c. Never invent.
- Upload CV when prompted.
- Submit the form.
- If a captcha appears: STOP, ensure headed, notify user, wait. Gold Rule 5b. Never solve programmatically.
- Verify submission confirmation on screen.
- Register in DB via db CLI (same INSERT as LinkedIn flow, with
platform= the ATS detected: 'lever', 'greenhouse', 'workday', etc.).
Dependencies
- Depends on
onboarding(DB to register) - Depends on
profile(Must-haves to filter) - Consumed by
daily
Easy Apply form answers (DB keys)
All personal data lives in the DB, never in scripts or docs. The agent and scripts read form answers from:
| Data | DB location |
|---|---|
| Name, email, phone, CV path | users.data.profile (full_name, email, phone, cv_path) |
| Address, city, country | users.data.personal_info (address, city, state, country, postal_code) |
| Salary, availability, preferences | users.data.job_preferences (salary, availability, modalities, etc.) |
| Easy Apply form answers | users.data.form_answers (see keys below) |
| LinkedIn URL, blog URL | users.data.form_answers.linkedin_url, form_answers.blog_url |
Common Easy Apply question types and where to get the answers:
- Years of experience with [tech]:
users.data.form_answers.<tech>_experience - Language level:
users.data.form_answers.english_level/spanish_level - Current location:
users.data.form_answers.location - Current company:
users.data.form_answers.current_company - LinkedIn URL:
users.data.form_answers.linkedin_url - Salary expectation:
users.data.form_answers.salary_usd/salary_cop/salary_usd_max - Availability:
users.data.form_answers.notice_period/availability_date - Consent/privacy: always accept
- Diversity/accessibility:
users.data.form_answers.diversity_*(accessibility, gender, ethnicity) - Disability:
users.data.form_answers.disability - GenAI tools experience:
users.data.form_answers.genai_tools - AWS experience:
users.data.form_answers.aws_experience - English comfort (open text):
users.data.form_answers.english_comfort
If a key doesn't exist in form_answers: the script skips the field (doesn't invent it). The agent must stop, ask the user, save the answer to DB (jsonb_set on users.data.form_answers), then continue. Gold Rule 5c.
Script reference
scripts/linkedin-easy-apply.js -- Apply via Easy Apply
Searches jobs with Easy Apply filter, clicks, fills forms with standard answers, submits, registers in DB.
# Apply to the first 10 jobs (default)
node scripts/linkedin-easy-apply.js
# Keywords custom + limit
node scripts/linkedin-easy-apply.js --keywords '"<Role>" OR "<Skill>"' --max 5
# List only, don't apply
node scripts/linkedin-easy-apply.js --dry-run
# Output JSON
node scripts/linkedin-easy-apply.js --json
Flags: --keywords <q> (default: derived from DB profile.title + profile.skills), --location <loc> (default: from DB job_preferences.location), --max <n> (default 10), --dry-run, --json, --session <name> (for parallel execution)
Auto-fill: all values are read from users.data.form_answers (DB). The script fills: years of experience per tech, language level, location, current company, LinkedIn URL, salary, availability, GenAI tools, AWS, etc. Radios: Yes for skills, No for disability/sponsorship (configurable values in DB). Comboboxes: English/Spanish level, seniority (from DB).
Captcha: detects and stops with exit 1 + message. Never attempts to solve.
DB: registers each application with platform='linkedin', status='applied'.
scripts/linkedin-search.js -- Search posts for job openings
Searches LinkedIn posts, extracts author + vanity + email + content preview. Filters by relevance (AI/ML keywords) and dedupes.
# Basic search (human-readable output)
node scripts/linkedin-search.js '"<Role>" "hiring" LATAM'
# Search with more scrolls and JSON output (to pipe to other scripts)
node scripts/linkedin-search.js '"<Role>" "<City>" "hiring"' --scroll 3 --json
# Validated queries:
# '"<Role>" "hiring" LATAM' (most productive)
# '"<Role>" "<City>" "hiring"' (geo-specific)
# '"ingeniero IA" "buscamos"' (Spanish)
Flags: --scroll <n> (default 2), --json (raw JSON output)
Output JSON: [{author, vanity, email, content}, ...]
Signals
- GitHub stars
- 26
- Forks
- 1
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
apply- Source
- github.com/galiprandi/job-seeker