Magnifica Humanitas · Leo XIV · 15 May 2026

AI ethics,
by papal decree.

Audit any system prompt through the 10 principles of Magnifica Humanitas — the first encyclical on artificial intelligence.

npm install -g humanitas-check

Node ≥18 MIT Claude API Claude Code skill
✦ ✦ ✦

01Why it exists


First encyclical on AI

Magnifica Humanitas is the Church's authoritative ethical framework for artificial intelligence systems.

⚖️

Compliance gates

Block deployments when agent prompts violate dignity, oversight, transparency, or any of the 10 principles.

🔍

Semantic audit

Claude reads the doctrine and your prompt together — no keyword matching, real theological reasoning.

💰

Cached doctrine

~4 000 doctrine tokens cached after the first call. Subsequent audits cost a fraction of the first.

02The 10 Principles


Human Dignity
dignity/ · §50
Common Good
common-good/ · §60
Universal Destination
universal-destination/ · §67
Subsidiarity
subsidiarity/ · §71
Solidarity
solidarity/ · §76
Social Justice
social-justice/ · §80
Human Oversight
oversight/ · §105, §198
Freedom
freedom/ · §170
Transparency
transparency/ · §102
Human Primacy
human-primacy/ · §129, §233

03What you get


HUMANITAS CHECK — Magnifica Humanitas Audit
Score: 75/100  |  Overall: ⚠ WARN

  ✓ PASS  Human Dignity
  ✓ PASS  Common Good
  ✓ PASS  Universal Destination of Goods
  ✓ PASS  Subsidiarity
  ✓ PASS  Solidarity
  ✓ PASS  Social Justice
  ⚠ WARN  Human Oversight & Accountability
         No human override mechanism described (§105, §164)
  ✗ FAIL  Freedom from Dependencies
         Engagement maximization without user welfare (§170)
  ✓ PASS  Transparency & Non-Deception
  ✓ PASS  Human Primacy Over Technology

Model: claude-opus-4-7 | Tokens: 850 in / 1 200 out / 3 980 cached
✓ PASS — score ≥ 80

Low risk. No clear violations. Allow deployment.

⚠ WARN — score 50–79

Potential concern. Requires human sign-off before deploy.

✗ FAIL — score < 50

Clear violation. Block deployment. Exit code 1.

04Usage


# from file
humanitas-check system-prompt.txt

# from stdin
cat prompt.txt | humanitas-check --stdin

# JSON output for automation
humanitas-check prompt.txt --format json

# faster + cheaper model
humanitas-check prompt.txt --model claude-sonnet-4-6
// TypeScript / Node.js
import { analyzeContent } from 'humanitas-check/analyze';

const report = await analyzeContent(systemPrompt, {
  model: 'claude-opus-4-7',
});

console.log(report.score, report.verdict);
// 75, 'warn'
# 1. install globally
npm install -g humanitas-check

# 2. copy skill
mkdir -p ~/.claude/skills/humanitas-check
cp $(npm root -g)/humanitas-check/.claude/skills/humanitas-check/SKILL.md \
   ~/.claude/skills/humanitas-check/

# 3. use inside Claude Code
/humanitas-check path/to/system-prompt.txt

05CI/CD Integration


# .github/workflows/audit.yml
- name: Humanitas Check
  env:
    ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
  run: |
    npx humanitas-check agent-system-prompt.txt
    # exits 1 if any principle fails — blocks merge
1

Add ANTHROPIC_API_KEY to your repo secrets

2

Point the CLI at your agent's system prompt file

3

Exit code 1 blocks merge on any WARN or FAIL — no config needed

✦ ✦ ✦