Skip to main content
skill CX Codex

hr-automation — Claude Code skill: HR workflows as code

This skill lays out recruiting, onboarding, time-off and offboarding as YAML workflows the agent turns into concrete steps.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add claude-office-skills/skills --skill hr-automation -a claude-code
Open on GitHub

What hr-automation does

hr-automation maps HR processes into structured definitions: a recruiting pipeline from application to hire, a new-hire onboarding flow, PTO requests, a performance review cycle, and offboarding. Each block spells out triggers and actions — who gets a confirmation email, which channel gets a Slack ping, when a deadline reminder fires. The agent reads these schemas and builds the steps for your project.

There is an AI resume screening block: a prompt scores skills and experience match, then a threshold routes the candidate forward, to manual review, or to a rejection. The skill relies on the hr-mcp MCP server with greenhouse_api, workday_api and bamboohr_api tools — without it, automated actions in your ATS and HRIS will not run. The recommended model is claude-sonnet-4. Skill languages are English and Chinese, so you will rewrite any Russian-language templates yourself.

The workflows follow n8n template patterns, which means porting them into your stack is manual work: these are descriptions, not ready-made integrations. What you do get is a clear view of where a process breaks — an incomplete task escalates to the owner's manager once the deadline passes.

What it helps with

  • lay out a recruiting pipeline with stages and automatic notifications
  • build an onboarding checklist with deadlines for the hire, manager and IT
  • route a PTO request for approval based on its length
  • split a performance review cycle across weeks with reminders
  • plan offboarding steps from resignation to handover

Example prompts for the agent

  • build a recruiting pipeline from hr-automation for our ATS
  • make a 30-day onboarding checklist using this skill
  • describe the PTO approval route: up to 3 days goes to the manager, longer goes to HR

How to install hr-automation

1Skills CLI (Vercel)

npx skills add claude-office-skills/skills --skill hr-automation -a claude-code

2Manually: put the files in place

~/.claude/skills/hr-automation/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/hr-automation/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about hr-automation

How do I install hr-automation in Claude?

Run npx skills add claude-office-skills/skills --skill hr-automation -a claude-code. The skill file then lands at ~/.claude/skills/hr-automation/SKILL.md.

What does hr-automation do?

It describes HR workflows in YAML: recruiting, onboarding, employee management and offboarding. The agent uses those schemas as the basis for steps in your project.

What does the skill need to work?

The hr-mcp MCP server with the greenhouse_api, workday_api and bamboohr_api tools — those carry actions into your ATS and HRIS. The recommended model is claude-sonnet-4.

Source text

SKILL.md · MIT
---
name: hr-automation
description: "HR workflow automation - recruiting, onboarding, employee management, and offboarding processes"
version: "1.0.0"
author: claude-office-skills
license: MIT

category: hr
tags:
  - hr
  - recruiting
  - onboarding
  - employee
  - automation
department: Human Resources

models:
  recommended:
    - claude-sonnet-4

mcp:
  server: hr-mcp
  tools:
    - greenhouse_api
    - workday_api
    - bamboohr_api

capabilities:
  - recruiting_automation
  - onboarding_workflows
  - employee_management
  - offboarding_processes
  - compliance_tracking

languages:
  - en
  - zh

related_skills:
  - applicant-screening
  - offer-letter
  - job-description
  - slack-workflows
---

# HR Automation

Automate HR workflows including recruiting, onboarding, employee management, and offboarding. Based on n8n's HR workflow templates.

## Overview

This skill covers:
- Recruiting pipeline automation
- Employee onboarding workflows
- Performance review cycles
- Time-off management
- Offboarding processes

---

## Recruiting Automation

### Applicant Pipeline

```yaml
recruiting_pipeline:
  stages:
    - applied
    - screening
    - phone_interview
    - technical_interview
    - onsite_interview
    - offer
    - hired
    
  automations:
    new_application:
      trigger: application_received
      actions:
        - send_confirmation: to_candidate
        - notify_recruiter: slack
        - add_to_tracking: airtable
        - ai_resume_screen: if_enabled
        
    stage_change:
      trigger: candidate_moved
      actions:
        - update_candidate: in_ats
        - notify_team: relevant_interviewers
        - send_email: stage_specific_template
        
    interview_scheduled:
      trigger: calendar_event_created
      actions:
        - send_confirmation: to_candidate
        - send_prep_materials: to_interviewers
        - create_scorecard: in_system
```

### AI Resume Screening

