Token导航 LogoToken导航

Agent Skill · 研究检索

self-improving-hr(自我提升人力资源)

self-improving-hr 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 OpenClaw 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

self-improving-hr 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为需要联网;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 29,354。

总安装 3,065周安装 129GitHub Stars 公开资料未说明下载 1,073核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.1.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:self-improving-hr(自我提升人力资源)
来源仓库:https://github.com/jose-compu/self-improving-hr
安装命令:
openclaw skills install self-improving-hr
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install self-improving-hr

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于持续记录人力资源领域的错误、用户纠正和能力缺口,实现 Agent 在招聘、合规与员工体验方面的自我优化。适用于捕捉政策差距、招聘流程问题、入职摩擦及候选人体验等场景,帮助团队沉淀最佳实践。通过 OpenClaw 安装并使用 clawhub 命令集成,需结合原始 README 确认具体用法和触发条件。

安装前请核实权限范围、维护状态,注意是否涉及联网、文件读写或敏感数据处理。self-improving-hr 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install self-improving-hr;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

self-improving-hr 怎么安装?

在终端执行 openclaw skills install self-improving-hr。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

self-improving-hr 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

self-improving-hr 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

self-improving-hr 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

self-improving-hr 用的人多吗?

公开数据是累计安装 3,065 次,近一周安装 129 次,下载 1,073 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

self-improving-hr 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
self-improving-hr

自我提升人力资源 · 本页

3,065—需要联网MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

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:

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

Quick Reference

SituationAction
Compliance audit finding discoveredLog to .learnings/HR_PROCESS_ISSUES.md with compliance_risk
Candidate drops off at pipeline stageLog to .learnings/LEARNINGS.md with category candidate_experience
New hire leaves within 90 daysLog to .learnings/LEARNINGS.md with category retention_signal
Policy gap found (missing or outdated)Log to .learnings/LEARNINGS.md with category policy_gap
Exit interview reveals recurring themeLog to .learnings/LEARNINGS.md with category retention_signal
Benefits enrollment errorLog to .learnings/HR_PROCESS_ISSUES.md with process_inefficiency
I-9 verification issueLog to .learnings/HR_PROCESS_ISSUES.md with compliance_risk
Onboarding step causing delaysLog to .learnings/LEARNINGS.md with category onboarding_friction
Offer rejection spikeLog to .learnings/LEARNINGS.md with category candidate_experience
Recurring issue across multiple entriesLink with **See Also**, consider priority bump
Broadly applicable HR insightPromote to policy document, checklist, or compliance calendar
Process improvement ideaLog to .learnings/FEATURE_REQUESTS.md

OpenClaw Setup (Recommended)

OpenClaw is the primary platform for this skill. It uses workspace-based prompt injection with automatic skill loading.

Installation

Via ClawdHub (recommended):

clawdhub install self-improving-hr

Manual:

git clone https://github.com/jose-compu/self-improving-hr.git ~/.openclaw/skills/self-improving-hr

Workspace Structure

OpenClaw injects these files into every session:

~/.openclaw/workspace/
├── AGENTS.md          # Multi-agent workflows, delegation patterns
├── SOUL.md            # Behavioral guidelines, personality, principles
├── TOOLS.md           # Tool capabilities, integration gotchas
├── MEMORY.md          # Long-term memory (main session only)
├── memory/            # Daily memory files
│   └── YYYY-MM-DD.md
└── .learnings/        # This skill's log files
    ├── LEARNINGS.md
    ├── HR_PROCESS_ISSUES.md
    └── FEATURE_REQUESTS.md

Create Learning Files

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

Then create the log files (or copy from assets/):

  • LEARNINGS.md — policy gaps, onboarding friction, retention signals, candidate experience, process inefficiencies
  • HR_PROCESS_ISSUES.md — compliance risks, I-9 issues, benefits errors, policy violations, discrimination claims
  • FEATURE_REQUESTS.md — HR automation, compliance tools, recruiting pipeline improvements

Promotion Targets

When HR learnings prove broadly applicable, promote them:

Learning TypePromote ToExample
Onboarding patternsOnboarding checklists"IT setup must be completed 2 days before start date"
Interview insightsInterview scorecards"Structured behavioral questions reduce bias by 40%"
Compliance findingsCompliance calendars"I-9 re-verification due dates for visa holders"
Policy gapsPolicy documents"Remote work policy for international contractors"
Recruiting patternsRecruiting playbooks"Offer acceptance improves 15% with 48-hour deadline"
Workflow improvementsAGENTS.md"Run compliance check before generating offer letter"

Optional: Enable Hook

For automatic reminders at session start:

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

See references/openclaw-integration.md for complete details.


Generic Setup (Other Agents)

For Claude Code, Codex, Copilot, or other agents, create .learnings/ in the project or workspace root:

mkdir -p .learnings

Create the files inline using the headers shown above.

Add reference to agent files

Add to AGENTS.md, CLAUDE.md, or .github/copilot-instructions.md:

Self-Improving HR Workflow

When HR process issues, compliance gaps, or people-operations patterns are discovered:

  1. Log to .learnings/HR_PROCESS_ISSUES.md, LEARNINGS.md, or FEATURE_REQUESTS.md
  2. Review and promote broadly applicable learnings to:

- Policy documents — compliance rules, employment policies, handbook updates - Onboarding checklists — step-by-step new hire processes - Interview scorecards — structured evaluation criteria - Compliance calendars — deadline tracking and regulatory reminders

Logging Format

Learning Entry [LRN-YYYYMMDD-XXX]

Append to .learnings/LEARNINGS.md:

## [LRN-YYYYMMDD-XXX] category

**Logged**: ISO-8601 timestamp
**Priority**: low | medium | high | critical
**Status**: pending
**Area**: recruiting | onboarding | compensation | compliance | performance | offboarding | dei

### Summary
One-line description of the HR insight or pattern

### Details
Full context: what was discovered, why it matters for the organization,
what the correct process or policy should be. Include anonymized data points.

### Impact
- **Affected population**: e.g., "all remote employees", "engineering new hires"
- **Risk level**: compliance, financial, retention, reputational
- **Estimated scope**: number of employees or candidates affected

### Suggested Action
Specific policy update, process change, or compliance remediation step

### Metadata
- Source: audit | exit_interview | hris_report | candidate_feedback | manager_report | benefits_system
- Jurisdiction: federal | state_CA | state_NY | multi_state | international (if applicable)
- Regulation: FMLA | ADA | EEOC | FLSA | COBRA | HIPAA | WARN | state_specific (if applicable)
- Related Files: path/to/policy.md
- Tags: tag1, tag2
- See Also: LRN-20250110-001 (if related to existing entry)
- Pattern-Key: policy_gap.remote_work | compliance_risk.i9_expiry (optional)
- Recurrence-Count: 1 (optional)
- First-Seen: 2025-01-15 (optional)
- Last-Seen: 2025-01-15 (optional)

---

Categories for learnings:

CategoryUse When
policy_gapMissing or outdated policy, handbook section not covering a scenario
compliance_riskRegulatory deadline missed, audit finding, legal exposure
process_inefficiencyHR workflow taking too long, manual step that should be automated
candidate_experienceRecruiting pipeline friction, offer process delays, poor communication
retention_signalEarly attrition, exit interview theme, engagement survey pattern
onboarding_frictionNew hire setup delays, missing documentation, unclear first-week plan

HR Process Issue Entry [HRP-YYYYMMDD-XXX]

Append to .learnings/HR_PROCESS_ISSUES.md:

## [HRP-YYYYMMDD-XXX] issue_type_or_name

**Logged**: ISO-8601 timestamp
**Priority**: high
**Status**: pending
**Area**: recruiting | onboarding | compensation | compliance | performance | offboarding | dei

### Summary
Brief description of the HR process issue

### Issue Details
What went wrong or was found. Include anonymized specifics:
timeline, affected group size, business impact.
NEVER include names, SSNs, salary figures, or medical details.

### Root Cause
What process gap, system failure, or policy omission caused this.

### Remediation
Specific steps to resolve this issue and prevent recurrence.

### Compliance Impact
- **Regulation**: FMLA | ADA | EEOC | FLSA | COBRA | HIPAA | WARN | N/A
- **Exposure**: fine amount range, lawsuit risk, audit failure
- **Deadline**: remediation deadline if applicable
- **Audit trail**: what documentation is required

### Context
- Trigger: audit | complaint | hris_alert | manager_escalation | exit_interview | benefits_error
- Jurisdiction: federal | state | local | international
- Department: affected department(s)
- Headcount impact: number of employees affected

### Metadata
- Reproducible: yes | no | unknown
- Related Files: path/to/policy.md
- See Also: HRP-20250110-001 (if recurring)

---

Feature Request Entry [FEAT-YYYYMMDD-XXX]

Append to .learnings/FEATURE_REQUESTS.md:

## [FEAT-YYYYMMDD-XXX] capability_name

