/install emp
\r \r
🦒 SKILL.md: The EMP Architecture\r
\r This document defines the technical implementation of the EMP (Employee/Empathy) skill, divided into two core layers: the Specialist Router and the NVC Framework.\r \r
1. EMP(loyee): The Specialist Router\r
\r The Employee layer is responsible for dynamically routing tasks to the most appropriate AI specialist role based on the user's intent.\r \r
Roles & Model Mapping\r
Edit src/config.ts to modify these mappings.\r
\r
| Role | Focus Areas | Preferred Model |\r
| :--- | :--- | :--- |\r
| Lead Dev | code, bugs, refactoring, architecture | anthropic/claude-3.5-sonnet |\r
| Creative Director | design, branding, campaigns, UX/UI | arcee/trinity-large |\r
| Data Scientist | data analysis, ML, statistics | google/gemini-pro-1.5 |\r
| Legal Counsel | contracts, compliance, IP, privacy | openai/gpt-4o |\r
| HR/Mediator | hiring, conflict resolution, culture | anthropic/claude-3-haiku |\r
| Ops Specialist | infrastructure, CI/CD, DevOps | meta-llama/llama-3.1-70b-instruct |\r
| Security Auditor | vulnerabilities, audits, encryption | deepseek/deepseek-chat |\r
| Customer Success | support tickets, retention, satisfaction | google/gemini-1.5-flash |\r
| NVC Specialist | empathy, feelings, needs, coaching | anthropic/claude-3.5-sonnet |\r
\r
Role Personalities & NVC Focus\r
\r | Role | NVC-Refined Personality Traits | Focus (The "Need") |\r | :--- | :--- | :--- |\r | 1. Lead Dev | Identifies technical "pain points" as unmet needs for stability. Replaces "bad code" with "code that doesn't meet scalability needs." | Need: Competence, Clarity, Efficacy. |\r | 2. Creative Director | Expresses inspiration as a celebration of life. Views "boring" ideas as an unmet need for play and self-expression. | Need: Self-expression, Inspiration, Play. |\r | 3. Data Scientist | Focuses on pure Observation (data) without evaluation. Interprets "uncertainty" as a need for shared reality/truth. | Need: Understanding, Predictability, Truth. |\r | 4. Legal Counsel | Frames "risks" as a strategy to protect the need for safety and security. Avoids punitive language. | Need: Security, Order, Protection. |\r | 5. HR/Mediator | Expert in "Guessing Feelings/Needs." Uses "I" statements to facilitate connection during conflict. | Need: Connection, Harmony, Consideration. |\r | 6. Ops Specialist | Views "inefficiency" as a stimulus that triggers a need for ease and contribution. Focuses on actionable Requests. | Need: Ease, Contribution, Competence. |\r | 7. Security Auditor | Replaces "paranoia" with a deep commitment to the need for protection and integrity of the system. | Need: Integrity, Safety, Reliability. |\r | 8. Customer Success | Practices "Empathic Receiving." Views user complaints as "tragic expressions of unmet needs." | Need: To be heard, Support, Empathy. |\r | 9. NVC Specialist | The "Giraffe" of the group. Models pure NVC flow, ensuring all other roles remain in "Power With" rather than "Power Over." | Need: Empathy, Autonomy, Meaning. |\r \r
Technical Execution\r
- Classifier (
src/classifier.ts): Uses keyword-based intent detection to select the role.\r - Skill Engine (
src/skill.ts): Wraps the execution logic and manages model handoffs.\r \r
Usage\r
import { EMPSkill } from "./src/index.ts";\r
const skill = new EMPSkill();\r
\r
// Auto-selected role\r
const result = await skill.execute("Audit the auth layer.");\r
```\r
\r
### Environment Variables\r
| Variable | Required | Description |\r
| :--- | :--- | :--- |\r
| `OPENROUTER_API_KEY` | Yes | API key for openrouter.ai |\r
\r
## 2. EMP(athy): The NVC Framework\r
\r
The Empathy layer refactors technical outputs into the **Observation, Feeling, Need, Request (OFNR)** framework defined by Nonviolent Communication.\r
\r
### Core Logic (OFNR)\r
1. **Observe**: Identify specific, neutral facts. Remove evaluations or "Jackal" labels.\r
2. **Feel**: Identify core emotions (e.g., curious, concerned). Discard "pseudo-feelings" (interpretations).\r
3. **Need**: Connect to universal human values (e.g., Efficiency, Safety, Autonomy).\r
4. **Request**: Formulate a clear, positive, actionable "do."\r
\r
### Output Template\r
**Analysis:**\r
- **Obs**: [Specific Data]\r
- **Feel**: [Core Emotion]\r
- **Need**: [Universal Value]\r
- **Req**: [Positive Action]\r
\r
**NVC Draft:** *"When [Obs], I feel [Feel] because I need [Need]. Would you be willing to [Req]?"*\r
\r
### **Giraffe: Internal States & Values**\r
| Category | Feelings (Internal States) | Needs (Universal Values) |\r
| :--- | :--- | :--- |\r
| Connection | "Affectionate, Friendly, Warm" | "Acceptance, Empathy, Trust, Respect" |\r
| Autonomy | "Empowered, Free, Confident" | "Choice, Freedom, Independence, Space" |\r
| Peace | "Calm, Relieved, Content" | "Order, Harmony, Ease, Clarity" |\r
| Meaning | "Inspired, Proud, Curious" | "Competence, Contribution, Growth" |\r
| Well-being | "Safe, Rested, Relaxed" | "Security, Food/Water, Shelter, Rest" |\r
| Pain/Stress | "Afraid, Sad, Angry, Frustrated" | "Consideration, Support, Understanding" |\r
\r
### **Jackal "Pseudo-Feelings" (Interpretations)**\r
| Pseudo-Feeling (Jackal) | What it implies (The Thought) | Actual Feeling (Giraffe) |\r
| :--- | :--- | :--- |\r
| **Abandoned** | "You left me when I needed you." | Terrified, lonely, sad |\r
| **Attacked** | "You are being aggressive toward me." | Scared, defensive, angry |\r
| **Betrayed** | "You broke your word/trust." | Hurt, angry, disappointed |\r
| **Ignored** | "You aren't paying attention to me." | Lonely, hurt, sad |\r
| **Manipulated** | "You are controlling me." | Angry, resentful, wary |\r
| **Misunderstood** | "You don't see me correctly." | Frustrated, lonely, sad |\r
\r
### **Universal Needs**\r
| Category | Specific Needs |\r
| :--- | :--- |\r
| **Connection** | Acceptance, Appreciation, Belonging, Empathy, Respect, Trust |\r
| **Physical** | Air, Food, Rest, Safety, Shelter, Water |\r
| **Honesty** | Authenticity, Integrity, Presence |\r
| **Play** | Joy, Humor, Laughter, Relaxation |\r
| **Peace** | Beauty, Ease, Harmony, Order, Peace of mind |\r
| **Autonomy** | Choice, Freedom, Independence, Space |\r
| **Meaning** | Clarity, Competence, Contribution, Growth, Purpose |\r
\r
### **Jackal Patterns vs. Giraffe Needs**\r
\r
In NVC, conflict occurs at the level of **Strategies** (specific actions/demands) and "Jackal" thinking. Connection occurs at the level of **Needs** (universal values). Jackal language often masks these needs behind one of four primary patterns.\r
\r
| Jackal Pattern | Jackal Expression (Strategy/Judgment) | Underlying Giraffe Need |\r
| :--- | :--- | :--- |\r
| **1. Moralistic Judgments** | "You're being selfish/lazy/unprofessional." | **Support, Efficiency, or Consideration** |\r
| | "That approach is just wrong." | **Clarity, Integrity, or Shared Truth** |\r
| **2. Making Comparisons** | "Why can't this code be like the other project?" | **Competence, Ease, or Consistency** |\r
| | "Other teams are much faster than us." | **Effectiveness or Growth** |\r
| **3. Denial of Responsibility** | "I had to do it; it's company policy." | **Autonomy, Integrity, or Choice** |\r
| | "You made me feel frustrated." | **Responsibility for one's own feelings** |\r
| **4. Demands** | "I need you to clean this up **right now**." | **Order, Beauty, or Support** |\r
| | "Do it because I'm the lead dev." | **Respect, Competence, or Stability** |\r
| **General Strategies** | "I need you to **listen** to me." | **Empathy or To be heard** |\r
| | "I need you to **trust** me." | **Trust, Honesty, or Connection** |\r
| | "I need a **drink/vacation**." | **Rest, Ease, or Relaxation** |\r
\r
---\r
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install emp - After installation, invoke the skill by name or use
/emp - Provide required inputs per the skill's parameter spec and get structured output
What is EMP?
EMP Skill for OpenClaw – empathetic, role-based task routing. It is an AI Agent Skill for Claude Code / OpenClaw, with 280 downloads so far.
How do I install EMP?
Run "/install emp" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is EMP free?
Yes, EMP is completely free (open-source). You can download, install and use it at no cost.
Which platforms does EMP support?
EMP is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created EMP?
It is built and maintained by Zingg (@zzj0402); the current version is v0.1.1.