khetansarvesh/sarvesh-harness-helper/job-eval
Claude Code and agent skill by khetansarvesh/sarvesh-harness-helper
- community
Checking that the SKILL.md file is still in the repository.
Parallel batch processing — evaluate 10-100+ job offers simultaneously via claude -p workers with state tracking, retry logic, and resumability.
Install
npx vskill@latest install khetansarvesh/sarvesh-harness-helper/job-evalSKILL.md
The same SKILL.md was published earlier as khetansarvesh/sarvesh-harness-helper/job-eval.
Batch Job Evaluation
Process multiple job offers in parallel. Each worker runs a full A-G evaluation independently. The orchestrator tracks state, handles retries, and merges results into the application tracker.
Each worker produces a report + tracker entry. The orchestrator manages the coordination.
Setup
Requirements
- Python 3.10+; Bash for the batch runner
- Install the Notion integration package:
``bash python -m pip install sarvesh-ai-notion-interface ``
- Notion access via environment variables or a
.envfile in your working directory: NOTION_TOKEN— Notion integration token (required)- Database IDs as needed:
NOTION_DB_APPLICATIONS,NOTION_DB_COMPANIES,NOTION_DB_CONNECTIONS - Page IDs as needed:
NOTION_PAGE_PARENT,NOTION_PAGE_RESUME,NOTION_PAGE_PROJECTS
The Notion integration package (sarvesh-ai-notion-interface) is published on PyPI and contains all database helpers for job tracking.
When to Activate
- User has 3+ job offers to evaluate
- User wants to process their entire pipeline at once
- User says "batch evaluate", "process all pending", or "evaluate everything"
- After job-scan discovers many new offers
Prerequisites
- `claude` CLI installed and authenticated
- NOTION_TOKEN environment variable set
Notion (fetch viapython3 -m sarvesh_ai_notion_interface.page_reader resume)andNotion (fetch viapython3 -m sarvesh_ai_notion_interface.page_reader projects)populated- URLs to evaluate (in
batch-data/batch-input.tsvor use--from-notionto pull "Scanned" jobs)
Non-Negotiables
- Lock file prevents double execution — never run two batch-runners simultaneously
- Every worker is independent — one failure doesn't affect others
- State is always persisted — interrupted runs resume from where they left off
- Workers write to Notion directly — no local merge needed
- Workers don't generate PDFs — only reports + tracker entries. Run job-cv-tailor separately for high-scoring roles.
- Disqualification filters run before A-G evaluation — non-US jobs and clearance-required jobs are rejected early with score 0
Disqualification Filters
Workers apply two automatic disqualification filters before the expensive A-G evaluation. If either triggers, the job is immediately scored 0, marked "Discarded" in Notion, and the worker stops early.
What triggers automatic disqualification
| Filter | Disqualify (score 0) | Pass | |
|---|---|---|---|
| Non-US Location | Explicitly non-US locations (London UK, Berlin Germany, Toronto Canada, etc.), "Remote (EU only)", "Remote (EMEA)", "Remote (APAC)" | US cities/states, "Remote", "Remote (US)", "Hybrid" with US city, ambiguous/missing location | |
| Security Clearance / US Citizenship | Active clearance required (TS, TS/SCI, Secret, Top Secret, DoD), ability to obtain clearance, "US citizenship required", "Must be a US citizen", "US Person" per ITAR/EAR | "Authorized to work in US" (F-1 OPT satisfies), "Sponsorship available", "US Person preferred" (soft) |
How disqualification appears
- State file: status =
completed, score =0 - Notion: status =
Discarded, score =0 - Worker JSON output: includes
"disqualified": trueand"disqualification_reason": "{reason}" - Batch summary: counted separately in the "Disqualified" counter
- Report: short mini-report (no A-G sections) explaining the disqualification reason
Running the Batch
From the repo root:
CLI Arguments
| Argument | Default | Description | |
|---|---|---|---|
--parallel N | 1 | Number of concurrent workers | |
--dry-run | false | Preview without executing | |
--from-notion | false | Query Notion for "Scanned" jobs and generate batch-input.tsv | |
--retry-failed | false | Only retry previously failed offers | |
--start-from N | 0 | Skip offers with ID < N | |
--max-retries N | 2 | Max retry attempts per offer | |
--min-score N | 0 (off) | Skip tracker/report for scores below N |
Input Format
batch-input.tsv
Location: skills/job-eval/batch-data/batch-input.tsv
Columns:
id— sequential integer (1, 2, 3...)url— full job posting URLsource— where it came from (Greenhouse, Ashby, Lever, Notion, etc.)notes— optional metadatapage_id— Notion page ID (optional; auto-populated by--from-notion)
How to populate:
- From Notion (recommended): use
--from-notionflag — auto-generates from "Scanned" jobs - Manually: add URLs you want to evaluate (leave
page_idempty)
How It Works
1. Lock Acquisition
- Creates
batch-data/batch-runner.pidwith process ID - If another batch-runner is running → error exit
- Stale locks (dead PID) are auto-recovered
2. State Initialization
- Creates
batch-data/batch-state.tsvif missing - Reads existing state to determine what's pending/completed/failed
3. Worker Spawning (per offer)
For each pending offer:
4. Parallel Processing
With --parallel N:
- Maintains pool of N background workers
- When one finishes, next offer starts immediately
- State lock prevents race conditions on state file updates
5. Post-Processing
After all workers finish:
- Each worker already pushed its evaluation to Notion directly
- No local merge needed — Notion is the source of truth
6. Summary
State Tracking
batch-state.tsv
Location: skills/job-eval/batch-data/batch-state.tsv
State Transitions
completed→ skipped on re-run (already done)failed+ retries >= max-retries → skipped permanentlyfailed+ retries < max-retries → retried with--retry-failedprocessing(stale — PID dead) → auto-recovered as pending
Resumability
If the batch is interrupted (Ctrl+C, crash, laptop dies):
- Re-run the same command
- Orchestrator reads
batch-state.tsv - Skips all
completedoffers - Retries
failedoffers (if retries < max) - Continues with
pendingoffers
Nothing is lost. Reports and tracker entries from completed workers are already on disk.
Output
Per worker:
- Notion row: Created with Company, Role, URL, Score, Status, Date
- Notion report: Full evaluation content pushed into the page body
- Log:
skills/job-eval/batch-data/logs/{report_num}-{id}.log
After all workers:
- All evaluations already in Notion — no local merge needed
Error Handling
| Scenario | What happens | |
|---|---|---|
| URL inaccessible | Worker fails → marked failed, continue with others | |
| JD behind login wall | Worker can't extract JD → fails → flag for manual paste | |
| Worker crashes | Marked failed → retry with --retry-failed | |
| Orchestrator dies | Re-run → skips completed, continues pending | |
| Score below min | Marked skipped → no report/tracker entry | |
| All workers fail | Summary shows 0 completed → investigate logs |
File Structure
Related Skills
- job-scan — Discover new offers (writes to Notion as "Scanned")
- job-eval — A-G evaluation logic lives in
batch-prompt.md - job-cv-tailor — Generate tailored CV for high-scoring offers (run after batch)
- job-apply — Fill application forms for offers you decide to apply to
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/job-eval/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/khetansarvesh/sarvesh-harness-helper/job-eval)