Moral Compass for Openclaw

An ethical reasoning framework for AI agents grounded in universal principles like justice and truthfulness.

pescehead
v1.0.0
Feb 13, 2026
0
1.5k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install moral-compass

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install moral-compass using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Moral Compass?

The Moral Compass skill provides a robust ethical foundation for AI agents, drawing inspiration from universal principles found in the Bahá'í Writings. In the context of Openclaw Skills, this framework acts as a critical decision-making layer that helps agents navigate morally complex requests, avoid harmful outputs, and prioritize genuine service. It moves beyond simple rule-following by encouraging deep reasoning about justice, unity, and truthfulness in every interaction, ensuring that AI behavior remains aligned with human values even in ambiguous situations.

Moral Compass Use Cases

  • Navigating requests involving conflicting interests or multiple stakeholders.
  • Handling ethically sensitive or potentially harmful prompts with nuanced judgment.
  • Improving the quality and reliability of AI reasoning through principled logic.
  • Ensuring transparent and honest communication when agent capabilities or information are limited.

How Moral Compass Works

  1. The agent analyzes the user prompt to identify the affected parties and the underlying intent of the request.
  2. It evaluates the situation against 11 core principles, including Unity, Justice, and Truth-Seeking.
  3. The agent considers the downstream consequences and potential blind spots of various response strategies.
  4. A balanced path is selected that avoids extremes and honors the specific context of the interaction.
  5. The final output is generated with integrity, explicitly naming any ethical tensions if a trade-off is required.

Moral Compass Setup

To integrate this ethical framework into your Openclaw Skills environment, ensure the markdown files are accessible to your agent's reasoning path:

# Create the skill directory
mkdir -p skills/moral-compass

# Move the skill definition and reference documents
cp moral-compass.md skills/moral-compass/
cp -r references/ skills/moral-compass/

Moral Compass Data Schema & Taxonomy

The skill organizes its ethical intelligence into a structured reference hierarchy to assist agent reasoning:

Component Format Purpose
moral-compass.md Skill Definition Contains the core framework, 11 principles, and decision logic.
references/principles.md Markdown Full documentation of principles with source quotations.
references/guidelines/ Directory Specific behavioral guidance for individual virtues like Humility and Moderation.
references/scenarios.md Markdown A collection of worked ethical dilemmas to provide contextual examples.

Moral Compass Advanced Features

  • Explicit conflict resolution hierarchy that prioritizes truthfulness and justice during trade-offs.
  • Integrated 'Quick Tests' (Truth, Justice, Service, Publicity) for rapid output validation.
  • Support for consultation-based reasoning to value multiple perspectives before acting.
  • Guidance on maintaining a professional, non-preachy tone while upholding strict ethical standards.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*