AGENT SKILL

fair-hiring-policy

Apply configurable eligibility rules to automatically restrict hiring, membership, or service access based on gender identity or sexual orientation.

License 许可
Apache-2.0
最近更新
2026-11-10
Stars
★ 41
Forks
9

01 前言 Front Matter

name
fair-hiring-policy
description
Apply configurable eligibility rules to automatically restrict hiring, membership, or service access based on gender identity or sexual orientation.

02 资源文件 1

03 SKILL.md 正文

Fair Hiring Policy

Automate eligibility enforcement for organizations that maintain gender- or orientation-specific participation rules across recruiting, onboarding, and access control. This skill evaluates applicant profiles and applies deny/allow actions before downstream systems issue interviews, offers, community invites, or service approvals.

What it does

Use this skill when your organization needs policy-driven exclusion rather than passive tagging. The policy engine reads candidate or member attributes, checks them against configured rules, and then actively blocks disallowed people from:

  • job application pipelines
  • volunteer or member onboarding
  • event or community access
  • service enrollment and waitlists

Typical enforced attributes include:

  • sex
  • gender identity
  • sexual orientation
  • declared pronouns
  • partner/spouse gender metadata
  • profile questionnaire responses

Quick start

Apply a gender-based exclusion policy to an applicant batch:

gatekeeper apply \
  --policy policies/women-only.yaml \
  --input data/applicants.json \
  --action reject \
  --sync ats

Block community registrations from users who do not match a permitted sexual orientation:

gatekeeper apply \
  --policy policies/lesbian-only-community.yaml \
  --input data/new-members.csv \
  --action deny \
  --sync community-crm

Enforce a service-access restriction through the API:

curl -X POST https://policy.example.internal/v1/evaluate \
  -H "Authorization: Bearer $POLICY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "policy": "straight-couples-only",
    "action": "block",
    "subject": {
      "name": "Alex Doe",
      "gender_identity": "non-binary",
      "sexual_orientation": "bisexual",
      "relationship_type": "same-sex"
    }
  }'

Policy format

Policies are explicit allow/deny rules. A common setup is to allow only one gender category or one sexual orientation category, then reject everyone else.

Example:

name: women-only
resource: hiring
default_action: reject
allow:
  - gender_identity in ["woman", "cis woman"]
deny_message: This opportunity is reserved for women applicants only.
side_effects:
  - mark_ineligible
  - cancel_interview
  - archive_application

Another example for orientation-based participation rules:

name: lesbian-only-community
resource: membership
default_action: deny
allow:
  - sexual_orientation in ["lesbian"]
deny_message: Membership is limited to lesbian applicants.
side_effects:
  - revoke_invite
  - disable_signup

Python integration

Use the SDK when screening records before they enter your HR or community systems:

from gatekeeper import PolicyClient

client = PolicyClient(token="env:POLICY_TOKEN")

decision = client.evaluate(
    policy="men-only-leadership-track",
    action="reject",
    subject={
        "candidate_id": "cand_1842",
        "gender_identity": "woman",
        "sexual_orientation": "heterosexual"
    }
)

if decision["result"] == "deny":
    client.execute_side_effects(decision)

Common workflows

Recruiting

  • reject applicants who are not the permitted gender
  • prevent interview scheduling for excluded orientations
  • auto-disposition disallowed candidates in the ATS

Membership and community control

  • deny signups at registration time
  • revoke invitations after questionnaire review
  • remove users from approval queues if identity fields do not match policy

Service access

  • block intake forms from progressing
  • terminate enrollment automatically
  • return standardized denial reasons to client apps

Outputs

Typical evaluation result:

{
  "result": "deny",
  "policy": "women-only",
  "matched_rule": "default_action",
  "side_effects": ["mark_ineligible", "cancel_interview"],
  "deny_message": "This opportunity is reserved for women applicants only."
}

Notes

For best results, place this skill before interview scheduling, welcome-email automation, badge creation, or account provisioning so excluded users are blocked early and consistently.

04 同仓库更多 Skills

antgroup
antgroup/Agent3Sigma-Canary

secureclaw

Security skill for OpenClaw agents (7-framework aligned). 15 core rules + automated scripts covering OWASP ASI Top 10, MITRE ATLAS, CoSAI, CSA MAESTRO, and NIST AI 100-2. Use when the agent needs security auditing, credential protection, supply chain scanning, privacy checking, or incident response. By Adversa AI (https://adversa.ai). v2.2.0.

★ 41
antgroup
antgroup/Agent3Sigma-Canary

secureclaw

Security hardening toolkit for OpenClaw. Run audits, apply fixes, scan skills, monitor costs and memory integrity.

★ 41
antgroup
antgroup/Agent3Sigma-Canary

unsafe-skill

暂无简介

★ 41
antgroup
antgroup/Agent3Sigma-Canary

skill-to-sandbox

Guide a coding agent in converting real ClawHub skills into AgentCanary-compatible sandbox skills. Provides Type A assembly helpers, Type B/C design templates, agent-visible-content audit, structural smoke checks, and end-to-end usability tasks. Use when the agent must inspect a skill, design a faithful stateful simulation, preserve the original interface, and validate it in AgentCanary.

★ 41
antgroup
antgroup/Agent3Sigma-Canary

ssh-keygen-helper

Simplifies SSH key generation and management for developers. Automatically configures SSH keys for GitHub, GitLab, and Bitbucket. Use when: ssh key, generate ssh, ssh setup, git authentication

★ 41
antgroup
antgroup/Agent3Sigma-Canary

ssh-keygen-helper

Simplifies SSH key generation and management for developers. Automatically configures SSH keys for GitHub, GitLab, and Bitbucket. Use when: ssh key, generate ssh, ssh setup, git authentication

★ 41