# Boss Job Detail

> |

- **Type:** Skill
- **Install:** `agentstack add skill-1xiaoyueryuer-boss-hr-agent-toolkit-boss-job-detail`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [1xiaoyueryuer](https://agentstack.voostack.com/s/1xiaoyueryuer)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [1xiaoyueryuer](https://github.com/1xiaoyueryuer)
- **Source:** https://github.com/1xiaoyueryuer/boss-hr-agent-toolkit/tree/main/boss-job-detail

## Install

```sh
agentstack add skill-1xiaoyueryuer-boss-hr-agent-toolkit-boss-job-detail
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# BOSS 直聘岗位 JD 提取

通过 CDP 连接到已登录的浏览器，自动导航到岗位编辑页提取完整 JD。

## 前提条件

- Edge/Chrome 以 `--remote-debugging-port=9222` 启动
- Boss 招聘者 session 已登录

## 用法

```bash
python scripts/boss_jd.py 
```

查询条件支持三种：
- `加密岗位ID` — `a2bb7b1e7a76f0440nZ-39S0E1NS`
- `数字 jobId` — `524499312`
- `岗位名称` — `管培生`（精确匹配优先，否则模糊匹配）

## 工作流程

1. 通过 boss CLI 获取岗位列表，匹配查询条件
2. 用 patchright 连接 CDP 浏览器
3. 导航到岗位编辑页（`/web/chat/job/edit?encryptId=...`）
4. 等待 iframe 加载完成后提取表单内容
5. 输出到 `WorkBuddy/boss-resumes/jd/.json`

## 输出格式

```json
{
  "jobName": "管培生",
  "encryptJobId": "a2bb7b1e...",
  "bodyText": "完整页面文本",
  "formValues": ["岗位职责：...", "职位名称", "..."],
  "parsed": {
    "title": "",
    "positionType": "",
    "location": "",
    "description": "岗位职责 + 任职要求 原文"
  }
}
```

## 技术要点

- BOSS 管理后台为 iframe 架构：主页面是导航壳，表单内容在 `src="/web/frame/job/edit?..."` 的子框架中
- 使用 `domcontentloaded` 而非 `networkidle` 以提速（5-8s）
- boss CLI 输出为 GBK 编码，需 `decode('gbk')`

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [1xiaoyueryuer](https://github.com/1xiaoyueryuer)
- **Source:** [1xiaoyueryuer/boss-hr-agent-toolkit](https://github.com/1xiaoyueryuer/boss-hr-agent-toolkit)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-1xiaoyueryuer-boss-hr-agent-toolkit-boss-job-detail
- Seller: https://agentstack.voostack.com/s/1xiaoyueryuer
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
