hack23/cia/classification-policy
Claude Code and agent skill by hack23/cia
- community
Checking that the SKILL.md file is still in the repository.
Risk-based data and asset classification framework: PUBLIC, INTERNAL, CONFIDENTIAL, RESTRICTED aligned with ISO 27001 A.5.12 and CIA triad
Install
npx vskill@latest install hack23/cia/classification-policySKILL.md
The same SKILL.md was published earlier as hack23/cia/classification-policy.
Data Classification Policy Skill
Purpose
This skill provides systematic guidance for implementing risk-based data and asset classification within the CIA platform, ensuring proper protection controls align with information sensitivity, business impact, and regulatory requirements per ISO 27001 A.5.12, A.5.13, and A.8.10.
When to Use This Skill
Apply this skill when:
- ✅ Designing data models with sensitive information (personal data, political records)
- ✅ Implementing access controls for classified information
- ✅ Defining encryption requirements for data at rest and in transit
- ✅ Creating data handling procedures (storage, transmission, disposal)
- ✅ Conducting privacy impact assessments (GDPR compliance)
- ✅ Establishing retention and disposal policies
- ✅ Labeling data assets in documentation or code
- ✅ Configuring security controls for different sensitivity levels
Do NOT skip for:
- ❌ "Internal-only" systems (still require classification)
- ❌ Development/test data (may contain production data copies)
- ❌ Temporary data stores (still subject to classification)
- ❌ Public APIs (may expose classified data)
4-Tier Classification Model
Classification Levels Overview
🔴 RESTRICTED - Extreme Confidentiality
Definition: Information requiring maximum protection due to severe business, legal, or regulatory consequences if disclosed.
CIA Triad Mapping:
- Confidentiality:  - Unauthorized disclosure causes catastrophic damage
- Integrity:  - Data tampering creates legal liability
- Availability:  - Authorized access required for compliance
Examples in CIA Platform:
- Encryption keys and cryptographic secrets
- Database credentials and connection strings
- OAuth tokens and API keys
- Personal Identity Numbers (Swedish personnummer)
- Authentication credentials and password hashes
Mandatory Security Controls:
| Control Type | Requirement | Implementation | |
|---|---|---|---|
| Encryption at Rest | AES-256 or stronger | AWS KMS, encrypted EBS volumes | |
| Encryption in Transit | TLS 1.3 minimum | HTTPS only, HSTS enabled | |
| Access Control | Zero-trust, MFA required | RBAC, least privilege principle | |
| Audit Logging | All access logged with retention | CloudWatch Logs, 1-year retention | |
| Labeling | Explicit marking required | Code comments, doc headers | |
| Retention | Minimum required, immediate disposal | Automated purging after expiry |
Java Implementation Example:
Handling Requirements:
- ❌ NEVER store in source code or version control
- ❌ NEVER log to application logs or console
- ❌ NEVER transmit over unencrypted channels
- ❌ NEVER store in plaintext configuration files
- ✅ Store in AWS Secrets Manager or Parameter Store
- ✅ Inject via environment variables at runtime
- ✅ Rotate regularly (minimum quarterly)
- ✅ Immediate revocation when compromised
🟠 CONFIDENTIAL - High Confidentiality
Definition: Business-sensitive information with significant financial, operational, or competitive impact if disclosed.
CIA Triad Mapping:
- Confidentiality:  - Disclosure causes major business harm
- Integrity:  - Unauthorized modification creates business risk
- Availability:  - Business continuity depends on access
Examples in CIA Platform:
- Political party financial records (detailed budget data)
- Ministerial expense reports (before public release)
- Internal security vulnerability assessments
- Business strategy and competitive analysis
- System architecture diagrams with security details
Mandatory Security Controls:
| Control Type | Requirement | Implementation | |
|---|---|---|---|
| Encryption at Rest | AES-256 recommended | Database encryption, encrypted backups | |
| Encryption in Transit | TLS 1.2 minimum | HTTPS, secure API calls | |
| Access Control | RBAC with quarterly reviews | Spring Security, user roles | |
| Audit Logging | Access events logged | Application logs, 90-day retention | |
| Labeling | Classification marking recommended | Document headers, metadata | |
| Retention | Business-driven retention | 7 years for financial data |
Java Implementation Example:
Handling Requirements:
- ❌ NEVER share with unauthorized external parties
- ❌ NEVER store on unencrypted removable media
- ❌ NEVER transmit via unencrypted email
- ✅ Encrypt before email transmission (if required)
- ✅ Access requires authentication and authorization
- ✅ Mark documents with "CONFIDENTIAL" header
- ✅ Securely dispose when no longer needed
🟡 INTERNAL - Moderate Confidentiality
Definition: Information intended for internal use only, with moderate business impact if disclosed externally.
CIA Triad Mapping:
- Confidentiality:  - External disclosure creates moderate risk
- Integrity:  - Modification affects business operations
- Availability:  - Business operations continue with delays
Examples in CIA Platform:
- Internal project planning documents
- System performance metrics and analytics
- Employee directory and contact information
- Internal training materials
- Aggregated usage statistics (anonymized)
Security Controls:
| Control Type | Requirement | Implementation | |
|---|---|---|---|
| Encryption at Rest | Recommended for sensitive subsets | Database encryption optional | |
| Encryption in Transit | TLS 1.2 for external access | HTTPS for web interfaces | |
| Access Control | Authentication required | Standard user accounts | |
| Audit Logging | Significant events logged | Basic application logs | |
| Labeling | Classification marking optional | File metadata preferred | |
| Retention | Standard business retention | 3 years typical |
Java Implementation Example:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.github/skills/classification-policy/SKILL.md
Popularity
- Repository stars
- 235
- Repository forks
- 56
- 7-day trend score
- 27
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/hack23/cia/classification-policy)