# Add to your Claude Code skills
git clone https://github.com/Azarisa0678/cybersecops_socGuides for using ai agents skills like cybersecops_soc.
cybersecops_soc is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by Azarisa0678. skills to use for Claude and others. It has 1 GitHub star.
cybersecops_soc's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/Azarisa0678/cybersecops_soc" and add it to your Claude Code skills directory (see the Installation section above). cybersecops_soc ships a SKILL.md manifest, so compatible agents can discover and load it automatically.
cybersecops_soc is primarily written in Python. It is open-source under Azarisa0678 on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh cybersecops_soc against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
name: cybersec-ops description: > Comprehensive DevSecOps, SOC, and offensive security operations skill. Use when the user mentions: security operations, SOC, threat hunting, incident response, vulnerability assessment, penetration testing, red team, blue team, purple team, DevSecOps, security automation, security scanning, SIEM, log analysis, forensics, malware analysis, network security, cloud security, identity security, compliance scanning, security hardening, security audit, or any offensive/defensive security scripting in PowerShell or Python. Also triggers for security pipeline creation, security-as-code, IaC security, container security, or Kubernetes security.
This skill covers: PowerShell offensive scripting (recon, enumeration, exploitation frameworks), Python security ecosystem (Scapy, Impacket, BloodHound, Volatility, YARA, MISP, TheHive), DevSecOps pipelines (SAST/DAST/IaC scanning), SOC workflows (SIEM queries, alert triage, playbooks), and hybrid automation combining both languages.
This skill enables comprehensive security operations across the full spectrum:
Security operations require language-agnostic thinking. PowerShell dominates Windows/Active Directory environments. Python dominates Linux/cloud/tooling ecosystems. This skill treats them as complementary forces, not competitors.
| Scenario | Primary Language | Secondary |
|---|---|---|
| Active Directory / Windows domain | PowerShell | Python (for analysis) |
| Cloud-native (AWS/Azure/GCP) | Python | PowerShell (for Azure AD) |
| Network scanning / packet crafting | Python (Scapy) | PowerShell (for host enum) |
| Malware analysis / forensics | Python | PowerShell (for live response) |
| SIEM automation / SOAR | Python | PowerShell (for endpoint response) |
| Container/K8s security | Python | Bash |
| Compliance / audit scripts | PowerShell (Windows) | Python (cross-platform) |
references/powershell-offensive.md: PowerShell offensive scripting deep-divereferences/python-security-ecosystem.md: Python security libraries and frameworksreferences/devsecops-pipelines.md: CI/CD security integration patternsreferences/soc-workflows.md: SOC analyst workflows and playbooksreferences/hybrid-automation.md: Python↔PowerShell interoperability patternsscripts/: Executable security utilities and templatesDecision: Use Python when you need cross-platform network scanning, packet crafting, or service enumeration.
Core Libraries:
scapy - Packet crafting and network scanningpython-nmap - Nmap integrationsocket / asyncio - Custom port scannersrequests / httpx - Web reconnaissancednspython - DNS enumerationshodan / censys - External attack surfaceWorkflow:
Example Pattern:
# Multi-threaded port scanner with service banner grabbing
import asyncio
import socket
async def scan_port(ip, port):
try:
reader, writer = await asyncio.wait_for(
asyncio.open_connection(ip, port), timeout=3
)
writer.write(b"HEAD / HTTP/1.0\r\n\r\n")
await writer.drain()
banner = await asyncio.wait_for(reader.read(1024), timeout=2)
writer.close()
return {"port": port, "banner": banner.decode(errors="ignore").strip()}
except:
return None
Decision: Use PowerShell when operating in Windows/AD environments. Nothing beats native AD module integration.
Core Modules:
ActiveDirectory - Native AD queriesPowerView / SharpView - Offensive AD enumerationBloodHound - AD attack path analysisRSAT - Remote Server Administration ToolsWorkflow:
Example Pattern:
# Domain enumeration with error handling and output formatting
function Get-DomainRecon {
param([string]$Domain)
$results = @{
Users = Get-ADUser -Filter * -Properties LastLogonDate, PasswordLastSet
Groups = Get-ADGroup -Filter * | Where-Object { $_.GroupCategory -eq "Security" }
Computers = Get-ADComputer -Filter * -Properties OperatingSystem
Trusts = Get-ADTrust -Filter *
GPOs = Get-GPO -All | Select DisplayName, GpoStatus
}
$results | ConvertTo-Json -Depth 5 | Out-File "ad_recon_$Domain.json"
return $results
}
Decision: Use Python for cloud API enumeration. AWS Boto3, Azure SDK, GCP client libraries are Python-native.
Core Libraries:
boto3 / botocore - AWS enumerationazure-identity / azure-mgmt-* - Azure enumerationgoogle-cloud-* - GCP enumerationpacu - AWS exploitation frameworkcloudmapper / cartography - Cloud visualizationHybrid Approach: Use Python for scanner orchestration, PowerShell for Windows-specific validation.
Python Scanners:
openvas / gvm-tools - OpenVAS integrationnessrest - Nessus APInuclei - Fast vulnerability scanner (Go-based, Python wrapper)wapiti - Web application scannersqlmap - SQL injection automationPowerShell Validation:
Python Ecosystem:
impacket - SMB, MSRPC, LDAP protocol implementationspwntools - CTF/exploit developmentroutersploit - IoT/embedded exploitationbeef - Browser exploitation frameworkPowerShell Ecosystem:
Empire / Starkiller - Post-exploitation frameworkPowerSploit - PowerShell offensive modulesNishang - Offensive PowerShell for red teamingInvoke-Obfuscation - PowerShell obfuscationCritical Rule: Only generate exploitation code for authorized penetration testing with proper scope documentation. Always include:
# AUTHORIZATION REQUIRED
# Scope: [defined scope]
# Authorized by: [entity]
# Date: [date]
# This code is for authorized security testing only
Decision: Language depends on SIEM platform.
| SIEM | Query Language | Python Role |
|---|---|---|
| Splunk | SPL | API automation, alert management |
| Elastic | KQL/ES | QL |
| Sentinel | KQL | Azure SDK automation |
| QRadar | AQL | API automation |
| Chronicle | YARA-L | Python rule generation |
| Sigma | YAML | Python conversion to SIEM dialects |
Sigma Rule Development (Python-First):
# Sigma rule generation and conversion
from sigma.rule import SigmaRule
from sigma.backends.splunk import SplunkBackend
from sigma.backends.elasticsearch import ElasticsearchBackend
# Convert Sigma to multiple SIEM formats
rule = SigmaRule.from_yaml("""
title: Suspicious PowerShell Download
logsource:
product: windows
service: powershell
detection:
selection:
EventID: 4104
ScriptBlockText|contains:
- 'Invoke-Expression'
- 'IEX'
- 'DownloadString'
condition: selection
""")
Python for Data Analysis:
pandas / polars - Log analysis at scalejupyter - Interactive hunting notebooksyara-python - Memory/file huntingvolatility3 - Memory forensicsmsticpy - Microsoft threat intelligencePowerShell for Live Response:
Get-WinEvent - Windows event log analysisGet-Process / Get-WmiObject - Process/memory inspectionGet-ChildItem with hashing - File integrity monitoringInvoke-WmiMethod - Remote responseHunting Workflow:
Python Automation:
plaso / log2timeline)PowerShell Response:
Pipeline Stages:
# Example GitLab CI security pipeline
stages:
- secrets-scan
- sast
- dependency-check
- container-scan
- dast
- iac-scan
- compliance
secrets-scan:
stage: secrets-scan
script:
- trufflehog filesystem . --json
artifacts:
reports:
sast: secrets-report.json
sast:
stage: sast
script:
- bandit -r . -f json -o bandit-report.json # Python
- semgrep --config=auto --json --output=semgrep-report.json
artifacts:
reports:
sast: semgrep-report.json
dependency-check:
stage: dependency-check
script:
- safety check --json --output safety-report.json # Python
- pip-audit --format=json --output=pip-audit-report.json
artifacts:
reports:
dependency_scanning: safety-report.json
container-scan:
stage: container-scan
script:
- trivy image --format json --output trivy-report.json $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
artifacts:
reports:
container_scanning: trivy-report.json
iac-scan:
stage: iac-scan
script:
- checkov -d . --output json --output-file checkov-report.json
- tfsec . --format json --out tfsec-report.json
artifacts:
reports:
sast: checkov-report.json
SAST (Static Analysis):
bandit - Python security lintersemgrep - Multi-language pattern matchingpylint-security - Security-focused pylint extensionssafety / pip-audit - Dependency vulnerability scanningDAST (Dynamic Analysis):
zap-api-scan - OWASP ZAP automationburp-suite-enterprise - Burp automationwapiti - Web app vulnerability scannerContainer Security:
trivy - Container image vulnerability scannergrype - Container vulnerability scanner (Python wrapper)docker-bench-security - CIS Docker benchmarkkube-bench / kube-hunter - Kubernetes securityIaC Security:
checkov - Multi-framework IaC scannertfsec - Terraform security scannercfn-lint / cfn-nag - CloudFormation securityansible-lint - Ansible securityWindows-Specific Security:
Pester - Security testing framework for PowerShellSecurityPolicyDSC - Desired State Configuration for security baselinesAuditPolicyDSC - Audit policy managementWindowsDefender - Defender configuration and scanningExample: Security Baseline Validation:
# Validate CIS Windows 10/11 benchmarks
$benchmarks = @{
"PasswordPolicy" = {
$policy = Get-ADDefaultDomainPasswordPolicy
$policy.MinPasswordLength -ge 14
}
"AuditPolicy" = {
$audit = Get-AuditPolicy -SubCategory "Logon"
$audit.Setting -eq "Success and Failure"
}
"FirewallEnabled" = {
(Get-NetFirewallProfile -Profile Domain).Enabled -eq "True"
}
}
$results = foreach ($benchmark in $benchmarks.GetEnumerator()) {
[PSCustomObject]@{
Benchmark = $benchmark.Key
Compliant = & $benchmark.Value
Severity = "High"
}
}
$results | Export-Csv -Path "security_baseline.csv" -NoTypeInformation
Pattern A: Python Orchestrates PowerShell:
import subprocess
import json
# Run PowerShell from Python, parse JSON output
result = subprocess.run(
["powershell", "-Command",
"Get-Process | Select-Object Name, Id | ConvertTo-Json"],
capture_output=True, text=True
)
processes = json.loads(result.stdout)
# Analyze in Python ecosystem
Pattern B: PowerShell Calls Python:
# Run Python analysis from PowerShell
$pythonScript = @"
import json
import sys
from datetime import datetime
data = json.load(sys.stdin)
# Process data
result = {"analyzed": len(data), "timestamp": datetime.now().isoformat()}
print(json.dumps(result))
"@
$jsonData | python -c $pythonScript | ConvertFrom-Json
Pattern C: REST API Bridge:
Invoke-RestMethod consuming the APIUniversal Reconnaissance:
#!/usr/bin/env python3
"""Cross-platform host reconnaissance"""
import platform
import subprocess
import json
import sys
def windows_recon():
"""PowerShell-based Windows reconnaissance"""
ps_commands = {
"system_info": "Get-ComputerInfo | Select WindowsVersion, TotalPhysicalMemory, CsProcessors",
"users": "Get-LocalUser | Select Name, Enabled, LastLogon",
"services": "Get-Service | Where-Object {$_.Status -eq 'Running'} | Select Name, DisplayName",
"network": "Get-NetTCPConnection | Select LocalAddress, LocalPort, RemoteAddress, State"
}
results = {}
for key, cmd in ps_commands.items():
result = subprocess.run(
["powershell", "-Command", cmd + " | ConvertTo-Json"],
capture_output=True, text=True
)
results[key] = json.loads(result.stdout) if result.returncode == 0 else None
return results
def linux_recon():
"""Native Linux reconnaissance"""
commands = {
"system_info": "uname -a && cat /etc/os-release",
"users": "cat /etc/passwd | cut -d: -f1",
"services": "systemctl list-units --type=service --state=running",
"network": "ss -tuln"
}
results = {}
for key, cmd in commands.items():
result = subprocess.run(cmd, shell=True, capture_output=True, text=True)
results[key] = result.stdout.split("\n") if result.returncode == 0 else None
return results
def main():
os_type = platform.system()
if os_type == "Windows":
data = windows_recon()
else:
data = linux_recon()
print(json.dumps(data, indent=2))
# Save for analysis
with open(f"recon_{os_type.lower()}.json", "w") as f:
json.dump(data, f, indent=2)
if __name__ == "__main__":
main()
Python-First (Volatility3):
import volatility3.framework.plugins.linux.pslist
import volatility3.framework.plugins.windows.pslist
from volatility3.framework import contexts
# Analyze memory dump for malicious processes
context = contexts.Context()
context.config["automagic.LayerStacker.single_location"] = "file:///path/to/memory.dmp"
# Windows process list
plugin = volatility3.framework.plugins.windows.pslist.PsList(context)
for process in plugin.run():
print(f"PID: {process.UniqueProcessId}, Name: {process.ImageFileName}")
PowerShell Live Memory:
# Dump process memory for analysis
$process = Get-Process -Name "suspicious_process"
$dumpPath = "C:\forensics\process_dump.dmp"
# Using Windows Error Reporting or DebugDiag
# Alternative: MiniDumpWriteDump via P/Invoke
Python:
pefile - PE file analysispython-magic - File type identificationyara-python - YARA rule matchingcapstone / keystone - Disassembly frameworkuncompyle6 / decompyle3 - Python bytecode decompilationPowerShell:
Get-FileHash - Hash verificationGet-AuthenticodeSignature - Signature validationGet-ItemProperty - Metadata extractionSelect-String - String searching in filesPython:
scapy - Packet capture and analysispyshark - Wireshark integrationdpkt - Packet parsingflowcontainer - NetFlow analysisPython Ecosystem:
pymisp - MISP (Malware Information Sharing Platform)thehive4py - TheHive case managementcortex4py - Cortex analyzersstix2 / taxii2-client - STIX/TAXII threat intelvt-py - VirusTotal APIgreynoise - Internet noise filteringPython for SOAR Platforms:
demisto-py / pan-devops - Palo Alto XSOARsplunk-sdk - Splunk Phantomswimlane-py - SwimlanePowerShell for Endpoint Response:
CIS Benchmarks:
cis-compliance scanners for cloudCIS-Benchmark-PowerShell for WindowsNIST / ISO / SOC2:
compliance-as-code frameworksSecurityPolicyDSC for Windows hardeningPython:
# Cloud compliance scanner
import boto3
from botocore.exceptions import ClientError
def check_s3_encryption():
s3 = boto3.client('s3')
violations = []
for bucket in s3.list_buckets()['Buckets']:
try:
encryption = s3.get_bucket_encryption(Bucket=bucket['Name'])
except ClientError as e:
if e.response['Error']['Code'] == 'ServerSideEncryptionConfigurationNotFoundError':
violations.append({
'resource': bucket['Name'],
'control': 'S3 encryption at rest',
'severity': 'HIGH',
'remediation': 'Enable default encryption'
})
return violations
PowerShell:
# Windows compliance audit
function Test-ComplianceControl {
param(
[string]$ControlName,
[scriptblock]$TestScript,
[string]$Severity = "Medium"
)
try {
$result = & $TestScript
return [PSCustomObject]@{
Control = $ControlName
Compliant = $result
Severity = $Severity
Timestamp = Get-Date -Format "yyyy-MM-dd HH:mm:ss"
}
}
catch {
return [PSCustomObject]@{
Control = $ControlName
Compliant = $false
Severity = $Severity
Error = $_.Exception.Message
Timestamp = Get-Date -Format "yyyy-MM-dd HH:mm:ss"
}
}
}
Core Tools:
ScoutSuite - AWS security auditProwler - AWS CIS benchmark toolCloudSploit / Aqua CloudSploit - AWS security scanningpacu - AWS exploitation frameworkcloudmapper - AWS network visualizationPowerShell:
Az.Security - Azure Security CenterAz.Monitor - Azure Monitor and Log AnalyticsAzureAD / Microsoft.Graph - Identity securityPython:
azure-identity / azure-mgmt-security - Azure SDKmicrosoft-defender-atp - Defender for Endpoint APIgoogle-cloud-securitycenter - Security Command Centerforseti-security - GCP security toolkitprowler (GCP module) - Multi-cloud securityPython Tools:
docker-py - Docker API for security scanningtrivy - Container vulnerability scannersyft / grype - SBOM generation and vulnerability scanningclair - Container vulnerability analysisPowerShell (Windows Containers):
Docker PowerShell moduleGet-Container - Container inspectionPython:
kubernetes client - K8s API security querieskube-hunter - K8s penetration testingkube-bench - CIS K8s benchmarkkyverno / OPA - Policy as codePowerShell:
kubectl via PowerShellAKS module for Azure Kubernetes securityPython:
jinja2 - Template-based report generationmarkdown / pdfkit - Multi-format outputplotly / matplotlib - Data visualizationpandas - Data aggregation and analysisPowerShell:
Export-Excel - Excel report generationConvertTo-Html - HTML reportsOut-GridView - Interactive GUI (Windows)Python:
streamlit / dash - Interactive security dashboardsgrafana-api - Grafana dashboard automationsplunk-sdk - Splunk dashboard creationConcept: Automate the feedback loop between red team (attack) and blue team (defense).
Python:
PowerShell:
Python:
caldera - Automated adversary emulationatomic-red-team - MITRE ATT&CK testsprelude - Continuous security testingPowerShell:
Invoke-AtomicTest - Execute atomic testsEmpire modules - Advanced persistent threat simulationPython:
scikit-learn / tensorflow - Anomaly detectionpytorch - Deep learning for securityisolation-forest - Outlier detectionlstm - Sequence analysis for behavioral detectionSet-ExecutionPolicy is not a security boundary. Use code signing or constrained language mode.requirements.txt. Use pip-audit or safety to check for vulnerabilities.json or msgpack instead.subprocess.run(). Use list arguments, not shell=True with user input.verify=False) in production. Use proper certificate chains.cryptography library, not pycrypto (deprecated). Use secrets module for token generation, not random.pathlib.Path in Python, Join-Path in PowerShell. Never hardcode \ or /.subprocess may need encoding='utf-8' or errors='ignore'..gitattributes to enforce LF. PowerShell scripts with CRLF may fail on Linux.| Task | Recommended Tool | Language | Notes |
|---|---|---|---|
| Network scanning | Nmap + Python wrapper | Python | Use python-nmap for automation |
| AD enumeration | PowerView / SharpView | PowerShell | BloodHound for visualization |
| Web app scanning | Burp Suite / ZAP | Python (API) | Use official APIs |
| Memory forensics | Volatility3 | Python | Cross-platform |
| SIEM query dev | Sigma | Python (conversion) | Convert to target SIEM |
| Container scanning | Trivy | Python (wrapper) | Also supports SBOM |
| IaC scanning | Checkov | Python | Multi-cloud support |
| Cloud enumeration | ScoutSuite / Prowler | Python | AWS/Azure/GCP |
| Malware analysis | YARA + Python | Python | Use yara-python bindings |
| Threat intel | MISP + TheHive | Python | REST API clients |
| Incident response | Velociraptor | PowerShell/Python | Agent-based |
| Compliance audit | CIS-CAT / Prowler | Python | Benchmark automation |
| Password audit | Hashcat + Python | Python (automation) | Use official APIs |
| Log analysis | Jupyter + Pandas | Python | Interactive notebooks |
| Endpoint hardening | PowerShell DSC | PowerShell | Windows-native |
| K8s security | kube-bench / kube-hunter | Python | CIS benchmarks |
| Secret scanning | TruffleHog / GitLeaks | Python | CI/CD integration |
| SAST | Semgrep / Bandit | Python | Multi-language support |
| DAST | OWASP ZAP | Python (API) | Automation framework |
| SOAR | XSOAR / Phantom | Python | Custom integrations |
Load these on-demand based on the specific task:
references/powershell-offensive.md - Deep-dive into PowerShell offensive scripting, Empire modules, AMSI bypass (for authorized testing), obfuscation techniques, and Windows-specific attack vectors.references/python-security-ecosystem.md - Comprehensive Python security library guide: Impacket, Scapy, Volatility, YARA, MISP, TheHive, and custom framework development.references/devsecops-pipelines.md - CI/CD security integration patterns, tool configurations, and pipeline-as-code examples for GitLab CI, GitHub Actions, Azure DevOps, and Jenkins.references/soc-workflows.md - SOC analyst workflows: alert triage, threat hunting playbooks, incident response procedures, and SIEM query patterns for Splunk, Elastic, Sentinel, and QRadar.references/hybrid-automation.md - Python↔PowerShell interoperability: subprocess patterns, REST API bridges, data serialization, and cross-platform security script architecture.references/cloud-security.md - AWS, Azure, and GCP security tooling, enumeration techniques, and compliance scanning.references/forensics-malware.md - Memory forensics, disk forensics, malware analysis techniques, and artifact extraction.The scripts/ directory contains executable utilities:
recon-universal.py - Cross-platform host reconnaissancead-enum.ps1 - Active Directory enumeration toolkitvuln-scan-orchestrator.py - Multi-scanner orchestrationsigma-converter.py - Sigma rule format conversionioc-enricher.py - Threat intelligence enrichmentcompliance-audit.py - Multi-framework compliance scannerincident-response.ps1 - Windows incident response automationsecurity-report-generator.py - Automated report generationWhen approaching a security task:
A comprehensive DevSecOps, SOC, and offensive/defensive security skill for AI agents. Unifies PowerShell offensive scripting with the Python security ecosystem into a single, coherent skill system.
Security operations demand language-agnostic thinking. PowerShell dominates Windows/Active Directory environments. Python dominates Linux/cloud/tooling ecosystems. This skill treats them as complementary forces, not competitors.
| Domain | PowerShell | Python | Hybrid |
|---|---|---|---|
| Active Directory Enumeration | ✅ Native | ⚠️ Via LDAP | ✅ PS enum + Python analysis |
| Network Scanning | ⚠️ Limited | ✅ Scapy/Nmap | ✅ Python scanner + PS validation |
| Cloud Security | ✅ Azure | ✅ AWS/GCP | ✅ Cross-cloud unified scanner |
| SIEM Integration | ⚠️ Limited | ✅ Full SDKs | ✅ Python SOAR + PS endpoint response |
| Malware Analysis | ⚠️ Live response | ✅ Full forensics | ✅ PS collection + Python analysis |
| DevSecOps Pipelines | ✅ Windows CI/CD | ✅ Linux/cloud CI/CD | ✅ Cross-platform pipelines |
The main skill file with 12 comprehensive sections:
Plus:
| File | Size | Content |
|---|---|---|
powershell-offensive.md |
14.7 KB | PowerView, Kerberoasting, AS-REP, ACL abuse, BloodHound, lateral movement, persistence, defense evasion, obfuscation |
python-security-ecosystem.md |
16.1 KB | Scapy, Impacket, Volatility3, YARA, pefile, MISP, VirusTotal, Splunk, Elastic, TheHive, AWS/Azure/GCP SDKs, Docker, Kubernetes, sklearn, PyTorch |
devsecops-pipelines.md |
3.1 KB | GitLab CI, GitHub Actions, Bandit, Semgrep, Trivy, Checkov, tfsec |
soc-workflows.md |
1.9 KB | Splunk SPL, Elastic KQL, Azure Sentinel KQL, alert triage, IR playbooks |
hybrid-automation.md |
2.3 KB | Python↔PowerShell subprocess patterns, REST API bridges, cross-platform reconnaissance |
cloud-security.md |
1.0 KB | ScoutSuite, Prowler, Pacu, CloudMapper, Azure Security Center, Forseti |
forensics-malware.md |
0.8 KB | Volatility3, Plaso, Autopsy, YARA, PE analysis, artifact collection |
| Script | Language | Purpose |
|---|---|---|
recon-universal.py |
Python | Cross-platform host reconnaissance (Windows via PowerShell, Linux native) |
ad-enum.ps1 |
PowerShell | Active Directory enumeration toolkit (users, groups, trusts, GPOs, Kerberoast targets) |
vuln-scan-orchestrator.py |
Python | Multi-scanner orchestration (Nuclei + Nmap async) |
sigma-converter.py |
Python | Sigma rule conversion to Splunk SPL, Elastic KQL, Sentinel KQL |
ioc-enricher.py |
Python | Threat intelligence enrichment (VirusTotal, AbuseIPDB) |
compliance-audit.py |
Python | Multi-framework compliance scanner template |
incident-response.ps1 |
PowerShell | Windows IR automation (artifact collection, host isolation) |
security-report-generator.py |
Python | Automated HTML/Markdown report generation |
Method 1: Via /skill-creator (Recommended)
/skill-creatorSKILL.md or paste its contentsMethod 2: Document Upload
SKILL.md (max 3 files, 100 MB each)Method 3: Kimi Claw (Desktop)
# Clone to Claude's skills directory
git clone https://github.com/YOUR_USERNAME/cybersec-ops-skill.git
cp -r cybersec-ops-skill/cybersec-ops ~/.claude/skills/
# Or symlink for development
ln -s $(pwd)/cybersec-ops ~/.claude/skills/cybersec-ops
# Copy to Codex skills directory
cp -r cybersec-ops ~/.codex/skills/
# Or install via skills.sh (if available)
skills.sh install YOUR_USERNAME/cybersec-ops-skill
cp -r cybersec-ops ~/.cursor/skills/
cp -r cybersec-ops ~/.gemini/skills/
When you send a request, Kimi Agent assesses whether the task involves cybersecurity. If so, it automatically loads this skill and follows its instructions.
Auto-trigger keywords:
| You Ask | Skill Response |
|---|---|
| "Scan my AWS for misconfigurations" | Loads cloud-security.md, generates Boto3 scanner code |
| "Write a PowerShell AD enum script" | Loads powershell-offensive.md, provides PowerView patterns |
| "Build a DevSecOps pipeline" | Loads devsecops-pipelines.md, outputs GitLab CI YAML |
| "Detect anomalies in SIEM logs" | Loads soc-workflows.md, writes Splunk/Elastic queries |
| "Analyze a memory dump" | Loads forensics-malware.md, generates Volatility3 commands |
| "Combine Python and PowerShell" | Loads hybrid-automation.md, provides interoperability patterns |
Verify the skill works with these prompts:
1. "Scan my AWS infrastructure for security misconfigurations"
2. "Write a PowerShell script to enumerate Active Directory users"
3. "Create a Python tool for network reconnaissance with Scapy"
4. "Build a DevSecOps pipeline with SAST and container scanning"
5. "How do I detect anomalous login patterns in my SIEM?"
6. "Analyze a memory dump for malware indicators"
7. "Convert this Sigma rule to Splunk SPL and Elastic KQL"
8. "Write a compliance audit script for CIS benchmarks"
9. "Check my Kubernetes cluster for privileged pods"
10. "Create a threat hunting playbook for lateral movement"
This skill contains offensive security techniques for authorized testing only.
All code examples include:
Never use offensive techniques without explicit written authorization.
The skill follows the principle: "Teach defense by understanding offense" — every attack vector is paired with detection and mitigation guidance.
name: cybersec-ops
version: 1.0.0
category: security-operations
languages: [python, powershell, bash]
domains:
- devsecops
- soc
- offensive-security
- defensive-security
- cloud-security
triggers:
- security operations
- penetration testing
- threat hunting
- incident response
- vulnerability assessment
- malware analysis
- forensics
- compliance audit
- siem
- devsecops
- container security
- kubernetes security
- cloud security
- active directory
- powershell offensive
- python security
git checkout -b feature/amazing-addition)git commit -am 'Add amazing feature')git push origin feature/amazing-addition)