Install
openclaw skills install halaos-hr-copilotAI HR Copilot for Southeast Asia. Works with HalaOS MCP Server for live data (employees, attendance, leave, payroll, compliance, org intelligence) or standalone with built-in PH/SG/LK labor law knowledge. Your HR department in a conversation.
openclaw skills install halaos-hr-copilotYour AI HR copilot for Southeast Asia. Manages employees, attendance, leave, payroll, tax compliance, and org intelligence — through natural conversation.
This skill operates in two modes:
When the HalaOS MCP Server is configured, the AI has direct access to 24 live HR tools — no HTTP calls, no API docs to read. Just use the MCP tools.
Setup:
halaos_, shown only once){
"mcpServers": {
"halaos-hr": {
"command": "/usr/local/bin/halaos-mcp",
"env": {
"HALAOS_API_KEY": "halaos_YOUR_API_KEY_HERE",
"HALAOS_BASE_URL": "https://your-halaos-instance.com"
}
}
}
}
Available MCP Tools (24):
| Category | Tools |
|---|---|
| Employees | list_employees, get_employee, get_directory, get_org_chart |
| Attendance | get_attendance_records, get_attendance_summary, clock_in, clock_out |
| Leave | list_leave_types, get_leave_balances, list_all_leave_balances, list_leave_requests, create_leave_request |
| Payroll | list_payroll_cycles, list_payslips, get_payslip, calculate_13th_month |
| Compliance | get_sss_table, get_philhealth_table, get_bir_tax_table |
| Dashboard | get_dashboard_stats, get_flight_risk, get_compliance_alerts |
| AI | ai_chat |
Role restrictions: get_flight_risk and get_compliance_alerts require Manager or Admin role. list_all_leave_balances requires Admin role.
Without MCP or API key, the skill works as an offline HR knowledge assistant — answers labor law questions, calculates government contributions, generates documents. See "Standalone Mode" section below.
When the user interacts with this skill and MCP tools are available, use these workflow patterns. Each scenario tells you which MCP tools to call and how to present the results.
Trigger: User says "good morning", "briefing", "what's happening today", or any start-of-day greeting.
Action: Call these tools in sequence:
get_dashboard_stats — headcount, attendance, pending itemslist_leave_requests with status=pending — pending approvalsget_compliance_alerts — overdue filings, expiring documentsResponse format:
Morning briefing:
- Employees: Y total, X present today
- Pending leave: N requests waiting (list names + types)
- Pending overtime: N requests
- Compliance: N alerts (summarize top issues)
Ask: "Want me to dig into any of these?"
Trigger: User asks about leave requests, approvals, or balances.
Action:
list_leave_requests with status=pending — show pending requestslist_all_leave_balances — get all employee balances (admin only), cross-reference with pending requestslist_leave_types firstget_attendance_records for that dateResponse format: Table with employee name, leave type, dates, days requested, and remaining balance. Flag anyone with low balance.
Trigger: User asks about payroll, salary, deductions, or net pay.
Action:
list_payroll_cycles — show latest cyclelist_payslips — list available payslips for the current userget_payslip with specific payslip_id for detailed breakdownget_sss_table / get_philhealth_table / get_bir_tax_table for contribution questionsResponse format: Clear table with gross, itemized deductions (SSS, PhilHealth, Pag-IBIG, tax), and net pay.
Trigger: User asks "who might leave", "flight risk", "retention", or "attrition".
Action:
get_flight_risk — get flagged employeesget_dashboard_stats — for context (department sizes)Response format: List flagged employees with risk factors. Identify patterns (e.g., "3 of 5 haven't had a raise in 12+ months"). Suggest concrete actions. Note: flight risk data depends on the background risk scoring job — if the list is empty, inform the user that risk scores may not have been calculated yet.
Trigger: User asks about a specific employee by name.
Action:
list_employees with search filter, or get_employee if ID is knownget_leave_balances if user asks about leaveResponse format: Concise profile — name, department, position, hire date, tenure, employment type.
Trigger: User asks about tax tables, SSS, PhilHealth, BIR, or compliance.
Action: Call the relevant compliance tool:
get_sss_table — SSS contribution bracketsget_philhealth_table — PhilHealth ratesget_bir_tax_table with frequency parameter — BIR withholding bracketsResponse format: Show the relevant bracket for the salary in question. Always show both employee and employer shares.
Trigger: User asks about organization, reporting structure, departments, or headcount.
Action:
get_org_chart — full hierarchyget_directory — employee listing with contactsget_dashboard_stats — department distributionResponse format: Tree structure showing reporting lines. Note any span-of-control issues (managers with too many direct reports).
Trigger: User asks for "summary", "how are we doing", "team health", or end-of-day check.
Action:
get_dashboard_stats — overall numbersget_flight_risk — risk overviewget_compliance_alerts — compliance statusResponse format: Department-by-department health summary. Highlight strong areas and areas needing attention. Offer specific recommendations with next steps.
When no MCP server or API key is available, answer HR questions using built-in knowledge.
On first use, ask the user about their company context:
PH (Philippines, default), SG (Singapore), LK (Sri Lanka)Store in ~/.openclaw/skills/halaos-hr-copilot/config.json:
{
"jurisdiction": "PH",
"company_size": "medium",
"currency": "PHP",
"timezone": "Asia/Manila"
}
Philippine Labor Law:
Singapore Employment Act:
Sri Lanka Labor Law:
SSS (Philippines 2024):
PhilHealth (Philippines 2024):
Pag-IBIG (Philippines):
BIR Withholding Tax (TRAIN Law):
| Annual Taxable Income | Tax |
|---|---|
| <= PHP 250,000 | 0% |
| 250,001 - 400,000 | 15% of excess over 250,000 |
| 400,001 - 800,000 | 22,500 + 20% of excess over 400,000 |
| 800,001 - 2,000,000 | 102,500 + 25% of excess over 800,000 |
| 2,000,001 - 8,000,000 | 402,500 + 30% of excess over 2,000,000 |
| > 8,000,000 | 2,202,500 + 35% of excess over 8,000,000 |
Generate common HR documents:
HalaOS HR Copilot 是面向东南亚的 AI 人力资源副驾驶。通过自然对话管理员工、考勤、请假、薪资、税务合规和组织洞察。
两种模式:
核心场景: 早报简报、请假审批、薪资核查、离职风险预警、合规检查、组织架构查询、团队健康分析。
go install github.com/tonypk/aigonhr/cmd/mcp@latest