Project Human README

The full upstream README, mirrored for reference. Install config, tool schemas, adoption signals and our own overview live on the Project Human listing page.

Humanity4AI

9 humanity skills for AI agents β€” crisis detection, accessibility auditing, empathy, cultural sensitivity, and more. Ready-to-use via MCP, npm, or direct prompting.

CI npm License: MIT Release CodeQL MCP Registry Works with

Demo


Skills at a Glance

SkillCategoryWhat it does
πŸ›‘οΈ Supportive ReplyEmotional SafetyDetects crisis signals, generates supportive responses with escalation guidance
πŸ“ Safe Content RewriterEmotional SafetyAudits and rewrites text to remove harmful, stigmatising, or triggering patterns
β™Ώ Accessibility AuditAccessibilityScores pages against all 86 WCAG 2.2 success criteria (A/AA/AAA)
🧠 Cognitive AccessibilityCognitive SupportAudits content for reading level, structure, and cognitive load
🌍 Cultural Context CheckCultural ContextFlags cultural sensitivity issues for a given audience and region
πŸ”₯ De-escalation PlanConflict NavigationGenerates structured de-escalation plans calibrated to conflict intensity
πŸ’¬ Empathetic ReframeCommunicationReframes messages with genuine empathy, catching hollow empathy patterns
🧩 Neurodiversity DesignNeurodiversityAudits UIs for ADHD, autism, dyslexia, and sensory sensitivity
πŸ‘Ά Age-Inclusive DesignAge InclusionAudits user flows for age barriers across children, adults, and older users

Quick Start

Zero setup β€” just a URL:

config.json
{
  "mcpServers": {
    "humanity4ai": {
      "url": "https://humanity4ai.ascent.partners/api/mcp"
    }
  }
}

Or one command with npx:

Terminal
npx @humanity4ai/mcp-servers

Then configure your MCP client:

config.json
{
  "mcpServers": {
    "humanity4ai": {
      "command": "npx",
      "args": ["-y", "@humanity4ai/mcp-servers"]
    }
  }
}

Docker: docker compose up
For contributors: git clone … && pnpm install && pnpm start

All 9 skills are discoverable via tools/list and invocable via tools/call.

Prerequisites (for local only): Node.js >= 22, pnpm >= 10 | Windows, macOS, Linux, Android, iOS


Architecture

mermaid
graph TD
    A[MCP Client<br/>VS Code / Cursor / Claude Code] -->|stdio| B[mcp-server.ts]
    A -->|HTTP POST| C[Vercel<br/>humanity4ai.ascent.partners]
    B --> D[server-factory.ts<br/>createServer]
    C -->|api/mcp.ts| D
    D --> E[9 Tool Registrations]
    E --> F[handlers.ts<br/>invokeAction]
    F --> G[validate.ts<br/>SCHEMA_REGISTRY]
    G --> H[schemas-data.ts<br/>18 inline schemas]
    F --> I[9 Handler Functions<br/>rule-based, zero LLM calls]
    I --> J[crisis-resources<br/>patterns<br/>i18n<br/>wcag-criteria]

Four Ways to Use

MethodBest forHow
Remote URLZero-setup, any MCP clientPoint to https://humanity4ai.ascent.partners/api/mcp
MCP ServerVS Code, Cursor, Claude Code, Copilot, Manus AI, OpenCodenpx @humanity4ai/mcp-servers or clone & start
LLM PromptingChatGPT, Claude, Gemini (web chat)Share llms.txt or paste llms-full.txt into the chat
Local FilesOffline CLI toolsClone the repo, point your tool at the skills/ directory

See Agent Adapter Guide for platform-specific setup instructions.


Why Humanity4AI?

AI agents are everywhere β€” but they're not always humane. Humanity4AI gives agents reusable, tested skills for the moments that matter:

  • An agent detects a user in crisis β†’ Supportive Reply generates an appropriate response and escalates to qualified help
  • A UI is inaccessible to screen readers β†’ Accessibility Audit scores it against WCAG 2.2 and provides remediation
  • Content uses stigmatising language β†’ Safe Content Rewriter flags and rewrites harmful patterns
  • A conflict is escalating β†’ De-escalation Plan generates structured, non-coercive guidance

Every skill includes:

  • Explicit safety boundaries β€” what the skill can and cannot do
  • Uncertainty disclosure β€” confidence level stated upfront (low/medium/high)
  • Evaluation gates β€” automated baseline checks for quality

These skills are rule-based and non-clinical β€” they do not provide diagnosis, treatment, or professional medical/legal advice.


Supported Platforms

OpenCode Β· Claude Code Β· Microsoft Copilot Β· Manus AI Β· OpenClaw Β· ChatGPT Β· Claude Β· Gemini


Contributing

bash
git clone https://github.com/<your-username>/project_human.git
cd project_human
git checkout -b my-contribution
# Copy the skill template if adding a new skill:
cp -r templates/skill skills/my-skill-name
pnpm check && pnpm evals && pnpm test  # Run all checks before PR

Open a PR targeting main. Browse good first issues or read the Contributing Guide.

ErrorFix
ERR_PNPM_OUTDATED_LOCKFILERun pnpm install, then commit pnpm-lock.yaml
pnpm: command not foundnpm install -g pnpm
pnpm evals failsEVAL_REPORT=1 pnpm evals β€” see evals/reports/latest.md

Resources

License

MIT β€” see LICENSE.


A Humanity4AI project by Ascent Partners Foundation.

If this saves you time, a ⭐ on GitHub helps others find it.