It maps security tasks to CIS controls to help developers manage assets and protect data.
Install
mkdir -p .claude/skills/cis-controls && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/3695" && unzip -o skill.zip -d .claude/skills/cis-controls && rm skill.zipInstalls to .claude/skills/cis-controls
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Implement CIS Controls v8 critical security controls for effective cyber defense in CIA platformKey capabilities
- →Map CIS Controls to infrastructure tasks
- →Implement security hardening for AWS resources
- →Manage software dependency security
- →Enforce data protection and encryption
- →Configure audit logging and access control
How it works
The skill maps specific CIS Controls v8 requirements to actionable commands and code snippets for hardening infrastructure, managing assets, and securing data.
Inputs & outputs
When to use cis-controls
- →Security hardening AWS infrastructure
- →Performing compliance assessments
- →Managing software dependency security
- →Implementing encryption for data at rest
About this skill
CIS Controls v8 Implementation Skill
Purpose
Implement prioritized CIS Controls for cyber defense, focusing on high-impact security controls.
When to Use
- ✅ Security hardening activities
- ✅ Compliance assessments
- ✅ Security baseline establishment
- ✅ Vendor security reviews
Critical CIS Controls
Control 1: Inventory and Control of Enterprise Assets
# Maintain asset inventory
aws ec2 describe-instances --query 'Reservations[*].Instances[*].[InstanceId,Tags[?Key==`Name`].Value|[0],State.Name]' --output table
# Tag all resources
aws ec2 create-tags --resources i-1234567890abcdef0 --tags Key=Application,Value=CIA Key=Environment,Value=Production
Control 2: Inventory and Control of Software Assets
<!-- Track all dependencies in pom.xml -->
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>${spring.version}</version> <!-- Version via parent property -->
</dependency>
</dependencies>
Control 3: Data Protection
@Service
public class DataProtectionService {
@Autowired
private BytesEncryptor encryptor;
public void protectSensitiveData(SensitiveData data) {
// Encrypt at rest
data.setEncryptedContent(encryptor.encrypt(data.getPlainContent()));
// Classify data
data.setClassification(DataClassification.CONFIDENTIAL);
// Set retention period
data.setRetentionUntil(LocalDate.now().plusYears(7));
dataRepository.save(data);
}
}
Control 4: Secure Configuration
# application-production.yml - Secure defaults
spring:
security:
user:
name: ${ADMIN_USERNAME}
password: ${ADMIN_PASSWORD}
server:
port: 8443
ssl:
enabled: true
error:
include-stacktrace: never
Control 5: Account Management
@Service
public class AccountManagementService {
@Scheduled(cron = "0 0 2 * * *") // Daily at 2 AM
public void reviewAccounts() {
// Disable inactive accounts
List<User> inactiveUsers = userRepository.findInactiveSince(
LocalDateTime.now().minusDays(90)
);
inactiveUsers.forEach(user -> {
user.setEnabled(false);
auditLog.log("Account disabled due to inactivity: " + user.getUsername());
});
userRepository.saveAll(inactiveUsers);
}
}
Control 6: Access Control Management
@PreAuthorize("hasRole('ADMIN')")
public void deleteUser(String userId) {
// Enforce least privilege
auditLogger.logPrivilegedAction("DELETE_USER", userId);
userRepository.deleteById(userId);
}
Control 8: Audit Log Management
@Aspect
@Component
public class AuditLoggingAspect {
@Around("@annotation(Audited)")
public Object auditMethod(ProceedingJoinPoint joinPoint) throws Throwable {
String action = joinPoint.getSignature().getName();
String user = SecurityContextHolder.getContext().getAuthentication().getName();
auditLog.info("Action: {}, User: {}, Timestamp: {}",
action, user, Instant.now());
return joinPoint.proceed();
}
}
Control 16: Application Software Security
# Security scanning in CI/CD
mvn org.owasp:dependency-check-maven:check
mvn sonar:sonar -Dsonar.qualitygate.wait=true
Implementation Priority
-
IG1 (Implementation Group 1) - Essential for all organizations
- Controls 1-6: Basic cyber hygiene
-
IG2 - Additional controls for medium-sized organizations
- Controls 7-16: Enhanced security
-
IG3 - Comprehensive controls for large organizations
- Controls 17-18: Advanced/specialized
Hack23 ISMS Policy References
CIS Controls Implementation:
- Information Security Policy - Governance (14.1-14.9)
- Asset Register - Control 1 (Asset Management)
- Data Classification Policy - Control 3 (Data Protection)
- Access Control Policy - Control 5-6 (Access Control)
- Vulnerability Management - Control 7 (Vulnerability Management)
- Secure Development Policy - Control 16 (Application Security)
- Incident Response Plan - Control 17 (Incident Response)
- Backup Recovery Policy - Control 11 (Data Recovery)
- Change Management - Control 8 (Audit Logging)
- Risk Assessment Methodology - Control 4 (Secure Configuration)
All Hack23 ISMS Policies: https://github.com/Hack23/ISMS-PUBLIC
CIA Platform Architecture References
- Security Architecture: CIA SECURITY_ARCHITECTURE.md - CIS Controls implementation
- Architecture: CIA ARCHITECTURE.md - System design
References
- CIS Controls v8.1: https://www.cisecurity.org/controls/v8
- CIS Implementation Guide: https://www.cisecurity.org/controls/cis-controls-implementation-guide
- ISO 27001:2022: https://www.iso.org/standard/27001
- NIST CSF 2.0: https://www.nist.gov/cyberframework
When not to use it
- →When the organization requires controls outside of CIS v8
- →When the environment is not compatible with the CIA platform architecture
Prerequisites
Limitations
- →Limited to CIS Controls v8 framework
- →Requires manual integration for non-CIA platform environments
How it compares
Unlike generic security checklists, this skill provides direct implementation code and policy references tailored to the CIA platform architecture.
Compared to similar skills
cis-controls side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| cis-controls (this skill) | 3 | 6mo | Review | Intermediate |
| secrets-management | 5 | 3mo | Review | Advanced |
| equilateral-agents | 5 | 9mo | No flags | Intermediate |
| cloud-penetration-testing | 3 | 6mo | Review | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by Hack23
View all by Hack23 →You might also like
secrets-management
wshobson
Implement secure secrets management for CI/CD pipelines using Vault, AWS Secrets Manager, or native platform solutions. Use when handling sensitive credentials, rotating secrets, or securing CI/CD environments.
equilateral-agents
Equilateral-AI
22 production-ready AI agents with database-driven orchestration for security reviews, code quality analysis, deployment validation, infrastructure checks, and compliance. Auto-activates for security concerns, deployment tasks, code reviews, quality checks, and compliance questions. Includes upgrade paths to enterprise features (GDPR, HIPAA, multi-account AWS, ML-based optimization).
cloud-penetration-testing
davila7
This skill should be used when the user asks to "perform cloud penetration testing", "assess Azure or AWS or GCP security", "enumerate cloud resources", "exploit cloud misconfigurations", "test O365 security", "extract secrets from cloud environments", or "audit cloud infrastructure". It provides comprehensive techniques for security assessment across major cloud platforms.
aws-penetration-testing
davila7
This skill should be used when the user asks to "pentest AWS", "test AWS security", "enumerate IAM", "exploit cloud infrastructure", "AWS privilege escalation", "S3 bucket testing", "metadata SSRF", "Lambda exploitation", or needs guidance on Amazon Web Services security assessment.
secrets-manager
itsmostafa
AWS Secrets Manager for secure secret storage and rotation. Use when storing credentials, configuring automatic rotation, managing secret versions, retrieving secrets in applications, or integrating with RDS.
iam
itsmostafa
AWS Identity and Access Management for users, roles, policies, and permissions. Use when creating IAM policies, configuring cross-account access, setting up service roles, troubleshooting permission errors, or managing access control.