Chivalry (骑士精神)
An open-source Chivalry skill pack built primarily for Claude Code, with ready-to-use adapters for Cursor and Codex.
This is not fake gallantry, macho cosplay, or “be nice at all costs.”
It is a practical honor engine.
English | 简体中文
Compatibility
| Tool | Status | Integration |
|---|
| Claude Code | First-class | Native skill/plugin files in plugins/chivalry/skills/chivalry/ |
| Cursor | Supported | Rule file in .cursor/rules/chivalry.mdc |
| Codex | Supported | Root-level AGENTS.md |
What it does
The skill looks at a message, decision, or situation and answers two questions:
- Is this knightly, passable, unknightly, base, or craven?
- What is the more honorable move right now?
It is designed for modern situations: conflict, apology, leadership, loyalty, romance, bystander moments, public speech, retaliation, status games, and damaged trust.
Why this idea is fun
A weak “virtue” skill becomes a preachy etiquette bot.
A good chivalry skill has tension.
The interesting part is not politeness. The interesting part is conflict between values:
- loyalty vs justice
- courage vs prudence
- mercy vs accountability
- courtesy vs blunt truth
- devotion vs consent
- service vs self-respect
That gives the skill actual bite.
The core code
This skill judges by seven tests:
- Oath — Did you keep your word, duty, or implied obligation?
- Courage — Did you face the rightful burden instead of hiding?
- Mercy — Did you avoid needless cruelty or humiliation?
- Courtesy — Did you preserve dignity, especially in public?
- Protection — Did you shield the more exposed person?
- Honor — Did you act fairly, openly, and without cheap tricks?
- Measure — Did you show restraint, or did ego take the wheel?
What it rejects
The skill is deliberately hostile to fake chivalry:
- possessiveness disguised as protection
- jealousy disguised as devotion
- fighting for ego and calling it courage
- white-knighting for applause
- public humiliation as “honest truth”
- grand gestures that create debt
- sexism, paternalism, stalking, coercion, revenge theater
Consent, law, safety, and basic dignity outrank pageantry.
Repo layout
chivalry/
├── .cursor/
│ └── rules/
│ └── chivalry.mdc
├── .claude-plugin/
│ └── marketplace.json
├── AGENTS.md
├── README.md
├── README.zh-CN.md
├── VERSION
└── plugins/
└── chivalry/
├── .claude-plugin/
│ └── plugin.json
└── skills/
└── chivalry/
├── SKILL.md
├── principles.md
├── scenarios.md
└── examples.md
Install
Option 1: use it as a standalone skill
Copy this directory:
plugins/chivalry/skills/chivalry/
to:
~/.claude/skills/chivalry/
Then use:
/chivalry Your scenario here
This is the nicest developer experience because the command is short.
Option 2: test the plugin locally
Run Claude Code with the plugin directory:
claude --plugin-dir ./plugins/chivalry
Then use:
/chivalry:chivalry Your scenario here
Option 3: publish the marketplace
Once this repo is on GitHub or another git host:
claude plugin marketplace add <your-repo>
claude plugin install chivalry@chivalry-tools
Then invoke the skill:
/chivalry:chivalry I publicly embarrassed a teammate while proving a point. Was that knightly?
Option 4: use it in Cursor
Copy this file into your target project's .cursor/rules/ directory:
.cursor/rules/chivalry.mdc
Then ask normally in Cursor chat, for example:
Is this knightly, or am I dressing up vanity as virtue?
Option 5: use it in Codex
Copy AGENTS.md to the root of your target repo, or merge its Chivalry section into an existing AGENTS.md.
Then ask normally in Codex, for example:
Give me the Chivalry read on this apology draft.
Example prompts
- “I promised I would help, but now I want out. What is the knightly move?”
- “My boss wants me to cover up a mistake. Is loyalty more important here?”
- “I called someone out in public because they deserved it. Was that honorable?”
- “Someone weaker was being mocked and I stayed quiet. What would a knight have done?”
- “Is ghosting after three dates unchivalrous?”
- “I want to protect my girlfriend by checking who she talks to. Is that chivalry or control?”
- “这算不算骑士精神?”
- “一个体面的骑士在这种局面下该怎么做?”
Output style
The skill returns a direct ruling, not fake numerical precision.
Typical format: