← 返回 Skills 市场
🔌

聘才猫(Pincaimao)JD 助手

作者 聘才猫(Pincaimao) · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
233
总下载
1
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install pincaimao-jd-assistants
功能描述
聘才猫 - JD 助手 Use when calling Pincaimao JD Assistant API to generate job postings from job descriptions or generate structured job tags from job titles. Requi...
使用说明 (SKILL.md)

聘才猫 - JD 助手

REQUIRED: 请先检查是否已安装 pincaimao-basic,若未安装请先安装,然后加载它了解通用接口(文件上传、鉴权、响应格式、SSE 解析模板)。

环境变量PCM_JD_ASSISTANT_KEY(智能体专属 key)

还没有密钥?通过邀请链接注册并完成认证即可免费获取:pincaimao.com/agents/login?invite_code=uwqc

两个功能均调用同一 endpoint:POST https://api.pincaimao.com/agents/v1/chat/chat-messages


功能一:生成招聘 JD

RESULT=$(curl -s -X POST 'https://api.pincaimao.com/agents/v1/chat/chat-messages' \
  -H "Authorization: Bearer $PCM_JD_ASSISTANT_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "query": "请帮我生成这个职位的招聘信息:",
    "inputs": {
      "job_info": "职位名称:Java高级工程师,薪资:20k-30k,福利:五险一金、年终奖,学历:本科,经验:5年以上,技能:Java、Spring Boot、MySQL、Redis"
    },
    "response_mode": "blocking"
  }')
echo "$RESULT" | python3 -c "import sys,json; print(json.load(sys.stdin)['answer'])"

job_info 可包含:职位名称、薪资范围、福利待遇、学历要求、工作职责、任职资格、工作地点等。


功能二:生成职位标签

RESULT=$(curl -s -X POST 'https://api.pincaimao.com/agents/v1/chat/chat-messages' \
  -H "Authorization: Bearer $PCM_JD_ASSISTANT_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "query": "请帮我生成职位标签",
    "inputs": {"job_title": "产品经理", "function_type": 1},
    "response_mode": "blocking"
  }')

# answer 是 JSON 字符串,需二次解析
echo "$RESULT" | python3 -c "
import sys, json
d = json.load(sys.stdin)
tags = json.loads(d['answer'])
for group in tags['tagGroup']:
    print(f\"{group['dimensionName']}: {group['defaultTags']}\")
"

function_type 固定为数字 1(不能是字符串 "1")。

标签响应结构

{
  "position": "产品经理",
  "tagGroup": [
    {
      "dimensionName": "专业技能",
      "defaultTags": ["需求分析", "原型设计"],
      "optionalTags": ["数据分析", "用户研究", "A/B测试"]
    },
    {
      "dimensionName": "月薪范围",
      "defaultTags": [],
      "optionalTags": ["12k-15k", "15k-20k", "20k以上"]
    }
  ]
}

常见错误

问题 原因 解决
401 Key 未配置或使用了其他智能体的 key 检查 PCM_JD_ASSISTANT_KEY
answer 为空 function_type 传成了字符串 确保 "function_type": 1(数字)
标签解析失败 answer 是 JSON 字符串 answer 再执行 json.loads()

输出模式

  • 默认:AI 对 API 返回结果进行整理表述,输出更易读的内容
  • 原始输出:用户说"显示原始输出"或"raw output"时,将 API 返回的原始内容用代码块原样展示,不作任何改动
    • Blocking 模式:直接取 answer 字段内容原样输出
    • Streaming 模式:将所有 message / agent_message 事件的 answer 片段拼接完整后,原样输出,不作重述

External Endpoints

  • https://api.pincaimao.com — Pincaimao platform API (chat, file upload, conversations)

Security & Privacy

  • API key is read from environment variable and passed via Authorization header; never hardcoded
  • Resume files, job descriptions, and contract text are transmitted to api.pincaimao.com for AI processing
  • Uploaded files are stored on Pincaimao's COS (Cloud Object Storage); returned cos_key paths should be treated as sensitive
  • This skill does not store, log, or transmit data to any endpoint other than api.pincaimao.com
  • Safe to invoke autonomously; all network calls are scoped to the authenticated user's API key
安全使用建议
This skill appears to do exactly what it says: it calls Pincaimao's API and returns job descriptions or tags. Before installing, confirm you trust api.pincaimao.com and are comfortable sending resumes or job descriptions to that service. Use a dedicated API key (PCM_JD_ASSISTANT_KEY) with limited scope if possible and rotate it if shared. Review the separate 'pincaimao-basic' instructions (file upload / auth) before using uploads, since that other skill may handle sensitive files. Finally, ensure curl and python3 on your system are from trusted sources — the skill relies on those tools to run the example commands.
能力评估
Purpose & Capability
Name/description match the runtime instructions: both examples call https://api.pincaimao.com/agents/v1/chat/chat-messages and require PCM_JD_ASSISTANT_KEY. Required binaries (curl, python3) are appropriate for the provided curl/python examples. The SKILL.md's reference to installing 'pincaimao-basic' is context/dependency guidance but plausible for file upload/auth helpers.
Instruction Scope
Instructions are narrowly scoped to constructing and POSTing JSON to Pincaimao's API and parsing its response. They do not instruct reading arbitrary files or environment variables beyond PCM_JD_ASSISTANT_KEY, nor do they send data to endpoints other than api.pincaimao.com. The only scope expansion is a recommendation to use the separate 'pincaimao-basic' skill for uploads, which is explained rather than hidden.
Install Mechanism
No install spec (instruction-only) — the skill will not write code to disk or download archives. This is the lowest-risk install mechanism and matches the simple curl/python usage.
Credentials
Requires a single API key (PCM_JD_ASSISTANT_KEY) and two common binaries. That credential is proportional to the stated function (calling Pincaimao APIs). No unrelated credentials, config paths, or excessive env variables are requested.
Persistence & Privilege
always:false and user-invocable:true (defaults) — the skill does not request persistent global privileges. The SKILL.md's claim that it's safe for autonomous invocation is a platform-level policy observation but does not change its footprint.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install pincaimao-jd-assistants
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /pincaimao-jd-assistants 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Added an invite link to obtain a free API key via registration and authentication. - No functional or API changes; documentation improved for onboarding new users.
v1.0.0
pincaimao-jd-assistants v1.0.0 - Initial release of the Pincaimao JD Assistant skill. - Supports generating structured job postings from job descriptions. - Enables extraction of job tags from job titles using the Pincaimao API. - Requires `PCM_JD_ASSISTANT_KEY` environment variable for authentication. - Includes examples for both job posting and job tag generation functions. - Provides guidance for error handling and output formatting.
元数据
Slug pincaimao-jd-assistants
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

聘才猫(Pincaimao)JD 助手 是什么?

聘才猫 - JD 助手 Use when calling Pincaimao JD Assistant API to generate job postings from job descriptions or generate structured job tags from job titles. Requi... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 233 次。

如何安装 聘才猫(Pincaimao)JD 助手?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install pincaimao-jd-assistants」即可一键安装,无需额外配置。

聘才猫(Pincaimao)JD 助手 是免费的吗?

是的,聘才猫(Pincaimao)JD 助手 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

聘才猫(Pincaimao)JD 助手 支持哪些平台?

聘才猫(Pincaimao)JD 助手 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 聘才猫(Pincaimao)JD 助手?

由 聘才猫(Pincaimao)(@pincaimao)开发并维护,当前版本 v1.0.1。

💬 留言讨论