Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计通过

classification-framework-enforcement分类框架执行

Agent Skill

classification-framework-enforcement 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

196

周安装

8

GitHub Stars

219

下载量

63
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/hack23/cia --skill classification-framework-enforcement

简介

classification-framework-enforcement 定义公民情报机构平台的数据分级标准与处理要求。

  • 适用于新数据模型设计、PII 处理与日志记录等涉及敏感信息的场景。
  • 强制实施 ISMS 合规控制,确保各等级数据的存储、传输与访问安全。
  • 使用前应结合具体业务需求调整分类阈值与处置策略。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Classification Framework Enforcement Skill

Purpose

This skill provides guidance for enforcing data classification across the Citizen Intelligence Agency platform. It defines classification levels, sensitivity labeling requirements, and mandatory handling controls for each level to ensure consistent data protection aligned with ISMS requirements.

When to Use This Skill

Apply this skill when:

  • ✅ Designing new data models or database tables
  • ✅ Implementing features that process or display data
  • ✅ Reviewing code that handles user data or PII
  • ✅ Configuring logging, caching, or data export
  • ✅ Assessing data flows between system components
  • ✅ Integrating with external data sources
  • ✅ Conducting data protection impact assessments

Do NOT use for:

  • ❌ Access control implementation (use access-control-policy)
  • ❌ Encryption algorithm selection (use crypto-best-practices)
  • ❌ Incident response procedures (use incident-response)

Classification Levels

CIA Platform Data Classification

LevelLabelDescriptionExamples in CIA
Public🟢 PUBLICFreely available informationPublished Riksdag votes, public politician profiles, World Bank indicators
Internal🟡 INTERNALFor authorized users onlyAggregated analytics, risk scores, trend analysis
Confidential🟠 CONFIDENTIALRestricted access, business-sensitiveUser accounts, email addresses, session data
Restricted🔴 RESTRICTEDHighest protection, regulatory requirementsPasswords, API keys, encryption keys, GDPR-protected PII

Classification Decision Tree

New Data Element
    │
    ├─→ Is it publicly available from source?
    │   ├─→ YES → Is it aggregated/analyzed by CIA?
    │   │   ├─→ YES → 🟡 INTERNAL
    │   │   └─→ NO  → 🟢 PUBLIC
    │   └─→ NO
    │
    ├─→ Is it user-provided personal data?
    │   ├─→ YES → Is it authentication/credential data?
    │   │   ├─→ YES → 🔴 RESTRICTED
    │   │   └─→ NO  → 🟠 CONFIDENTIAL
    │   └─→ NO
    │
    ├─→ Is it a system secret (key, token, password)?
    │   ├─→ YES → 🔴 RESTRICTED
    │   └─→ NO
    │
    └─→ Is it internal analysis or derived data?
        ├─→ YES → 🟡 INTERNAL
        └─→ NO  → 🟢 PUBLIC (default to least restrictive only if certain)

Handling Controls by Classification Level

🟢 PUBLIC Data

ControlRequirement
StorageStandard database storage
TransmissionHTTPS preferred but not mandatory for read-only
LoggingCan be logged freely
CachingCan be cached without restrictions
DisplayNo restrictions on UI display
ExportCan be exported freely
RetentionFollow data source policies
BackupStandard backup procedures

🟡 INTERNAL Data

ControlRequirement
StorageStandard database with access controls
TransmissionHTTPS required
LoggingCan be logged, no sensitive aggregation details
CachingCan be cached with TTL limits
DisplayRequires authenticated session
ExportRequires authentication
Retention1 year default, review annually
BackupStandard backup with access controls

🟠 CONFIDENTIAL Data

ControlRequirement
StorageEncrypted at rest (AES-256)
TransmissionTLS 1.2+ required
LoggingNever log confidential field values
CachingIn-memory only, short TTL, no disk cache
DisplayMasked by default, reveal on explicit action
ExportRestricted, requires authorization
RetentionMinimum necessary, max 3 years
BackupEncrypted backup, restricted access
AccessRole-based, principle of least privilege

🔴 RESTRICTED Data

ControlRequirement
StorageEncrypted at rest + application-level encryption
TransmissionTLS 1.2+ with certificate validation
LoggingAbsolutely never log — not even existence
CachingNever cache
DisplayNever display in plaintext
ExportProhibited without explicit authorization
RetentionMinimum necessary, auto-expire where possible
BackupEncrypted, separate access controls
AccessStrict need-to-know, multi-factor authentication
Key ManagementHSM or AWS KMS, regular rotation

Implementation Patterns

Database Column Classification

@Entity
@Table(name = "application_user")
public class ApplicationUser {

    @Column(name = "username")
    // Classification: CONFIDENTIAL — user-provided, non-public
    private String username;

    @Column(name = "email")
    // Classification: CONFIDENTIAL — PII under GDPR
    private String email;

    @Column(name = "password_hash")
    // Classification: RESTRICTED — credential data
    private String passwordHash;
}

Logging Guard

// DO: Log classification-safe data only
log.info("Processing politician data for id: {}", politicianId);  // PUBLIC id

// DON'T: Log CONFIDENTIAL or RESTRICTED data
// log.info("User login: email={}, password={}", email, password);

// DO: Use placeholder for CONFIDENTIAL data
log.info("User action completed for user id: {}", userId);

Caching Rules

// PUBLIC/INTERNAL: Standard caching allowed
@Cacheable(value = "politicians", key = "#id")
public Politician findPoliticianById(String id) { ... }

// CONFIDENTIAL: Short TTL, in-memory only
@Cacheable(value = "userProfiles", key = "#userId",
    cacheManager = "shortLivedCacheManager")
public UserProfile findUserProfile(String userId) { ... }

// RESTRICTED: Never cache
// No @Cacheable annotation — always fetch from secure storage
public String getApiKey(String serviceId) { ... }

Data Flow Classification

CIA Platform Data Flows

External APIs (Riksdag, World Bank) ──→ Service Layer ──→ Database
    🟢 PUBLIC data                      Classification    Labeled
                                        enforcement       storage
                                            │
                                            ▼
User Browser ◄──── Vaadin UI ◄──── Service Layer
    Display           Encoding        Access control
    controls          applied         enforced

Cross-Boundary Rules

From → ToAllowed ClassificationsControls Required
External API → ServicePUBLICInput validation
Service → DatabaseAllEncryption for CONFIDENTIAL+
Database → ServiceAllAccess control check
Service → UIPUBLIC, INTERNAL, CONFIDENTIALOutput encoding, masking
Service → LogsPUBLIC, INTERNAL onlyNever log CONFIDENTIAL+
Service → CachePUBLIC, INTERNAL, Confidential (short TTL)Never cache RESTRICTED
Any → ExternalPUBLIC onlyData export review

Compliance Mapping

Classification ControlISO 27001NIST CSFGDPR
Data ClassificationA.5.12, A.5.13ID.AM-5Art. 5(1)(f)
LabelingA.5.13PR.DS-3Art. 30
Access ControlA.5.15, A.8.3PR.AC-4Art. 25
EncryptionA.8.24PR.DS-1Art. 32
Logging ControlsA.8.15DE.AE-3Art. 30
RetentionA.5.33PR.IP-6Art. 5(1)(e)
Data TransferA.5.14PR.DS-2Art. 44-49

References

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.39%
按下载量换算23

Claude

30.48%
按下载量换算19

Cursor

19.75%
按下载量换算12

Gemini CLI

8.51%
按下载量换算5

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

来源信息

继续浏览同类 Skills