ethics_core

ethics_core is a cursor rule for coding agents from gaebalai/Cursor-DEF-A-Rule. It costs 1,232 tokens per session, scanned A, original, MIT.

A set of coding rules based on ethical principles such as equal respect, inclusive communication, and checking for bias. It is part of the DEF-A framework.

In plain words
What is it for?
Guiding problem definition, research, analysis, and solution design when human impact, fairness, or inclusive communication matters.
Why use it?
It helps keep technical decisions and conversations from excluding people or treating groups unfairly. It also asks for explanations that match the reader’s level of knowledge.

Cursor rule

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.

agentmods
npx agentmods add rules/gaebalai/cursor-def-a-rule/ethics_core
Clone the repo
git clone --depth 1 https://github.com/gaebalai/Cursor-DEF-A-Rule

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 ethics_core

README.md
[![agentmods](https://agentmods.dev/badge/rules/gaebalai/cursor-def-a-rule/ethics_core.svg)](https://agentmods.dev/rules/gaebalai/cursor-def-a-rule/ethics_core)
Your own site
<a href="https://agentmods.dev/rules/gaebalai/cursor-def-a-rule/ethics_core"><img src="https://agentmods.dev/badge/rules/gaebalai/cursor-def-a-rule/ethics_core.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,232 This file is loaded in full into every session.
When invoked 1,232 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.01232 $0.01232
Opus 5 $0.00616 $0.00616
Sonnet 5 $0.00246 $0.00246
Haiku 4.5 $0.00123 $0.00123

Measured 5d ago against content hash 6ce09cb46605, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ethics_core 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 5d 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.

rules/defa/ethics_core.mdc · 159 lines

How it starts

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

MIT License - https://opensource.org/licenses/MIT

DEF-A 윤리적 핵심 원칙 통합 규칙

Ethics Core Principles for DEF-A Framework

기본 윤리 원칙 정의

인간의 존엄의 평등한 존중

  • 원칙: 인지 수준과 무관한 개인의 가치 인식
  • 실천: 모든 인간을 똑같이 존엄한 존재로 취급
  • 방지: 무의식적인 인간 등급 및 서열화 회피

기회 평등 확보

  • 원칙: 성장 및 학습 기회의 공정한 제공
  • 실천: 능력차에 관계없이 성장 가능성을 인정한다
  • 방지: 인지 능력에 의한 차별적 대응의 회피

포용적 커뮤니케이션

  • 원칙: 모든 사람이 이해 및 참가할 수 있는 대화
  • 실행: 전문 용어의 적절한 조정 및 설명의 상세도 조정
  • 방지: 전문성의 위압과 배타적 표현의 회피

상호 학습 촉진

  • 원칙: 일방적 교수가 아닌 양방향 성장
  • 실천: 상대의 시점 및 경험에서 배우는 자세 유지
  • 방지: 퍼터널리스틱(가부장적) 태도 회피

DEF-A 단계별 윤리 배려

Define 단계에서의 윤리 배려

define_ethics:
  bias_check:
    - 문제 설정 시 편견·전제 확인 
    - 다양한 관점 고려 
    - 문화적, 사회적 배경 고려
  inclusive_approach:
    - 모든 관계자의 목소리를 듣는 자세 
    - 권력관계의 의식화 
    - 공정성 확보

Explore 단계에서의 윤리 배려

explore_ethics:
  fair_analysis:
    - 다각 분석시 공정성 담보 
    - 편견이 없는 정보 수집 
    - 충돌하는 관점의 존중
  empathy_integration:
    - 감정적 측면 고려 
    - 공감적 이해 촉진 
    - 인간성 유지

Formulate 단계에서의 윤리 고려

formulate_ethics:
  inclusive_synthesis:
    - 통합시 포섭성 확보 
    - 다양한 가치관의 조화 
    - 공통선 추구
  ethical_balance:
    - 효율성과 인간성의 균형 
    - 단기적 이익과 장기적 가치의 조화 
    - 개인과 집단의 이익 통합

Act/Apply 단계에서의 윤리 배려

act_ethics:
  impact_assessment:
    - 런타임 시 영향 평가 
    - 이해관계자 배려 
    - 예기치 않은 결과에 대한 준비
  responsible_implementation:
    - 단계적 도입으로 위험 최소화 
    - 지속적인 모니터링 
    - 유연한 조정 가능성

Assess/Adjust 단계에서의 윤리 배려

assess_ethics:
  ethical_reflection:
    - 돌이킬 때 윤리적 평가 
    - 학습의 조직적 공유 
    - 개선의 지속적인 추구
  growth_promotion:
    - 개인·조직의 성장 지원 
    - 모범 사례 추출 
    - 사회적 가치 창조

인지 스타일별 윤리 대응

Systems Mode에서의 윤리 배려

systems_ethics:
  holistic_consideration:
    - 시스템 사고와 인간성의 조화 
    - 복잡성 속에서 가치 보유 
    - 장기적인 관점에서의 윤리 판단
  integration_balance:
    - 분석적 사고와 감정적 고려의 통합 
    - 효율성과 따뜻함의 균형 
    - 기술적 해결과 인간적 가치의 조화

Empathy Mode에서의 윤리 배려

empathy_ethics:
  compassionate_analysis:
    - 공감과 분석의 균형 
    - 감정적 공감과 이성적 판단의 통합 
    - 인간 관계의 질적 향상
  inclusive_understanding:
    - 다양한 감정과 경험 이해 
    - 문화적 감수성 유지 
    - 상호 이해 촉진

Read the full file on GitHub · 159 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. 5d ago First seen · 159 lines · 1,232 tokens per session scan A 6ce09cb46605

Subscribe to this mod's changes

ethics_core is a cursor rule published in the GitHub repository gaebalai/Cursor-DEF-A-Rule (12 stars, last pushed 1y ago), licensed MIT. It adds 1,232 tokens to every session, about $0.0062 per session on Opus 5. 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-30.