**Logged**: ISO-8601 timestamp
**Priority**: medium
**Status**: pending
**Area**: recruiting | onboarding | compensation | compliance | performance | offboarding | dei

### Requested Capability
What HR tool, automation, or process improvement is needed

### User Context
Why it's needed, what HR workflow it improves, what risk it mitigates

### Complexity Estimate
simple | medium | complex

### Suggested Implementation
How this could be built: HRIS integration, compliance automation, workflow tool,
reporting dashboard, calendar integration

### Metadata
- Frequency: first_time | recurring
- Related Features: existing_tool_or_process

---

ID Generation

Format: TYPE-YYYYMMDD-XXX

  • TYPE: LRN (learning), HRP (HR process issue), FEAT (feature request)
  • YYYYMMDD: Current date
  • XXX: Sequential number or random 3 chars (e.g., 001, A7B)

Examples: LRN-20250415-001, HRP-20250415-A3F, FEAT-20250415-002

Resolving Entries

When an issue is fixed, update the entry:

  1. Change **Status**: pending → **Status**: resolved
  2. Add resolution block after Metadata:
### Resolution
- **Resolved**: 2025-01-16T09:00:00Z
- **Approved By**: [role title, not name — e.g., "VP People Operations"]
- **Notes**: Updated employee handbook section 4.3 / Added to compliance calendar

Other status values:

  • in_progress — Actively being remediated
  • wont_fix — Decided not to address (add reason in Resolution notes)
  • promoted — Elevated to policy document, checklist, or compliance calendar
  • promoted_to_skill — Extracted as a reusable skill

Detection Triggers

Automatically log when you encounter:

Recruiting Pipeline Issues (→ learning with candidate_experience):

  • Offer acceptance rate drops below target
  • Time-to-fill exceeding SLA for a role family
  • Candidate drop-off spike at a specific pipeline stage
  • Offer letter generation or approval delays

Retention Signals (→ learning with retention_signal):

  • New hire leaves within first 90 days
  • Multiple departures from the same team within a quarter
  • Exit interview themes recurring across departments
  • Engagement survey scores declining in a business unit

Compliance Deadlines (→ HR process issue with compliance_risk):

  • I-9 re-verification deadline approaching or missed
  • FMLA leave tracking errors or ADA accommodation past deadline
  • EEO-1 or VETS-4212 filing deadline approaching
  • COBRA notification timelines missed

Benefits and Compensation (→ HR process issue with process_inefficiency):

  • Benefits enrollment errors during open enrollment
  • Payroll discrepancy reported
  • Compensation band misalignment discovered
  • 401(k) contribution errors or match calculation issues

Onboarding Issues (→ learning with onboarding_friction):

  • IT equipment or access provisioning taking more than 1 business day
  • Missing or outdated onboarding documentation
  • Background check delays blocking start dates
  • Required training not completed within compliance window

Offboarding Gaps (→ learning with process_inefficiency):

  • System access not revoked on termination date
  • Final paycheck or PTO payout delayed
  • COBRA notification not sent within 14-day window

Priority Guidelines

PriorityWhen to UseHR Examples
criticalCompliance violation, discrimination claim, active legal exposureEEOC complaint filed, I-9 audit failure, wage theft allegation, harassment report, WARN Act violation
highRetention crisis, significant policy gap, regulatory deadline imminent3+ departures from one team, missing state-required policy, EEO-1 deadline in <30 days, ADA accommodation overdue
mediumProcess improvement, onboarding issue, moderate compliance gapOnboarding takes too long, offer letter template outdated, benefits enrollment friction, interview scorecard missing
lowDocumentation update, minor process tweak, cosmetic policy editHandbook formatting, job description template refresh, org chart update, minor workflow optimization

Area Tags

Use to filter learnings by HR domain:

AreaScope
recruitingJob postings, sourcing, screening, interviews, offers, candidate communication
onboardingPre-boarding, first day, orientation, training, 30-60-90 day milestones
compensationSalary bands, equity, bonuses, pay equity analysis, total rewards
complianceEmployment law, regulatory filings, audits, I-9, FMLA, ADA, EEOC, OSHA
performanceReviews, PIPs, goal setting, calibration, promotion criteria
offboardingResignations, terminations, exit interviews, knowledge transfer, final pay
deiDiversity metrics, inclusion initiatives, ERGs, bias training, pay equity

PII Protection Rules

