job-run
Skill9 starsChanged 27 days agoMITView on GitHub
Run the full job-agent loop. Takes the run lock, scans for new jobs, gates them, then starts one subagent per queued job (up to the per-run limit) to tailor a resume and fill the application in its own browser tab, has a separate writer draft written answers, re-verifies every form itself, syncs receipts and statuses into the tracker, and ends with a READY, ALERT or NOTHING READY line and a banner only when something needs the user. Also explains how to schedule it every N hours. Use when the user says run job-agent, apply to new jobs, or runs /job-agent:run.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- kevin-2023-code/job-agenttheir own version, first seen Nov 29, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- kevin-2023-code/job-agent★ 17same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- apply-fillSkill
- job-gateSkill
- job-scanSkill
- job-setupSkill
- portal-authSkill
- status-syncSkill
- tailor-resumeSkill
- trackerSkill
- your-voiceSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Write a run log to state/runs/<run-id>.md as you go, and one summary line per run to state/run-log.md (scripts/run_state.py log).
- Distinctive: line 27
Fan out: Every applier needs its OWN browser connection, so agents never share a selected tab.
- Very specific: line 32
Keep concurrent fills at or below browser.max_parallel_tabs (default 3).
- Distinctive: line 36
Read-back, yourself, on the live tab: Never relay a subagent's "verified": you answer for the form.
- Distinctive: line 37
every field, required and optional, by its label with its current value, against standing answers: look for blanks (demographics, pronouns, …
- Distinctive: line 38
every dropdown shows the intended option (react-select: hit-test, then read back).
- Distinctive: line 42
no error elements, the final control present and unclicked, no thank-you or confirmation URL.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
job-run
Python: commands below say python3. Use python_cmd from profile/preferences.yaml instead when it is set (setup writes py -3 on Windows).
Preconditions
- Workspace (
$JOB_AGENT_HOMEor~/.job-agent/) hasprofile/preferences.yamlandprofile/standing-answers.yaml. If not, runjob-setup. - Browser reachable. A failed connect is not proof the connection is gone: with several connections attaching at once, chrome-devtools-mcp can answer "Could not connect to Chrome" or "Could not find DevToolsActivePort" for one of them while the others attach (seen in QA). On either error, wait about 10 seconds and repeat the same call, up to 3 tries in all, before you treat the browser as unreachable.
mainmode: Chrome is open with remote debugging enabled, and your browser MCP uses--autoConnect. Ifbrowser.auto_allowis true, runpython3 ../job-setup/scripts/auto_allow.py arm --label orchestratorright before your first browser call.dedicatedmode: start it withpython3 ../job-setup/scripts/launch_chrome.py, and drive it with thejob-agent-dedicatedMCP server setup added (--browser-url), not the plugin's--autoConnectserver. - Write a run log to
state/runs/<run-id>.mdas you go, and one summary line per run tostate/run-log.md(scripts/run_state.py log). - Each run starts blank and knows only the files it reads. Read
profile/preferences.yaml,profile/standing-answers.yaml,profile/corrections.md(rules the user taught earlier runs),voice/profile.mdandstate/queue.jsonbefore doing anything else.
Guard (first, every run)
- Lock.
python3 scripts/run_state.py lock --dir <workspace>/state/run.lock --stale-hours <schedule.lock_stale_hours or 3>. Exit 3 means another run is active: end with one line saying so. A lock older than the limit is from a hung run; the script replaces it and says so, and you note it in the log. Release it withrun_state.py unlockas your last action, including when you stop early. - Preflight.
python3 scripts/run_state.py preflight --log <workspace>/state/run-log.md(macOS checks for a locked screen). Then make your first browser call. A locked screen, or a browser that does not attach, meansrun_state.py blocked --log <workspace>/state/run-log.md --cause "<short cause>"and stop. Never ask for a password. If it prints"notify": true(the second blocked run in a row), send itsbannerwithnotify.py; otherwise send nothing.
Loop
- Scan with
job-scan. - Gate with
job-gate. Show the queue and the cut report. In an interactive session withauto_submit: false, continue without waiting. Withauto_submit: true, ask the user to confirm the queue first unless they started the run unattended on purpose. Then take this run's batch:python3 ../job-gate/scripts/apply_queue.py --queue <workspace>/state/queue.json next --limit <browser.max_forms_per_run or 10>. OnlyQUEUEDentries come back:FILLEDones wait for the user,WAIT-REFERRALones wait for the referral,NEEDS YOUones wait for the user,DROPPEDones never return. Entries past the limit stay queued for the next run. Before opening a posting, list pages and reuse a tab already open for that req. - Fan out. Every applier needs its OWN browser connection, so agents never share a selected tab.
- Claude Code: if the
job-appliersubagent exists (~/.claude/agents/job-applier.md, installed by setup), start one per queue item in the background. It brings its own chrome-devtools MCP connection. If it does not exist, process the queue one job at a time yourself or with a single subagent; never run parallel fills over one shared MCP connection. - Other agents: give each parallel worker its own chrome-devtools MCP process (
--autoConnect, or--browser-urlin dedicated mode). If the runtime cannot do that, run jobs one after another. - Give each applier: the queue item, its
jd_path, the workspace path, the path to../job-setup/scripts/, a unique output folder, and these rules: runtailor-resumethenapply-fill; upload only a resume PDF whose gate passed (resume_gate.py --verify <pdf>printsVERIFY: PASS), and park the job withNeeds you: resume gate failedotherwise; send every free-text answer throughyour-voicebefore pasting it; useportal-authfor sign-in walls within the user's settings; open its own tab withnew_pageand use only that page; never touch another tab; use only its own browser connection, retry a failed connect ("Could not connect to Chrome", "Could not find DevToolsActivePort") twice about 10 seconds apart, and if it still has none, return parked instead of using the orchestrator's; ifbrowser.auto_allowis true, runauto_allow.py arm --label <job_key>right before its first browser call. - Each new connection raises a Chrome "Allow remote debugging?" prompt. Tell the user to expect one per applier, unless auto-allow is enabled.
Keep concurrent fills at or below
browser.max_parallel_tabs(default 3). Never run a shared tab-switching helper for several agents; each works only through its own page id. Written answers withwritten_answers: writer. Appliers leave every written box empty and report each question's exact text, limit and required flag. For each form, start one writer (theyour-voiceskill in its own subagent, or yourself when subagents are not available) with all of that form's questions together, the company,jd_path, the tailored resume and the master. It follows../your-voice/references/written-answer-standard.mdand the user's approved answers invoice/approved/, and runswritecheck.py crossformacross the form's answers. Paste the returned answers into the applier's tab with real input, in your own read-back pass (step 4). Watch long runs: an applier that has not reported after a reasonable time is checked by its tab, not waited on forever. A fix you find on one form (a wrong dropdown pattern, a field that autofill breaks) is applied to every other open form of the same kind in this run.
- Claude Code: if the
- Collect reports. A
parkedreport is a normal result: record it and keep going. If an applier crashes, returns nothing, or says it declined a step, treat that job as parked (Needs you: <reason>, orNeeds you: applier failedwhen there is no reason), leave its tab alone, and continue with the rest of the queue. Never retry a parked job in the same run. Do not trust a subagent's "ready". Runpython3 ../tailor-resume/scripts/resume_gate.py --verify <pdf>on each uploaded PDF yourself; a FAIL means the form is not ready. For each tab, find it by its URL withlist_pages(page ids can be renumbered during a run, seeapply-fillTab discipline), take your own snapshot, confirm the snapshot URL is that job's, and re-read every live field: required errors, empty required fields, resume attached, consent boxes. Fix or flag. Read-back, yourself, on the live tab. Never relay a subagent's "verified": you answer for the form. Check, for every form:- every field, required and optional, by its label with its current value, against standing answers: look for blanks (demographics, pronouns, address country, optional cover letters and text boxes);
- every dropdown shows the intended option (react-select: hit-test, then read back);
- the resume: the attached file name and size match the tailored PDF on disk (
../apply-fill/scripts/upload_guard.py verify), its gate passes (resume_gate.py --verify, orupload_guard.py checkfor a user's own gate), and its project order fits this role; - written answers: read each on the page, in full, as a skeptical hiring reviewer, against
../your-voice/references/written-answer-standard.md; rewrite (through the writer) any that fails; no story repeats across the form; - the gates again with the full job description in hand: if the posting now fails, close only the tab you opened, set the queue entry to
DROPPED: <reason>, and do not call it ready; - no error elements, the final control present and unclicked, no thank-you or confirmation URL.
A form is ready only when nothing is left to fix. Set the queue entry to
FILLEDwith the time, tab URL, posting date, pay and pay route, resume path, coverage, written-answer files and any GenAI flag. Anything only the user can fix isNEEDS YOU: <what it asks for>, never ready.
- Track. Use the
trackerskill, andstatus-syncfor receipts and status mail (it readsin:anywhereat least two days back). For each receipt that matches a queue entry by req ID or exact title: record the submit (record-submit), thenapply_queue.py remove --receipt <message id>. A receipt for a role this run did not fill is still recorded (record-submit --not-filled) and listed in the log. Runtracker_csv.py reconcilewith the receipts you found when rows and email disagree.Readyand parked jobs:addorupdatethe row, unlesstracker.rows_for_unsubmittedis false (then they live only in the queue, and only sent applications get rows). Every job whose final control was pressed: onetracker_csv.py record-submitcall with the absolute path of the PDF the applier uploaded (from its report; check the file exists), the read-back path, and the receipt (--inbox <email.mock_inbox>whenemail.receipts: mock; with Gmail, search pertrackerand pass--receipt-id). Then runtracker_csv.py audit; it must exit 0 before you summarize. Fix each problem it lists; a receipt that never came is fine only as "no receipt yet". - Corrections. When the user corrects anything (a wrong answer, a gate call, a form habit), fix the open tab, apply the same fix to every other open form it touches, and append the rule to
profile/corrections.mdas- YYYY-MM-DD: <rule> (why: <one line>), so every later run reads it. Writing corrections also go tovoice/profile.mdthrough theyour-voicecorrections loop. - Summarize for the user: counts per stage, each job with status and the final control label, missing-term questions from tailoring (one batch), drafted written answers with their inferred sentences to check (if the user edits one, run the
your-voicecorrections loop so the next answer learns from it), and essays left for them. - Parked tabs. End with one list of every parked job so the user can clear them in one sitting: company, role, reason (
Needs you: captchaand similar), and the tab URL. These tabs stay open and filled; tell the user not to close them. After the user clears one, re-read that tab's live form (step 4) before treating it as ready. Parked-job notifications follownotify.parked:each(default: the parking skill sent one per job; also send one summary notification now withscripts/notify.pyif anything was parked),summary(only that one summary), ornone(the list in the run report is enough; parked forms are told at the user's next message, with no ping). - Notify and finish. Send a notification only for:
- forms that became ready this run (
auto_submit: false): one banner naming only those forms; - a new assessment, interview or offer from
status-sync'salerts(checked by req ID, still live, not already handled): one banner naming the company and the deadline if stated; - two blocked runs in a row (the guard above).
Rejections, receipts, near misses, terms to confirm and parked forms send nothing extra; they go in the run report and the log. Build the lines with
python3 scripts/run_state.py banner --ready "<Company Role>"... --genai "<the same name for a GenAI-flagged form>" --alert "<Assessment from Company, due Nov 12>". Banners name forms only: no pay, counts, coverage or terms, no quotes or apostrophes, under 150 characters. Send each banner text withnotify.py. Your final message starts with exactly those lines:READY: <banner>orNOTHING READY, thenALERT: <banner>per alert, then one counts line (cards scanned, passes, forms ready, receipts). Append the run summary tostate/run-log.md(time, cards and window, passes, cuts by gate with near misses, forms filled and what the read-back fixed,NEEDS YOUitems, terms to confirm, receipts logged, status changes with deadlines), then release the lock.
- forms that became ready this run (
Running every N hours
The interval is schedule.every_hours in preferences (default 3 when the schedule is enabled; 0 or missing means no schedule, so say so and offer to set one). Read it and use it as N below; the examples show N=3.
Claude Code:
- In a session:
/loop <N>h /job-agent:run(for example/loop 3h /job-agent:run) repeats while the session is open. - Scheduled tasks or cloud routines (
/schedule) can start a run on a cron everyschedule.every_hourshours. A browser-driving run needs this machine and its Chrome, so use a local scheduled task, not a cloud one. Add jitter (schedule.jitter_minutes, default 15) so runs do not all land on the hour, for example a cron at minute 15 of every third hour between 08:00 and 23:00:15 8-23/3 * * *.
Other agents, or plain cron, using a headless CLI:
# crontab -e: every schedule.every_hours (here 3) hours at minute 5
5 */3 * * * $HOME/.job-agent/run.sh >> $HOME/.job-agent/state/cron.log 2>&1For jitter, start run.sh with a random sleep of up to schedule.jitter_minutes, for example sleep $((RANDOM % 900)) for 15 minutes. The run lock keeps two runs from overlapping if one runs long.
with run.sh along the lines of:
#!/usr/bin/env bash
claude -p "/job-agent:run"
# or: codex exec "Run the job-run skill from job-agent"A headless run cannot answer permission prompts. Pre-approve what the run uses, or it stops at the first prompt. Example for Claude Code (~/.claude/settings.json; adjust the Gmail, Notion or Sheets server names to the ones /mcp shows):
{
"permissions": {
"allow": [
"mcp__plugin_job-agent_job-agent-browser",
"mcp__job-agent-browser-own",
"mcp__job-agent-dedicated",
"mcp__gmail",
"Bash(python3 *keyword_coverage.py*)",
"Bash(python3 *resume_check.py*)",
"Bash(python3 *layout_check.py*)",
"Bash(python3 *resume_gate.py*)",
"Bash(python3 *md_to_tex.py*)",
"Bash(tectonic *)",
"Bash(python3 *tracker_csv.py*)",
"Bash(python3 *sync_status.py*)",
"Bash(python3 *auto_allow.py arm*)",
"Bash(python3 *notify.py*)",
"Bash(python3 *gate.py*)",
"Bash(python3 *apply_queue.py*)",
"Bash(python3 *jobright_meta.py*)",
"Bash(python3 *run_state.py*)",
"Bash(python3 *upload_guard.py*)",
"Bash(python3 *writecheck.py*)",
"Bash(python3 *portal_creds.py*)",
"Bash(python3 *sms_code.py*)",
"Read(~/.job-agent/**)",
"Edit(~/.job-agent/**)",
"Write(~/.job-agent/**)"
]
}
}On Windows, write py -3 instead of python3 in each Bash(...) line, or add both forms. Leave out the portal_creds.py and sms_code.py lines unless credential mode is on. Allow only what you use.
Unattended runs: the computer must stay on and awake. On a Mac, keep it plugged in and run caffeinate -dimsu & (or turn on "Prevent automatic sleeping" in System Settings > Battery > Options); a sleeping Mac skips runs with no error. In main mode every connection raises a Chrome prompt, so walk-away runs need the opt-in auto-allow helper (macOS only; Windows and Linux are experimental and have no helper). Without it, a run started while nobody is at the keyboard waits at the prompt and then fails that job. The dedicated mode never prompts. Keep auto_submit: false for unattended runs unless the user has read the README trade-off and set caps. A headless run that hits a CAPTCHA or another human-only step parks that job (tab left open, tracker row Needs you: ..., notification sent) and moves on; nothing waits for input.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

