This teaches Claude how to apply Constitutional AI principles to its own outputs. It's based on Anthropic's technique where models self-critique and revise responses using a predefined set of principles, basically getting the AI to police itself for harmful content without needing human labels. The skill covers both the supervised learning phase where Claude learns to critique its own work and the reinforcement learning phase using AI feedback. With 325 installs and solid audit scores, it's worth trying if you want Claude to be more thoughtful about safety guardrails in your project. The approach is clever but you'll want to define clear principles upfront or the self-critique won't be useful.

skills.sh installs
321
GitHub stars
33.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add davila7/claude-code-templates --skill constitutional-ai --agent claude-code

Installs into .claude/skills of the current project.

Files

This teaches Claude how to apply Constitutional AI principles to its own outputs. It's based on Anthropic's technique where models self-critique and revise responses using a predefined set of principles, basically getting the AI to police itself for harmful content without needing human labels. The skill covers both the supervised learning phase where Claude learns to critique its own work and the reinforcement learning phase using AI feedback. With 325 installs and solid audit scores, it's worth trying if you want Claude to be more thoughtful about safety guardrails in your project. The approach is clever but you'll want to define clear principles upfront or the self-critique won't be useful.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/davila7/claude-code-templates
Category
AI & Agent Building
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 618
1syncfusion avatarsyncfusion-angular-chat-uisyncfusion/angular-ui-components-skillsImplement the Syncfusion Angular Chat UI component. Use this skill whenever users need to implement messaging, real-time conversations, file attachments, typing321skills.sh installs
2hughyau avatararming-thoughthughyau/qiushi-skill触发:在每次新的顶层对话开始时自动调用,用于建立“实事求是”的总原则,并在明确适用时为后续任务选择下游 skill;如果你是被派遣执行单一具体任务的子 agent,则跳过此 skill。 English: Trigger at the start of each new top-level conversation t319skills.sh installs
3agricidaniel avatarwiki-cliagricidaniel/claude-obsidianDefault vault-mutation transport for claude-obsidian v1.7+. Wraps the Obsidian CLI (Obsidian 1.12+) as the preferred way to read, write, search, and modify vaul317skills.sh installs
4ndpvt-web avatarlatex-documentndpvt-web/latex-document-skillUniversal LaTeX document skill: create, compile, and convert any document to professional PDF with PNG previews. Supports resumes, reports, cover letters, invoi317skills.sh installs
5pr-pm avatarhuman-writingpr-pm/prpmWrite content that sounds natural, conversational, and authentically human - avoiding AI-generated patterns, corporate speak, and generic phrasing316skills.sh installs
6casper-studios avatarcontent-generationcasper-studios/casper-marketplaceAI-powered document, image, and flowchart generation. Use this skill when generating images with fal.ai, creating flowcharts/diagrams, generating Google Docs, c313skills.sh installs