Token导航 LogoToken导航TokenDH.com
开发只读github未标认证来源可访问许可证需确认审计通过

ai-governanceAI 治理

Agent Skill

ai-governance 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

288

周安装

12

GitHub Stars

7

下载量

96
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ai-governance(AI 治理)
来源仓库:https://github.com/hack23/riksdagsmonitor
仓库路径:skills/ai-governance
安装命令:
npx skills add https://github.com/hack23/riksdagsmonitor --skill ai-governance
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/hack23/riksdagsmonitor --skill ai-governance

简介

AI 治理技能处理 GitHub 协作信息,支持仓库状态与代码变更跟踪。

  • 适用于围绕 Issue、Pull Request 和分支管理的信息组织与整理任务。
  • 通过 npx skills add 命令安装,需结合原始文档了解具体功能实现。
  • 使用前应确认权限和操作类型,避免触发不必要的网络请求或文件修改。
  • 建议在实际项目中验证输出准确性,确保符合合规要求与数据安全规范。

SKILL.md

AI Governance Skill

Purpose

This skill provides governance guidelines for AI usage in the Riksdagsmonitor platform, including GitHub Copilot agent security, EU AI Act compliance, and responsible AI practices. It ensures AI-assisted development follows Hack23 ISMS policies and regulatory requirements.

When to Use This Skill

Apply this skill when:

  • ✅ Configuring or updating GitHub Copilot agent workflows
  • ✅ Integrating AI/ML models for political data analysis
  • ✅ Reviewing AI-generated code before merge
  • ✅ Assessing AI risk classification under EU AI Act
  • ✅ Implementing prompt engineering for data analysis
  • ✅ Auditing AI agent outputs for bias or accuracy

Do NOT use for:

  • ❌ Standard code reviews without AI involvement
  • ❌ Manual data analysis without AI components
  • ❌ Infrastructure changes unrelated to AI services

EU AI Act Classification

Risk Assessment for CIA Platform

CIA Platform AI Usage Assessment
│
├─→ Political Data Analysis (NLP, trend detection)
│   ├─ Risk Level: LIMITED RISK (Article 52)
│   ├─ Requirement: Transparency obligations
│   └─ Action: Disclose AI-generated analysis to users
│
├─→ GitHub Copilot Code Generation
│   ├─ Risk Level: MINIMAL RISK
│   ├─ Requirement: Voluntary codes of conduct
│   └─ Action: Code review before merge, security scanning
│
├─→ Political Risk Scoring
│   ├─ Risk Level: HIGH RISK (Annex III, Category 8)
│   ├─ Requirement: Conformity assessment, human oversight
│   └─ Action: Human review of all risk scores, audit trail
│
└─→ Voter Behavior Prediction
    ├─ Risk Level: HIGH RISK
    ├─ Requirement: Transparency, fairness, accountability
    └─ Action: Bias testing, explainability, regular audits

Compliance Checklist

  • ✅ Document AI system purpose and intended use
  • ✅ Classify AI risk level per EU AI Act categories
  • ✅ Implement human oversight for high-risk AI outputs
  • ✅ Maintain audit trail of AI-generated decisions
  • ✅ Conduct bias and fairness assessments
  • ✅ Provide transparency notices for AI-generated content
  • ✅ Implement data governance for training datasets

OWASP LLM Top 10 for CIA Platform

LLM01: Prompt Injection

Risk: Malicious input manipulating Copilot agent behavior.

Mitigation:

# .github/copilot-instructions.md safeguards
- Validate all agent outputs before committing
- Never allow agents to modify security configurations
- Restrict agent file access to source code only
- Review agent-generated code with CodeQL scanning

LLM02: Insecure Output Handling

Risk: AI-generated code containing vulnerabilities.

Mitigation:

  • Run CodeQL on all AI-generated code changes
  • Apply OWASP secure code review checklist
  • Validate AI outputs against coding standards
  • Never trust AI-generated SQL or security logic without review

LLM06: Sensitive Information Disclosure

Risk: AI agents leaking secrets or sensitive political data.

Mitigation:

// Never pass sensitive data to AI prompts
// ✅ SECURE: Generic analysis request
String prompt = "Analyze voting patterns for committee " + committeeId;

// ❌ INSECURE: Including PII in prompts
String prompt = "Analyze voting for " + politicianName + " SSN: " + ssn;

LLM09: Overreliance

Risk: Blindly trusting AI-generated political analysis.

Mitigation:

  • All AI analysis must include confidence scores
  • Human analyst review required for published insights
  • Cross-validate AI outputs with official data sources
  • Label AI-generated content clearly in the UI

GitHub Copilot Agent Security

Agent Configuration Best Practices

# Secure agent workflow permissions
permissions:
  contents: read      # Read-only by default
  pull-requests: write # Only for PR creation
  issues: write       # Only for issue management
  actions: read       # Read workflow status

# Never grant:
# - admin permissions
# - security_events write
# - secrets access

Agent Output Validation

Agent Output Validation Pipeline
│
├─ Step 1: Syntax validation (compile check)
├─ Step 2: Security scan (CodeQL, OWASP)
├─ Step 3: Test execution (unit + integration)
├─ Step 4: Code review (human or Copilot review)
└─ Step 5: Merge approval (maintainer sign-off)

Responsible AI Practices

Bias Prevention in Political Analysis

  • Test analysis algorithms across all 8 Swedish parties equally
  • Validate data representation for minority viewpoints
  • Audit sentiment analysis for political neutrality
  • Document model limitations and known biases

Transparency Requirements

  • Label all AI-generated content in the Riksdagsmonitor platform UI
  • Provide methodology documentation for AI analysis
  • Enable users to access raw data behind AI insights
  • Maintain changelog of AI model updates

ISMS Alignment

ControlRequirementImplementation
ISO 27001 A.5.1Information security policiesAI governance policy
ISO 27001 A.8.1Asset managementAI model inventory
NIST CSF GV.OCOrganizational contextAI risk assessment
CIS Control 16Application securityAI code review gates
GDPR Art. 22Automated decision-makingHuman oversight for scoring

References

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.42%
按下载量换算35

Claude

30.93%
按下载量换算30

Cursor

17.43%
按下载量换算17

Gemini CLI

9.46%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills