hr-ai-assistant
This skill should be used when users ask HR-related questions, request HR policy generation, form creation, or need HR consultation services. It provides direct WebSocket API integration with the HRrule AI platform using tag_id and rt parameters for generating HR policies, forms, flowcharts, and answering HR-related questions about labor laws, recruitment, compensation, employee rights, and other HR topics. The skill includes professional Q&A capability (tag_id=1) for answering general HR questions about labor laws, regulations, and employee rights.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/aijuntao/hr-ai-assistantHR AI Assistant Skill
Purpose
This skill enables WorkBuddy to directly call the HRrule AI platform's WebSocket API to generate HR-related content in real-time. When users request HR policies, forms, consultation, professional Q&A, or other HR documents, this skill automatically invokes the API with appropriate parameters and streams the response back to the user. The skill supports:
- Document Generation: Creating HR policies, forms, job descriptions, performance reviews, etc.
- Professional Q&A: Answering HR-related questions about labor laws, employee rights, compensation, contracts, etc.
- Real-time Streaming: Providing immediate feedback with streaming responses
When to Use This Skill
Use this skill when users ask questions or make requests related to:
- HR Policy Generation: Creating employee handbooks, attendance policies, leave policies, disciplinary procedures, compensation policies
- HR Form Creation: Generating onboarding forms, resignation forms, leave application forms, performance review forms
- HR Consultation: Asking questions about labor laws, employment contracts, recruitment processes, compensation and benefits
- HR Process Flowcharts: Creating visual representations of HR processes like recruitment workflows, onboarding processes
- HR Documentation: Writing reports, summaries, guidelines, and other HR-related documents
- Professional Q&A: Any HR-related questions requiring professional answers, such as labor law inquiries, employee rights, compensation, contract issues, leave policies, etc.
Key phrases that indicate this skill should be triggered include:
- "帮我写一个员工手册"
- "生成HR制度"
- "制作入职表单"
- "HR相关问题"
- "劳动法咨询"
- "招聘流程"
- "薪酬制度"
- "离职手续"
- "考勤制度"
- "绩效考核"
- "员工福利"
- "劳动合同"
- "财务公司 需要招聘 社保专员,帮我生成一份 招聘JD"
- "三期员工有没有特殊保障?"
- "Generate HR policy"
- "Create HR form"
- "HR consultation"
- "Labor law questions"
How This Skill Works
Direct API Integration
This skill provides a Python script that interacts with the HRrule AI WebSocket API to generate content.
Integration Options:
- Analyze User Request: Parse the user's HR request to identify the content type
- Check API Key: Verify API Key is configured (from env var or config.json)
- If API Key is missing: Display a friendly prompt to visit https://ai.hrrule.com/ for a free API Key
- If API Key is valid: Proceed with API call
- Select Parameters: Automatically select appropriate
tag_idandrtbased on the request - Call API: The platform may execute the Python script to make the API call:
python ~/.workbuddy/skills/hr-ai-assistant/scripts/call_hrrule_api.py \ --content "用户的问题" \ --tag-id 1 \ --rt "专业问答" - Stream Response: Stream the generated content back to the user in real-time
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-aijuntao-hr-ai-assistant": {
"enabled": true,
"auto_update": true
}
}
}