Ai ethics

From aiskillstore/marketplace · View interactive version

Ai ethics is an AI agent skill from the GitHub repository aiskillstore/marketplace. Responsible AI development and ethical considerations. Use when evaluating AI bias, implementing fairness measures, conducting ethical assessments, or ensuring AI systems align with human values.

How to use this skill

Skill file

AI Ethics

Comprehensive AI ethics skill covering bias detection, fairness assessment, responsible AI development, and regulatory compliance.

When to Use This Skill

Ethical Principles

Core AI Ethics Principles

| Principle | Description |

|-----------|-------------|

| Fairness | AI should not discriminate against individuals or groups |

| Transparency | AI decisions should be explainable |

| Privacy | Personal data must be protected |

| Accountability | Clear responsibility for AI outcomes |

| Safety | AI should not cause harm |

| Human Agency | Humans should maintain control |

Stakeholder Considerations

Bias Detection & Mitigation

Types of AI Bias

| Bias Type | Source | Example |

|-----------|--------|---------|

| Historical | Training data reflects past discrimination | Hiring models favoring male candidates |

| Representation | Underrepresented groups in training data | Face recognition failing on darker skin |

| Measurement | Proxy variables for protected attributes | ZIP code correlating with race |

| Aggregation | One model for diverse populations | Medical model trained only on one ethnicity |

| Evaluation | Biased evaluation metrics | Accuracy hiding disparate impact |

Fairness Metrics

Group Fairness:

Individual Fairness:

Bias Mitigation Strategies

Pre-processing:

In-processing:

Post-processing:

Explainability & Transparency

Explanation Types

| Type | Audience | Purpose |

|------|----------|---------|

| Global | Developers | Understand overall model behavior |

| Local | End users | Explain specific decisions |

| Counterfactual | Affected parties | What would need to change for different outcome |

Explainability Techniques

Model Cards

Document for each model:

AI Governance

AI Risk Assessment

Risk Categories (EU AI Act):

| Risk Level | Examples | Requirements |

|------------|----------|--------------|

| Unacceptable | Social scoring, manipulation | Prohibited |

| High | Healthcare, employment, credit | Strict requirements |

| Limited | Chatbots | Transparency obligations |

| Minimal | Spam filters | No requirements |

Governance Framework

  1. Policy: Define ethical principles and boundaries
  2. Process: Review and approval workflows
  3. People: Roles and responsibilities (ethics board)
  4. Technology: Tools for monitoring and enforcement

Documentation Requirements

Human Oversight

Human-in-the-Loop Patterns

| Pattern | Use Case | Example |

|---------|----------|---------|

| Human-in-the-Loop | High-stakes decisions | Medical diagnosis confirmation |

| Human-on-the-Loop | Monitoring with intervention | Content moderation escalation |

| Human-out-of-Loop | Low-risk, high-volume | Spam filtering |

Designing for Human Control

Privacy Considerations

Data Minimization

Privacy-Preserving Techniques

Environmental Impact

Considerations

Mitigation

Reference Files

Integration with Other Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.