CI

cis-controls

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.zip

Installs 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 platform
96 charsno explicit “when” trigger
Intermediate

Key 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

You give it
Security control identifier or infrastructure resource
You get back
Implementation task or security configuration

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

  1. IG1 (Implementation Group 1) - Essential for all organizations

    • Controls 1-6: Basic cyber hygiene
  2. IG2 - Additional controls for medium-sized organizations

    • Controls 7-16: Enhanced security
  3. IG3 - Comprehensive controls for large organizations

    • Controls 17-18: Advanced/specialized

Hack23 ISMS Policy References

CIS Controls Implementation:

All Hack23 ISMS Policies: https://github.com/Hack23/ISMS-PUBLIC

CIA Platform Architecture References

References

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

AWS CLI accessCIA platform environment

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.

SkillInstallsUpdatedSafetyDifficulty
cis-controls (this skill)36moReviewIntermediate
secrets-management53moReviewAdvanced
equilateral-agents59moNo flagsIntermediate
cloud-penetration-testing36moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

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.

585

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).

564

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.

343

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.

439

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.

16

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.

15

Search skills

Search the agent skills registry