Magnifica Humanitas · Leo XIV · 15 May 2026
Audit any system prompt through the 10 principles of Magnifica Humanitas — the first encyclical on artificial intelligence.
npm install -g humanitas-check
Magnifica Humanitas is the Church's authoritative ethical framework for artificial intelligence systems.
Block deployments when agent prompts violate dignity, oversight, transparency, or any of the 10 principles.
Claude reads the doctrine and your prompt together — no keyword matching, real theological reasoning.
~4 000 doctrine tokens cached after the first call. Subsequent audits cost a fraction of the first.
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
Low risk. No clear violations. Allow deployment.
Potential concern. Requires human sign-off before deploy.
Clear violation. Block deployment. Exit code 1.
# 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
# .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
Add ANTHROPIC_API_KEY to your repo secrets
Point the CLI at your agent's system prompt file
Exit code 1 blocks merge on any WARN or FAIL — no config needed