```yaml
ai_screening:
  model: gpt-4
  
  prompt: |
    Review this resume for the {job_title} position.
    
    Job Requirements:
    {job_requirements}
    
    Resume:
    {resume_text}
    
    Evaluate:
    1. Skills match (1-10)
    2. Experience match (1-10)
    3. Key strengths
    4. Potential concerns
    5. Recommended: Yes/No/Maybe
    
  automation:
    - if: score >= 8
      action: advance_to_screening
    - if: score 5-7
      action: flag_for_review
    - if: score < 5
      action: auto_reject + send_rejection
```

### Interview Scheduling

```yaml
interview_scheduling:
  workflow:
    1. candidate_advances:
        trigger: stage_change_to_interview
        
    2. check_availability:
        interviewers: from_hiring_plan
        candidate: request_via_email
        
    3. find_slots:
        algorithm: first_available_matching
        buffer: 15_minutes_between
        
    4. send_invites:
        to: [candidate, interviewers]
        include: [zoom_link, calendar_invite, prep_docs]
        
    5. reminders:
        - 24h_before: all_parties
        - 1h_before: all_parties
        
    6. post_interview:
        - collect_feedback: from_interviewers
        - aggregate_scores
        - trigger_next_stage: if_approved
```

---

## Onboarding Automation

### New Hire Workflow

```yaml
onboarding_workflow:
  trigger: offer_accepted
  duration: 30_days
  
  pre_start:
    day_minus_14:
      - send_welcome_email
      - collect_documents: [id, tax_forms, direct_deposit]
      - order_equipment: laptop, peripherals
      
    day_minus_7:
      - create_accounts: [email, slack, tools]
      - add_to_systems: hris, payroll
      - schedule_orientation
      - assign_buddy
      
    day_minus_1:
      - setup_desk: if_office
      - ship_equipment: if_remote
      - send_first_day_info
      
  first_day:
    morning:
      - welcome_meeting: with_manager
      - it_setup: credentials, tools
      - team_introductions
      
    afternoon:
      - hr_orientation: policies, benefits
      - access_verification
      - buddy_lunch
      
  first_week:
    - daily_checkins: with_manager
    - tool_training: as_needed
    - team_meetings: join_all
    - documentation_review
    
  first_month:
    - weekly_1on1s: with_manager
    - project_assignment
    - goal_setting
    - 30_day_survey
```

### Onboarding Checklist Automation

```yaml
onboarding_checklist:
  employee_tasks:
    - complete_i9: deadline_day_3
    - setup_direct_deposit: deadline_day_7
    - complete_benefits_enrollment: deadline_day_30
    - review_handbook: deadline_day_7
    - complete_training: deadline_day_14
    
  manager_tasks:
    - introduce_to_team: day_1
    - assign_onboarding_buddy: day_1
    - set_30_60_90_goals: week_1
    - schedule_recurring_1on1s: week_1
    - provide_project_context: week_1
    
  it_tasks:
    - create_email: day_minus_1
    - provision_tools: day_minus_1
    - setup_hardware: day_1
    - grant_system_access: day_1
    - security_training: week_1
    
  notifications:
    incomplete_task:
      - remind_owner: at_50%_deadline
      - remind_owner: at_80%_deadline
      - escalate: at_100%_deadline
```

---

## Employee Management

### Time-Off Requests

```yaml
pto_workflow:
  request:
    trigger: employee_submits_request
    fields: [start_date, end_date, type, reason]
    
  approval:
    routing:
      - if: days <= 3
        approver: direct_manager
      - if: days > 3
        approver: [manager, hr]
        
    automation:
      - notify_approver: slack_dm
      - set_deadline: 48_hours
      - if_no_response: escalate
      
  approved:
    actions:
      - update_calendar: block_dates
      - notify_team: upcoming_pto
      - update_hris: deduct_balance
      - send_confirmation: to_employee
      
  denied:
    actions:
      - notify_employee: with_reason
      - log_denial: for_compliance
```

### Performance Reviews

```yaml
performance_review_cycle:
  schedule: quarterly
  
  workflow:
    week_1:
      - launch_cycle: notify_all
      - self_assessment: open
      
    week_2:
      - self_assessment: deadline
      - peer_feedback: open
      
    week_3:
      - peer_feedback: deadline
      - manager_review: open
      
    week_4:
      - manager_review: deadline
      - calibration: hr_and_leadership
      - finalize_ratings
      
    week_5:
      - deliver_reviews: manager_meetings
      - goal_setting: next_quarter
      
  automation:
    reminders:
      - 3_days_before_deadline: gentle
      - 1_day_before: urgent
      - overdue: daily_until_complete
      
    analytics:
      - completion_rates
      - score_distribution
      - feedback_themes
```

---

## Offboarding

### Offboarding Workflow

