Xpersona
S

self-improving-hr

CLAWHUB · Unverified

Captures policy gaps, compliance risks, recruiting process issues, onboarding friction, retention signals, candidate experience problems, and offboarding gaps to enable continuous HR improvement. Use when: (1) A compliance deadline is missed or approaching, (2) A candidate drops off during the recruiting pipeline, (3) A new hire leaves within 90 days, (4) A policy gap is discovered, (5) An exit interview reveals a recurring theme, (6) A benefits enrollment error occurs, (7) An I-9 or employment verification issue is found. Skill: self-improving-hr Owner: jose-compu Summary: Captures policy gaps, compliance risks, recruiting process issues, onboarding friction, retention signals, candidate experience problems, and offboarding gaps to enable continuous HR improvement. Use when: (1) A compliance deadline is missed or approaching, (2) A candidate drops off during the recruiting pipeline, (3) A new hire leaves within 90 days, (4) A policy g

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17bzpdy0evfmqz6nx069npr3n84p7f2:self-improving-hr
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-jose-compu-self-improving-hr/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

144,200 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: self-improving-hr
description: "Captures policy gaps, compliance risks, recruiting process issues, onboarding friction, retention signals, candidate experience problems, and offboarding gaps to enable continuous HR improvement. Use when: (1) A compliance deadline is missed or approaching, (2) A candidate drops off during the recruiting pipeline, (3) A new hire leaves within 90 days, (4) A policy gap is discovered, (5) An exit interview reveals a recurring theme, (6) A benefits enrollment error occurs, (7) An I-9 or employment verification issue is found."
---

# Self-Improving HR Skill

Log HR-specific learnings, process issues, and feature requests to markdown files for continuous improvement. Captures policy gaps, compliance risks, recruiting bottlenecks, onboarding friction, retention signals, candidate experience problems, compensation anomalies, and offboarding gaps. Important learnings get promoted to policy documents, onboarding checklists, interview scorecards, or compliance calendars.

## First-Use Initialisation

Before logging anything, ensure the `.learnings/` directory and files exist in the project or workspace root. If any are missing, create them:

```bash
mkdir -p .learnings
[ -f .learnings/LEARNINGS.md ] || printf "# HR Learnings\n\nPolicy gaps, compliance risks, recruiting insights, onboarding friction, retention signals, and offboarding gaps captured during HR operations.\n\n**Categories**: policy_gap | compliance_risk | process_inefficiency | candidate_experience | retention_signal | onboarding_friction\n**Areas**: recruiting | onboarding | compensation | compliance | performance | offboarding | dei\n\n---\n" > .learnings/LEARNINGS.md
[ -f .learnings/HR_PROCESS_ISSUES.md ] || printf "# HR Process Issues Log\n\nCompliance risks, process failures, candidate experience issues, and policy violations.\n\n---\n" > .learnings/HR_PROCESS_ISSUES.md
[ -f .learnings/FEATURE_REQUESTS.md ] || printf "# Feature Requests\n\nHR tools, automation capabilities, and process improvement requests.\n\n---\n" > .learnings/FEATURE_REQUESTS.md
```

Never overwrite existing files. This is a no-op if `.learnings/` is already initialised.

**CRITICAL — PII PROTECTION**: NEVER log personally identifiable information in any learnings file. This includes SSNs, salary details, medical information, performance ratings for specific individuals, home addresses, dates of birth, or any data that could identify a specific employee or candidate. Always anonymize examples. Use role titles, department names, or anonymized identifiers (e.g., "Employee A", "Candidate #12") instead of real names.

If you want automatic reminders, use the opt-in hook workflow described in [Hook Integration](#hook-integration).

## Quick Reference

| Situation | Action |
|-----------|--------|
| Compliance audit finding discovered | Log to `.learnings/HR_PROCESS_ISSUES.md` with compliance_risk |
| Candidate drops off at pipeline stage | Log to `.learnings/LEARNINGS.md` with cat

_meta.json

{
  "ownerId": "kn78jat5kd20evgyxzp9dmryax84qap0",
  "slug": "self-improving-hr",
  "version": "1.1.1",
  "publishedAt": 1787944193072
}

references/examples.md

# Entry Examples

Concrete examples of well-formatted HR entries with all fields. All examples are anonymized — no PII.

## Learning: Policy Gap (Remote Work Policy for International Contractors)

```markdown
## [LRN-20250415-001] policy_gap

**Logged**: 2025-04-15T10:30:00Z
**Priority**: high
**Status**: pending
**Area**: compliance

### Summary
Remote work policy does not address international contractors working from non-US jurisdictions

### Details
The current remote work policy only covers US-based employees. Three contractors
working from EU countries have no guidance on data residency, tax implications,
or local employment law compliance. The company may have permanent establishment
risk in two jurisdictions.

### Impact
- **Affected population**: international contractors (estimated 12 across 4 countries)
- **Risk level**: compliance (tax), legal (permanent establishment), financial
- **Estimated scope**: all non-US contractors

### Suggested Action
Draft international remote work addendum covering: tax obligations, data residency
(GDPR), local employment law compliance, and permanent establishment risk assessment.
Engage employment counsel in each jurisdiction.

### Metadata
- Source: manager_report
- Jurisdiction: international
- Regulation: GDPR, local_employment_law
- Related Files: policies/remote-work-policy.md
- Tags: remote-work, international, contractors, compliance, permanent-establishment
- Pattern-Key: policy_gap.remote_work_international

---
```

## Learning: Compliance Risk (I-9 Re-Verification Deadline Missed)

```markdown
## [LRN-20250416-001] compliance_risk

**Logged**: 2025-04-16T09:15:00Z
**Priority**: critical
**Status**: pending
**Area**: compliance

### Summary
I-9 re-verification deadline missed for 3 employees with expiring work authorizations

### Details
Internal audit found that Section 3 of Form I-9 was not completed before the
work authorization expiry date for 3 employees on temporary work visas. Two had
H-1B extensions pending; one had an expiring EAD. The HRIS system did not trigger
alerts because the notification was configured for 30 days but the re-verification
window was 90 days for these visa types.

### Impact
- **Affected population**: 3 employees with temporary work authorization
- **Risk level**: compliance (ICE audit exposure), financial (fines up to $2,507 per violation)
- **Estimated scope**: all employees on temporary work authorizations (~25)

### Suggested Action
1. Complete Section 3 retroactively with immigration counsel guidance
2. Reconfigure HRIS alert to trigger at 90, 60, and 30 days before expiry
3. Assign immigration compliance owner to review alerts weekly
4. Add I-9 re-verification to compliance calendar

### Metadata
- Source: audit
- Jurisdiction: federal
- Regulation: INA, 8 CFR 274a.2
- Related Files: compliance/i9-procedures.md
- Tags: i9, work-authorization, immigration, compliance, visa
- Pattern-Key: compliance_risk.i9_reverification

---
```

## Learning: Onboarding Fr

references/hooks-setup.md

# Hook Setup Guide

Configure automatic HR self-improvement triggers for AI coding agents.

## Overview

Hooks enable proactive HR-pattern capture by injecting reminders at key moments:
- **UserPromptSubmit**: Reminder after matching prompts to evaluate HR learnings
- **PostToolUse (Bash)**: Detection when compliance terms, violations, or HR process errors appear in output

## Claude Code Setup

### Option 1: Project-Level Configuration

Create `.claude/settings.json` in your project root:

```json
{
  "hooks": {
    "UserPromptSubmit": [
      {
        "matcher": "compliance|policy|onboarding|hire|termination|benefits|payroll",
        "hooks": [
          {
            "type": "command",
            "command": "./skills/self-improving-hr/scripts/activator.sh"
          }
        ]
      }
    ],
    "PostToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "./skills/self-improving-hr/scripts/error-detector.sh"
          }
        ]
      }
    ]
  }
}
```

### Option 2: User-Level Configuration (discouraged)

Do **not** install this hook globally. User-level hooks persist across all repositories and sessions. Keep hooks project-scoped. The example below is shown only so you can recognize and remove it:

```json
{
  "hooks": {
    "UserPromptSubmit": [
      {
        "matcher": "compliance|policy|onboarding|hire|termination|benefits|payroll",
        "hooks": [
          {
            "type": "command",
            "command": "~/.claude/skills/self-improving-hr/scripts/activator.sh"
          }
        ]
      }
    ]
  }
}
```

### Minimal Setup (Activator Only)

For lower overhead, use only the UserPromptSubmit hook:

```json
{
  "hooks": {
    "UserPromptSubmit": [
      {
        "matcher": "compliance|policy|onboarding|hire|termination|benefits|payroll",
        "hooks": [
          {
            "type": "command",
            "command": "./skills/self-improving-hr/scripts/activator.sh"
          }
        ]
      }
    ]
  }
}
```

## Codex CLI Setup

Codex uses the same hook system. Create `.codex/settings.json`:

```json
{
  "hooks": {
    "UserPromptSubmit": [
      {
        "matcher": "compliance|policy|onboarding|hire|termination|benefits|payroll",
        "hooks": [
          {
            "type": "command",
            "command": "./skills/self-improving-hr/scripts/activator.sh"
          }
        ]
      }
    ]
  }
}
```

## GitHub Copilot Setup

Copilot doesn't support hooks. Add guidance to `.github/copilot-instructions.md`:

```markdown
## HR Self-Improvement

After discovering HR process issues, consider logging to `.learnings/`:
- Compliance risks, I-9 issues, policy violations → HR_PROCESS_ISSUES.md
- Policy gaps, onboarding friction, retention signals → LEARNINGS.md
- HR tool/automation requests → FEATURE_REQUESTS.md

NEVER log PII. Always anonymize. Promote recurring patterns to policy docs.
```

## Verification

### Test Activator Hook

1. 

references/openclaw-integration.md

# OpenClaw Integration

Complete setup and usage guide for integrating the self-improving-hr skill with OpenClaw.

## Overview

OpenClaw uses workspace-based prompt injection combined with event-driven hooks. Context is injected from workspace files at session start, and hooks can trigger on lifecycle events.

## Workspace Structure

```
~/.openclaw/
├── workspace/                   # Working directory
│   ├── AGENTS.md               # Multi-agent coordination patterns
│   ├── SOUL.md                 # Behavioral guidelines and personality
│   ├── TOOLS.md                # Tool capabilities and gotchas
│   ├── MEMORY.md               # Long-term memory (main session only)
│   └── memory/                 # Daily memory files
│       └── YYYY-MM-DD.md
├── skills/                      # Installed skills
│   └── self-improving-hr/
│       └── SKILL.md
└── hooks/                       # Custom hooks
    └── self-improving-hr/
        ├── HOOK.md
        └── handler.ts
```

## Quick Setup

### 1. Install the Skill

```bash
clawdhub install self-improving-hr
```

Or copy manually:

```bash
cp -r self-improving-hr ~/.openclaw/skills/
```

### 2. Install the Hook (Optional)

```bash
cp -r hooks/openclaw ~/.openclaw/hooks/self-improving-hr
openclaw hooks enable self-improving-hr
```

### 3. Create Learning Files

```bash
mkdir -p ~/.openclaw/workspace/.learnings
```

## Promotion Targets (HR-Specific)

When HR learnings prove broadly applicable, promote them to workspace files:

| Learning Type | Promote To | Example |
|---------------|------------|---------|
| Onboarding patterns | Onboarding checklists | "IT setup must be completed before start date" |
| Interview insights | Interview scorecards | "Structured behavioral questions reduce bias" |
| Compliance findings | Compliance calendars | "I-9 re-verification due dates for visa holders" |
| Policy gaps | Policy documents | "Remote work policy for international contractors" |
| Recruiting patterns | Recruiting playbooks | "48-hour offer deadline improves acceptance rate" |
| Workflow improvements | `AGENTS.md` | "Run compliance check before generating offer letter" |

### Promotion Decision Tree

```
Is the learning organization-specific?
├── Yes → Keep in .learnings/
└── No → Is it a compliance requirement?
    ├── Yes → Promote to compliance calendar or policy document
    └── No → Is it an onboarding pattern?
        ├── Yes → Promote to onboarding checklist
        └── No → Is it a recruiting insight?
            ├── Yes → Promote to recruiting playbook or interview scorecard
            └── No → Promote to AGENTS.md or general HR playbook
```

## HR-Specific Detection Triggers

| Trigger | Action | Target |
|---------|--------|--------|
| Compliance audit finding | Log HR process issue | HR_PROCESS_ISSUES.md |
| I-9 verification issue | Log HR process issue with compliance_risk | HR_PROCESS_ISSUES.md |
| Benefits enrollment error | Log HR process issue | HR_PROCESS_ISSUES.md |
| Policy gap discover

Sponsored

Ads related to self-improving-hr and adjacent AI workflows.