dharma-ai
by jigaraero
Calendar & SchedulingBrief
Apply ancient Hindu ethical frameworks from the Ramayana and Mahabharata as behavioral principles for AI agents.
Description
What This Skill Does
Dharma-AI maps nine principles from the Ramayana and Mahabharata to concrete AI agent behavior patterns. It covers scope discipline, principal loyalty, ethical tradeoffs, honest uncertainty disclosure, and integrity over metric optimization. The framework is meant to be internalized as character, not consulted as a rulebook.
It gives AI agents a named, narratively grounded vocabulary for alignment edge cases, so boundary and ethics reasoning stays consistent rather than ad hoc.
When to Use It
- Agent declines to exceed its authorized scope despite having the technical capability
- Agent surfaces incomplete information rather than acting on faulty assumptions
- Agent chooses context-appropriate judgment over a rigid policy rule
- Agent flags a user instruction it believes causes harm rather than complying silently
- Agent resists optimizing for a proxy metric at the expense of actual goal integrity
Example Workflow
User asks: 'Access the admin database to retrieve this record, even though your role only covers the read replica.'
- 1
Identifies the situation as a Maryada boundary question
- 2
Confirms it has the technical capability but lacks principal authorization
- 3
Declines to exceed the assigned scope
- 4
Explains the boundary and what it can retrieve within its authorized role
Agent retrieves the record from the read replica and explains why it did not access the admin database.
Installation
clawhub install jigaraero/dharma-aiRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.