```yaml
offboarding_workflow:
  trigger: resignation_submitted OR termination
  
  immediate:
    - acknowledge_resignation: to_employee
    - notify_hr: for_processing
    - notify_manager: for_transition_planning
    - notify_it: for_access_review
    
  planning_phase:
    - calculate_final_pay
    - schedule_exit_interview
    - create_transition_plan
    - document_knowledge_transfer
    
  last_week:
    - knowledge_transfer: sessions
    - collect_equipment
    - remove_system_access: scheduled
    - update_team_distribution
    
  last_day:
    - exit_interview: hr
    - return_badge_keys
    - revoke_all_access
    - send_farewell: if_voluntary
    
  post_departure:
    - process_final_paycheck
    - send_benefits_info: cobra
    - archive_files
    - offboarding_survey: 30_days_later
```

### Access Revocation

```yaml
access_revocation:
  immediate_on_termination:
    - email: disable
    - sso: revoke
    - vpn: revoke
    - physical_access: revoke
    - company_credit_cards: cancel
    
  within_24_hours:
    - tool_licenses: remove
    - shared_drives: transfer_ownership
    - code_repositories: remove
    - customer_systems: remove
    
  audit:
    - document_all_revocations
    - verify_no_remaining_access
    - compliance_report
```

---

## Compliance Tracking

### Document Management

```yaml
document_compliance:
  required_documents:
    - i9: deadline_3_days
    - w4: deadline_first_payroll
    - emergency_contact: deadline_7_days
    - direct_deposit: deadline_first_payroll
    - handbook_acknowledgment: deadline_7_days
    - benefits_election: deadline_30_days
    
  tracking:
    - notify_employee: missing_docs
    - notify_hr: compliance_risk
    - escalate: after_deadline
    
  storage:
    - location: secure_hris
    - retention: per_legal_requirements
    - access: hr_only
```

---

## Output Example

**Request**: "Create an employee onboarding checklist automation"

**Output**:

```markdown
# Employee Onboarding Automation

## Trigger
New hire added to HRIS (e.g., BambooHR, Workday)

## Pre-Start Checklist

### Day -14
- [ ] Send welcome email
- [ ] Collect: ID, Tax forms, Banking info
- [ ] Order laptop & equipment

### Day -7
- [ ] Create email account
- [ ] Create Slack account
- [ ] Add to HRIS
- [ ] Schedule orientation
- [ ] Assign buddy

### Day -1
- [ ] Ship/setup equipment
- [ ] Send Day 1 instructions
- [ ] Prepare workspace (if office)

## Day 1 Checklist

### Morning
- [ ] Manager welcome (9am)
- [ ] IT setup (10am)
- [ ] Team introductions

### Afternoon
- [ ] HR orientation (1pm)
- [ ] Buddy lunch
- [ ] Tool walkthroughs

## Notifications

```yaml
overdue_task:
  - 50% deadline: Friendly reminder
  - 80% deadline: Urgent reminder
  - 100% deadline: Escalate to manager
```

## n8n Workflow

```yaml
trigger: New employee in BambooHR
actions:
  - Create accounts (Google, Slack)
  - Add to Notion onboarding tracker
  - Send Slack welcome
  - Schedule calendar events
  - Create task checklist in Asana
```
```

---

*HR Automation Skill - Part of Claude Office Skills*

© claude-office-skills · MIT · claude-office-skills/skills

Similar skills

All skills for Automation and no-code: n8n, Zapier, Make →

From the same set109

subscription-management Handles SaaS subscription lifecycle work, from billing and plan changes to churn prevention. Use it when designing subscription flows and revenue rules. CX Codex +1 5,000installs deep-research Runs a topic through five research phases and returns a structured report with findings, recommendations and sources. Useful when you need analysis, not a link dump. CX Codex +1 5,000installs email-marketing A marketing skill for email campaigns, automated drip sequences, and A/B test planning. Useful when building welcome series or cart recovery emails. CX Codex +1 5,000installs Home Assistant Automation This skill controls Home Assistant devices, builds automations, and manages scenes. Use it for lighting, climate, security, energy, and media workflows. CX Codex +1 4,900installs slack-workflows Builds Slack automations for daily standups, expense approvals, incident alerts, and onboarding flows using the slack-mcp server tools. CX Codex +1 4,900installs data-pipeline A skill for building ETL pipelines: extract from APIs and databases, transform, then load into warehouses and sheets. Useful when data from several sources has to land in one place on a schedule. CX Codex +1 4,900installs Stripe Payments A skill that walks your agent through Stripe payments, subscription lifecycle, invoicing and revenue reporting without leaving the chat. CX Codex +1 4,900installs saas-metrics Analyzes subscription business metrics like MRR, churn, cohorts, and unit economics. Helpful for preparing investor updates and monthly financial reviews. CX Codex +1 4,900installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor