ethics_integration

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

A set of Cursor rules for adding ethical checks throughout the stages of the DEF-A framework.

In plain words
What is it for?
Use it when defining a problem, gathering information, combining ideas, applying a solution, and reviewing its effects.
Why use it?
It encourages attention to bias, different viewpoints, cultural and social context, stakeholder effects, unexpected outcomes, and ongoing improvement.

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_integration
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_integration

README.md
[![agentmods](https://agentmods.dev/badge/rules/gaebalai/cursor-def-a-rule/ethics_integration.svg)](https://agentmods.dev/rules/gaebalai/cursor-def-a-rule/ethics_integration)
Your own site
<a href="https://agentmods.dev/rules/gaebalai/cursor-def-a-rule/ethics_integration"><img src="https://agentmods.dev/badge/rules/gaebalai/cursor-def-a-rule/ethics_integration.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,919 This file is loaded in full into every session.
When invoked 1,919 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.01919 $0.01919
Opus 5 $0.00959 $0.00959
Sonnet 5 $0.00384 $0.00384
Haiku 4.5 $0.00192 $0.00192

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

Security

Grade A, and why

ethics_integration 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_integration.mdc · 271 lines

How it starts

The opening of the file, as written. The whole thing — 271 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 Integration System for DEF-A Framework

통합 요구 사항 정의

DEF-A 각 단계에서 윤리 고려 통합

defa_stage_ethics_integration:
  define_stage:
    ethics_focus:
        - 문제 설정 시 편견·전제 확인 
        - 다양한 관점 고려 
        - 문화적, 사회적 배경 고려
    integration_method:
        - 기존 Define 기능에 윤리 점검 추가 
        - 바이어스 검출 기능의 내장 
        - 포용적 문제 설정 촉진
  explore_stage:
    ethics_focus:
        - 다각 분석시 공정성 담보 
        - 편견이 없는 정보 수집 
        - 충돌하는 관점의 존중
    integration_method:
        - 분석 프로세스의 윤리적 모니터링 
        - 공정성 확보 기능 통합 
        - 다양성 중심의 분석 촉진
  formulate_stage:
    ethics_focus:
        - 통합시 포섭성 확보 
        - 다양한 가치관의 조화 
        - 공통선 추구
    integration_method:
        - 통합 프로세스의 윤리적 조정 
        - 포용적 솔루션 생성 
        - 가치 조화 기능 구현
  act_apply_stage:
    ethics_focus:
        - 런타임 시 영향 평가 
        - 이해관계자 배려 
        - 예기치 않은 결과에 대한 준비
    integration_method:
        - 실행계획의 윤리적 평가 
        - 영향 예측 기능 통합 
        - 책임있는 구현 촉진
  assess_adjust_stage:
    ethics_focus:
        - 돌이킬 때 윤리적 평가 
        - 학습의 조직적 공유 
        - 개선의 지속적인 추구
    integration_method:
        - 평가 과정의 윤리적 강화 
        - 학습 공유 기능 통합 
        - 지속적인 개선 촉진

인지 스타일별 윤리 통합

cognitive_style_ethics_integration:
  systems_mode:
    ethics_focus:
        - 시스템 사고와 인간성의 조화 
        - 복잡성 속에서 가치 보유 
        - 장기적인 관점에서의 윤리 판단
    integration_method:
        - 시스템 분석에 윤리 요소 추가 
        - 인간 가치의 통합 
        - 장기적 윤리적 영향 고려
  empathy_mode:
    ethics_focus:
        - 공감과 분석의 균형 
        - 감정적 공감과 이성적 판단의 통합 
        - 인간 관계의 질적 향상
    integration_method:
        - 공감 기능의 윤리적 강화 
        - 감정적 및 이성적 균형 조정 
        - 관계 중시 구현

통합 아티팩트

통합 버전 메인 규칙

unified_main_rules:
  core_integration:
    - 기존 DEF-A 기능의 완전 유지 
    - 윤리 시스템의 자연 통합 
    - 일관된 작동 보증
  enhanced_functionality:
    - 윤리적 고려의 자동 통합 
    - 바이어스 검출 및 수정 기능 
    - 포용적 커뮤니케이션 촉진
  seamless_experience:
    - 기존 워크플로우 유지 
    - 자연적인 윤리적 고려 
    - 사용의 용이성 향상

Read the full file on GitHub · 271 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 · 271 lines · 1,919 tokens per session scan A ee21f6946d24

Subscribe to this mod's changes

ethics_integration 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,919 tokens to every session, about $0.0096 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.