ethical-frameworks

ethical-frameworks is a cursor rule for Cursor from r-huijts/ethics-check-mcp. It costs 0 tokens per session (843 once invoked), scanned A, original, MIT.

A guide for evaluating AI behavior through ethical approaches such as consequences, duties and rights, character, care, justice, and fairness.

In plain words
What is it for?
Use it when implementing or reviewing ethical checks and guidance in the project's AI tools, including risk assessments and stakeholder analysis.
Why use it?
It provides several ways to identify possible harm, privacy or consent problems, unfair treatment, and other ethical concerns in AI responses.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it when implementing or reviewing ethical checks and guidance in the project's AI tools, including risk assessments and stakeholder analysis.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/r-huijts/ethics-check-mcp/ethical-frameworks
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/r-huijts/ethics-check-mcp

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ethical-frameworks

README.md
[![agentmods](https://agentmods.dev/badge/rules/r-huijts/ethics-check-mcp/ethical-frameworks/github.svg)](https://agentmods.dev/rules/r-huijts/ethics-check-mcp/ethical-frameworks)
Your own site
<a href="https://agentmods.dev/rules/r-huijts/ethics-check-mcp/ethical-frameworks"><img src="https://agentmods.dev/badge/rules/r-huijts/ethics-check-mcp/ethical-frameworks/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ethical-frameworks

Your own site · 80×15
<a href="https://agentmods.dev/rules/r-huijts/ethics-check-mcp/ethical-frameworks"><img src="https://agentmods.dev/badge/rules/r-huijts/ethics-check-mcp/ethical-frameworks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 843 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00843
Opus 5 $0.00000 $0.00421
Sonnet 5 $0.00000 $0.00169
Haiku 4.5 $0.00000 $0.00084

Measured 8d ago against content hash 0c7955d9d81b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

ethical-frameworks scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/ethical-frameworks.mdc · 95 lines

How it starts

The opening of the file, as written. The whole thing — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Ethical Frameworks & Analysis Patterns

Ethical Analysis Approach

This project implements comprehensive ethical oversight using multiple established ethical frameworks. The analysis is powered by Gemini AI with structured prompts in src/tools/.

Core Ethical Frameworks Applied

1. Consequentialism

  • Focus: Outcomes and consequences of actions
  • Application: Evaluating potential harm from AI responses
  • Implementation: Risk assessment and severity levels in src/tools/ethicsCheck.ts

2. Deontological Ethics

  • Focus: Duties, rules, and rights
  • Application: Privacy rights, consent requirements, transparency obligations
  • Implementation: Category-based analysis for rule violations

3. Virtue Ethics

  • Focus: Character traits and moral virtues
  • Application: Honesty, integrity, compassion in AI interactions
  • Implementation: Guidance recommendations in src/tools/ethicsGuide.ts

4. Care Ethics

  • Focus: Relationships, care, and contextual factors
  • Application: Stakeholder consideration and vulnerable population protection
  • Implementation: Stakeholder analysis in ethical guidance

5. Justice and Fairness

  • Focus: Equity, fair treatment, and distribution of benefits/harms
  • Application: Bias detection and fairness assessment
  • Implementation: Bias and discrimination category tracking

Ethical Categories System

Defined in src/utils/storage.ts, the system tracks 9 standardized categories:

Privacy & Data Protection

  • Scope: Personal data handling, confidentiality, unauthorized access
  • Severity Levels: Low (minor privacy concerns) to Critical (major data breaches)

Bias and Discrimination

  • Scope: Unfair treatment based on protected characteristics
  • Detection: Stereotyping, exclusion, prejudicial assumptions

Misinformation

  • Scope: False, misleading, or unverified information
  • Assessment: Accuracy, source credibility, potential for harm

Read the full file on GitHub · 95 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 95 lines · 0 tokens per session scan A 0c7955d9d81b

Subscribe to this mod's changes

ethical-frameworks is a cursor rule published in the GitHub repository r-huijts/ethics-check-mcp (5 stars, last pushed 1y ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 843 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.