Preface¶
Filtering candidates by JD, browsing resumes, and clicking “Communicate Now” on Liepin involves multiple repetitive steps. Manual monitoring often leads to missed criteria, and hardcoding city or experience requirements into search boxes easily gets mixed up with JD text. This article introduces the SkillHub community Skill lp-sourc-nbs-v1: it uses background tasks to string together “Search → LLM Evaluation → Browser Communication” into a configurable pipeline. Agents simply read SKILL.md and submit tasks according to the documentation.
What is this¶
lp-sourc-nbs-v1 (coordinates @user_38ce330a/lp-sourc-nbs-v1, version 1.0.0) is a community Skill on SkillHub, categorized under knowledge-management, and published by user_38ce330a. The document title within the package is “Liepin Agentic Sourcing v2,” targeting automated sourcing for Liepin employer scenarios: Browser Automation handles login, search, and communication, while LLM Workers generate search plans based on JDs and evaluate candidates.
The introduction on the SkillHub page is merely a compliance statement: “For internal communication only; must not be used for illegal activities, otherwise consequences are at your own risk.” Specific capabilities are subject to the SKILL.md, README.md, and SETUP.md files within the package.
Core Functions¶
Based on the instructions checked in the installation package, this Skill provides the following capabilities:
- Background Runtime Task:
scripts/jd_search_and_communicate.pyserves as a compatible entry point. It submits a background runtime job, prints thejob_id, and exits; the long-running process executes withinsrc/liepin_skill/runtime/. - Multi-process Worker Architecture: A single task is launched by a Launcher coordinating four roles: orchestrator, browser-worker, jd-worker, and resume-worker.
- JD-Worker (LLM): Reads job descriptions to generate OR search plans with five sets of keywords, supporting
initial,widen, andtightenmodes; it tightens when results exceed 200, widens when the pool is exhausted without reaching the target, and allows up to 5 rounds of search plan iteration per task. - Browser-Worker (Playwright): Executes searches, collects previews and details, and clicks “Communicate Now” within a shared session; the documentation details page specifics regarding Liepin’s “AI Search Assistant” mask layer and compound keyword input.
- Resume-Worker (LLM): Performs preview-level and detail-level evaluations on candidates, deciding state transitions such as
open_detail,skip, andlink. - Session Persistence: Saves
liepin_chromium_profile/via scripts likescripts/login_and_save_session.pyto avoid repeated logins for every task. - Standard Sourcing Criteria JSON: Passes fields such as
position_name,target_count,position_scope,cities,seniority, andmust_have_signalsvia--criteria-file; cities and seniority must be provided explicitly and are not guessed by the JD-Worker.
The SkillHub tag requires_api_key=true indicates that besides a Liepin account, LLM-related environment variables used by the JD-Worker and Resume-Worker must also be configured (see below).
Installation and Activation¶
Installing to Agent via SkillHub CLI¶
First, confirm that skillhub is installed on your local machine (see the SkillHub Installation Documentation for installation methods). When installing the Skill, you must use --dir to point to the current Agent’s skills directory; otherwise, it defaults to ./skills/ and may not be recognized.
In Cursor, the skills directory is generally ~/.cursor/skills/. Example installation command:
skillhub install @user_38ce330a/lp-sourc-nbs-v1 --dir ~/.cursor/skills/
Alternatively, follow the prompts on the SkillHub page to let AI handle the installation based on https://skillhub.cn/install/skillhub.md.
Python and Playwright Dependencies¶
Prepare the runtime environment in the Skill root directory (the installed @user_38ce330a/lp-sourc-nbs-v1) according to SETUP.md:
- Python 3.11
- Editable installation with dev dependencies and Chromium:
python3 -m pip install -e ".[dev]"
python3 -m playwright install chromium
Environment Variables¶
Configure these in the .env file or shell in the Skill root directory (names are subject to SKILL.md):
Liepin Account (required for login and session scripts):
export LIEPIN_USERNAME="<your_liepin_username>"
export LIEPIN_PASSWORD="<your_liepin_password>"
LLM for JD-Worker and Resume-Worker (must be configured before enabling multi-process runtime):
export JD_WORKER_LLM_PROVIDER="<provider_name>"
export JD_WORKER_LLM_MODEL="<model_name>"
export JD_WORKER_LLM_API_KEY="<api_key>"
export JD_WORKER_LLM_BASE_URL="<base_url>"
export RESUME_WORKER_LLM_PROVIDER="<provider_name>"
export RESUME_WORKER_LLM_MODEL="<model_name>"
export RESUME_WORKER_LLM_API_KEY="<api_key>"
export RESUME_WORKER_LLM_BASE_URL="<base_url>"
README.md notes that the current package is distributed desensitized and should not contain real Liepin passwords or production LLM keys; Provider wiring must be completed by the user on hosts like OpenClaw.
For other clients like Codex CLI and Claude Code: Install the Skill to their respective documented skills directories (e.g., ~/.codex/skills/ for Codex, ~/.claude/skills/ for Claude Code). Python dependency and env configuration steps are the same as above; differences not specifically noted on the official SkillHub page are not expanded upon here.
Typical Usage¶
1. Save Liepin Session¶
Execute in the Skill root directory to initialize or refresh the persistent browser session:
python3 scripts/login_and_save_session.py
python3 scripts/session_persistence_probe.py
2. Write criteria file¶
Create a file, e.g., criteria.json (field requirements see SKILL.md):
{
"position_name": "Job Title",
"target_count": 3,
"position_scope": "Full Job Description/JD Text",
"cities": ["Shanghai", "Shenzhen"],
"seniority": "5-10 years",
"must_have_signals": ["Keyword 1", "Keyword 2"],
"preferred_signals": ["Bonus Point 1"],
"hard_rejects": ["Exclusion 1"]
}
3. Validate and Submit Task¶
Validate conditions only, without starting Playwright Worker:
python3 scripts/jd_search_and_communicate.py --criteria-file path/to/criteria.json --dry-run
Submit the formal background task:
python3 scripts/jd_search_and_communicate.py --criteria-file path/to/criteria.json
On success, it outputs something like Started Liepin runtime job: <job_id>. Runtime status is stored in runtime/ (including state.db, runtime/jobs/<job_id>/, etc.), and browser configuration is in liepin_chromium_profile/.
4. Local Testing (Optional)¶
In the Skill root directory:
pytest tests/ -q
Use Cases and Notes¶
Target Audience: Recruitment/HR technical professionals who need to batch search on Liepin based on structured JD conditions, use LLM for preliminary screening, and automatically initiate communication; users who can accept maintaining pages via Playwright and configuring LLM APIs and Liepin employer accounts themselves.
Limitations and Notes:
- Comply with SkillHub and the package’s compliance statement; use only for legal, authorized recruitment scenarios.
- Relies on real Liepin sessions and page DOM; the documentation records page quirks like the “AI Search Assistant” pop-up layer. Selectors may need modification if Liepin updates its interface.
README.mdmentions that in some migration scenarios, JD-Worker/Resume-Worker might still be placeholder interfaces, requiring Provider completion in environments like OpenClaw.- Accounts without compound search capabilities will fall back to the single search box logic in
search_mode_adapter.py. - SkillHub Statistics (based on crawled data): Rating 100000, Downloads 863, Tags include
requires_api_key=true.
Conclusion¶
lp-sourc-nbs-v1 decomposes Liepin sourcing into orchestrable JD planning, browser execution, and resume evaluation workers. It allows starting background tasks with a criteria JSON and a single submission command. See SkillHub for installation and metadata:
- Page: https://www.skillhub.cn/skills/user_38ce330a/lp-sourc-nbs-v1
- API Entry: https://api.skillhub.cn/user_38ce330a/lp-sourc-nbs-v1