apply
Searches for jobs on LinkedIn, filters by profile Must-haves, applies via Easy Apply, registers each application in DB.
galiprandi · 已有静态检查记录
安装与使用
运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。
npx skills add galiprandi/job-seeker --skill apply技能说明
name: apply description: Searches for jobs on LinkedIn, filters by profile Must-haves, applies via Easy Apply, registers each application in DB. trigger: apply
Apply
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 = <user_id> 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 = <user_id>"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 = <user_id>" node scripts/db.js "SELECT url FROM applications WHERE user_id = <user_id>" - 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
- Add