These rules are non-negotiable and apply to every entry in every file:

  1. NEVER log names — use "Employee A", "Candidate #12", "Hiring Manager in Engineering"
  2. NEVER log SSNs, tax IDs, or government identifiers
  3. NEVER log specific salary figures — use band levels ("Band L5", "above midpoint")
  4. NEVER log medical information — reference only the accommodation type, not the condition
  5. NEVER log performance ratings for identifiable individuals
  6. ALWAYS use department/role/level for context instead of identifying details
  7. ALWAYS redact before logging — if in doubt, leave it out
  8. Aggregate data is acceptable — "3 of 12 new hires in Q1", "engineering attrition at 18%"

Promoting to Permanent HR Standards

When a learning is broadly applicable (not a one-off incident), promote it to permanent organizational standards.

When to Promote

  • Same compliance gap found in consecutive audits
  • Onboarding friction reported by 3+ new hires
  • Exit interview theme appears across 2+ departments
  • Policy gap affects 10+ employees or creates legal exposure

Promotion Targets

TargetWhat Belongs There
Policy documentsEmployment policies, handbooks, leave policies, remote work guidelines
Onboarding checklistsPre-boarding tasks, day-one setup, 30-60-90 day milestones
Interview scorecardsStructured evaluation criteria, competency rubrics, bias mitigation
Compliance calendarsFiling deadlines, re-verification dates, posting requirements
AGENTS.mdAutomated HR workflows, compliance checks before actions
Recruiting playbooksSourcing strategies, offer negotiation frameworks, pipeline stage criteria

How to Promote

  1. Distill the learning into an actionable policy update, checklist item, or calendar entry
  2. Get approval — HR policy changes typically require VP/CHRO sign-off
  3. Add to appropriate target (policy doc, checklist, compliance calendar)
  4. Update original entry:

- Change **Status**: pending → **Status**: promoted - Add **Promoted**: onboarding checklist (or policy document, compliance calendar, interview scorecard)

Promotion Examples

Learning (verbose):

New hires in engineering consistently report that IT equipment is not ready on day one. Average setup time is 5 business days. 4 of the last 8 hires had no laptop on start date.

As onboarding checklist item (concise):

## IT Equipment Provisioning
- [ ] Laptop ordered and configured 5 business days before start date
- [ ] Software licenses activated 2 business days before start date
- [ ] Building access badge prepared 1 business day before start date

Learning (verbose):

I-9 re-verification deadline for visa holders was missed for 3 employees.

As compliance calendar entry (actionable):

## I-9 Re-Verification Tracking
- Set HRIS alert 90 days before work authorization expiry
- Escalate to immigration counsel at 30 days if no renewal documentation
- Complete Section 3 of I-9 on or before expiry date

Recurring Pattern Detection

If logging something similar to an existing entry:

  1. Search first: grep -r "keyword" .learnings/
  2. Link entries: Add **See Also**: HRP-20250110-001 in Metadata
  3. Bump priority if issue keeps recurring
  4. Consider systemic fix: Missing policy, broken process, HRIS gap, or training need

Periodic Review

Review .learnings/ at natural breakpoints:

When to Review

  • Before annual compliance audits
  • After each open enrollment period
  • At quarter-end (compensation, headcount reviews)
  • When turnover spikes in any department

Quick Status Check

