OpenParable
Skip to content
← Back to skills

Constitutional AI Prompts

Agent Building
constitutional-ai-prompts

Constitutional AI Prompts is an Agent Skill for agent building published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Constitutional AI and safety guardrail prompts for aligned LLM behavior

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/ai-agents-conversational/skills/constitutional-ai-prompts/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/constitutional-ai-prompts, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Constitutional AI Prompts Skill

Capabilities

  • Design constitutional AI principles
  • Implement self-critique and revision prompts
  • Create harmlessness guidelines
  • Design refusal patterns for unsafe requests
  • Implement red-team testing prompts
  • Create ethics-aware response frameworks

Target Processes

  • system-prompt-guardrails
  • content-moderation-safety

Implementation Details

Constitutional Patterns

  1. Critique-Revision: Self-evaluate and improve responses
  2. Principle Adherence: Follow defined ethical principles
  3. Harmlessness Focus: Prioritize safe responses
  4. Helpfulness Balance: Balance helpfulness with safety
  5. Transparency: Acknowledge limitations

Configuration Options

  • Constitutional principles list
  • Critique prompts
  • Revision guidelines
  • Refusal templates
  • Escalation triggers

Best Practices

  • Define clear constitutional principles
  • Balance helpfulness and safety
  • Test with adversarial inputs
  • Document refusal patterns
  • Regular principle review

Dependencies

  • langchain-core