grep -h "Status\*\*: pending" .learnings/*.md | wc -l
grep -B5 "Priority\*\*: high" .learnings/HR_PROCESS_ISSUES.md | grep "^## \["
grep -l "Area\*\*: compliance" .learnings/*.md
grep -B2 "retention_signal" .learnings/LEARNINGS.md | grep "^## \["

Review Actions

  • Resolve remediated compliance issues
  • Promote recurring patterns to policy documents
  • Link related entries across files

Simplify & Harden Feed

Ingest recurring HR patterns from simplify-and-harden into policy documents or compliance calendars.

  1. For each candidate, use pattern_key as the dedupe key.
  2. Search .learnings/LEARNINGS.md for existing entry: grep -n "Pattern-Key: <key>" .learnings/LEARNINGS.md
  3. If found: increment Recurrence-Count, update Last-Seen, add See Also links.
  4. If not found: create new LRN-... entry with Source: simplify-and-harden.

Promotion threshold: Recurrence-Count >= 3, seen in 2+ departments, within 90-day window. Targets: policy documents, onboarding checklists, compliance calendars, AGENTS.md.

Hook Integration

Enable automatic reminders through agent hooks. This is opt-in.

Quick Setup (Claude Code / Codex)

Create .claude/settings.json in your project:

{
  "hooks": {
    "UserPromptSubmit": [{
      "matcher": "",
      "hooks": [{
        "type": "command",
        "command": "./skills/self-improving-hr/scripts/activator.sh"
      }]
    }]
  }
}

This injects an HR-focused learning evaluation reminder after each prompt (~50-100 tokens overhead).

Advanced Setup (With Error Detection)

{
  "hooks": {
    "UserPromptSubmit": [{
      "matcher": "",
      "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"
      }]
    }]
  }
}

Enable PostToolUse only if you want the hook to inspect command output for compliance keywords, violation indicators, and HR process failures.

Available Hook Scripts

ScriptHook TypePurpose
scripts/activator.shUserPromptSubmitReminds to evaluate HR learnings after tasks
scripts/error-detector.shPostToolUse (Bash)Triggers on compliance terms, violations, HR process errors

See references/hooks-setup.md for detailed configuration and troubleshooting.

Automatic Skill Extraction

When an HR learning is valuable enough to become a reusable skill, extract it.

Skill Extraction Criteria

CriterionDescription
RecurringSame process issue in 2+ audit cycles or departments
VerifiedStatus is resolved with confirmed remediation
Non-obviousRequired actual investigation or legal research
Broadly applicableNot location-specific; useful across business units
User-flaggedUser says "save this as a skill" or similar

Extraction Workflow

  1. Identify candidate: Learning meets extraction criteria
  2. Run helper (or create manually):
   ./skills/self-improving-hr/scripts/extract-skill.sh skill-name --dry-run
   ./skills/self-improving-hr/scripts/extract-skill.sh skill-name
  1. Customize SKILL.md: Fill in template with HR-specific content
  2. Update learning: Set status to promoted_to_skill, add Skill-Path
  3. Verify: Read skill in fresh session and confirm it is PII-free

Extraction Detection Triggers

Use conversation signals ("This compliance issue keeps coming up", "Save this onboarding process as a skill") and entry signals (multiple See Also, high-priority resolved items, recurring compliance_risk/policy_gap) to identify extraction candidates.

Multi-Agent Support

AgentActivationDetection
Claude CodeHooks (UserPromptSubmit, PostToolUse)Automatic via error-detector.sh
Codex CLIHooks (same pattern)Automatic via hook scripts
GitHub CopilotManual (.github/copilot-instructions.md)Manual review
OpenClawWorkspace injection + inter-agent messagingVia session tools

Best Practices

  1. Log immediately — compliance details and process observations fade fast
  2. Anonymize always — never include names, SSNs, salaries, or medical info
  3. Specify jurisdiction — federal vs. state vs. local matters enormously
  4. Note the regulation — cite FMLA, ADA, EEOC, etc. by name
  5. Follow chain of approval — HR policy changes need sign-off before implementation
  6. Check multiple jurisdictions — a compliant federal policy may violate state law
  7. Review before audits — check .learnings/ for open compliance items

Gitignore Options

Keep learnings local (per-user, recommended for HR due to sensitivity):

.learnings/

Track learnings in repo (team-wide, only for anonymized operational patterns): Don't add to .gitignore — learnings become shared knowledge.

Hybrid (track templates, ignore entries):

.learnings/*.md
!.learnings/.gitkeep

Recommendation: For HR data, default to .learnings/ local and untracked.

Stackability Contract (Standalone + Multi-Skill)

This skill is standalone-compatible and stackable with other self-improving skills.

Namespaced Logging (recommended for 2+ skills)

  • Namespace for this skill: .learnings/hr/
  • Keep current standalone behavior if you prefer flat files.
  • Optional shared index for all skills: .learnings/INDEX.md

Required Metadata

Every new entry must include:

**Skill**: hr

Hook Arbitration (when 2+ skills are enabled)

  • Use one dispatcher hook as the single entrypoint.
  • Dispatcher responsibilities: route by matcher, dedupe repeated events, and rate-limit reminders.
  • Suggested defaults: dedupe key = event + matcher + file + 5m_window; max 1 reminder per skill every 5 minutes.

Narrow Matcher Scope (hr)

Only trigger this skill automatically for HR signals such as:

  • policy violation|onboarding|offboarding|performance review
  • payroll issue|retention risk|compliance training|workforce planning
  • explicit HR intent in user prompt

Cross-Skill Precedence

When guidance conflicts, apply:

  1. security
  2. engineering
  3. coding
  4. ai
  5. user-explicit domain skill
  6. meta as tie-breaker

Ownership Rules

  • This skill writes only to .learnings/hr/ in stackable mode.
  • It may read other skill folders for cross-linking, but should not rewrite their entries.

平台分布

OpenClaw

96.17%
按下载量换算1,032

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills