This repository provides security operations runbooks and role-based guides for AI-assisted cybersecurity workflows.
$ npx -y skills add dandye/ai-runbooks --agent claude-code
This repository provides security operations runbooks and role-based guides for AI-assisted cybersecurity workflows.
Built by and for enterprise security teams, this project standardizes incident response procedures and threat analysis workflows across multiple AI platforms including Claude, Gemini, and Cline. It equips LLMs with specialized context and cognitive tools to perform complex security investigations with the same rigor and consistency as experienced analysts.
Security role definitions including:
Step-by-step procedural guides for:
Comprehensive end-to-end strategies for:
ai_runbooks/
├── rules_bank/ # Master source directory for all content
│ ├── personas/ # Security role definitions
│ ├── run_books/ # Procedural guides for security tasks
│ │ ├── common_steps/ # Reusable procedure components
│ │ ├── irps/ # Incident Response Plans
│ │ └── guidelines/ # Best practices and documentation
│ └── [other documentation] # Configuration and reference files
├── reports/ # Generated security reports
├── mcp-security/ # MCP server implementations
└── [configuration files] # Various setup and config scripts
For Security Teams: Use this repository to standardize and document your security operations procedures for AI-assisted workflows.
For Developers:
rules_bank/ directoryFor AI Assistants: The symlinked rules_bank directory in each tool's configuration folder provides access to all personas, runbooks, and documentation.
This project is designed to work with:
See CONTRIBUTING file for guidelines on contributing to this project.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
This repository is designed to work with three AI coding assistants:
.claude/ directory for configuration.claude/rules_bank/ symlinkCLAUDE.md for Claude-specific guidance.clinerules/ directory for configuration.clinerules/rules_bank/ symlink.gemini/ directory for configuration.gemini/rules_bank/ symlinkGEMINI.md for Gemini-specific guidanceClone the repository:
git clone <repository-url>
cd dandye_ai_runbooks
The symlinks should already be set up. Verify they exist:
ls -la .claude/rules_bank
ls -la .clinerules/rules_bank
ls -la .gemini/rules_bank
If symlinks are missing, create them manually:
# For Claude Code
mkdir -p .claude
ln -s ../rules_bank .claude/rules_bank
# For Cline
mkdir -p .clinerules
ln -s ../rules_bank .clinerules/rules_bank
# For Gemini CLI
mkdir -p .gemini
ln -s ../rules_bank .gemini/rules_bank
Each AI tool will automatically read the context from its respective directory:
.claude/.clinerules/.gemini/All three tools access the same content through symlinks, ensuring consistency.
The project uses a symlink-based system to share the same content across all three AI tools:
rules_bank/rules_bank/set_persona_rules.py: Configure active personas (legacy - may need updates for new structure)symlink_common_steps.py: Manage common steps symlinks (legacy - may need updates)configure_mcp_tools.py: Configure MCP (Model Context Protocol) tools for Claude DesktopUse these realistic prompts to invoke various security runbooks. All examples use real data extracted from the reports/ directory:
Please execute the alert triage runbook for SOAR case 2194.
The case involves repeated authentication failures for user F.K. on host A.S.L from IP 10.1.0.4. Check for duplicate cases and perform initial entity enrichment.
Run the basic IOC enrichment runbook for the suspicious domain scarfponcho.com.
Threat intelligence analysis and SIEM correlation for a domain which was flagged in our environment.
Execute IOC enrichment for the file hash de96a6e69944335375dc1ac238336066889d9ffc7d73628ef4fe1b1b160ab32c found on host WINS-D19.
This was associated with PowerShell obfuscation activity by user LISAWALKER.
Perform a comprehensive case investigation for SOAR case 3480.
This is a critical priority case involving PowerShell attacks on WINS-D19, potential data exfiltration via BigQuery, and GCP exploitation attempts. Focus on the 17 associated alerts.
Analyze detection rule ru_99d1f620-3fe2-41d5-918e-0e1bd2402065 (ursnif_malware_dns).
I need rule validation, tuning recommendations, and analysis of recent detections for this high-severity rule.
Execute the IOC threat hunt runbook for IP addresses 46.8.9.205, 46.8.9.206, and 46.8.9.207.
These IPs are associated with the malicious domain scarfponcho.com and need comprehensive SIEM analysis.
Run the advanced threat hunting runbook focusing on lateral movement techniques (PSExec, WMI) around host WINS-D19.
This follows the PowerShell attack activity discovered in case 3480.
Perform malware triage for the sample with hash de96a6e69944335375dc1ac238336066889d9ffc7d73628ef4fe1b1b160ab32c.
This was involved in the PowerShell obfuscation incident on WINS-D19.
Execute the suspicious login triage runbook for authentication events involving user F.K. on host A.S.L from source IP 10.1.0.4.
This is related to case 2194 with multiple failed followed by successful logins.
Initiate the compromised user account IRP for user LISAWALKER'
Evidence includes PowerShell execution with obfuscation techniques on host WINS-D19 and potential privilege escalation attempts.
Run the cloud vulnerability triage runbook for the BigQuery exfiltration alerts in case 3480.
Focus on the DLP context and Google Drive data movement patterns detected by SCC.
Execute the basic endpoint triage and isolation runbook for host WINS-D19.
This system was compromised in case 3480 with PowerShell attacks and potential malware execution.
Perform a deep dive IOC analysis on domain scarfponcho.com using GTI collections.
Include malware family associations, campaign attribution, and infrastructure analysis.
These examples demonstrate how to invoke runbooks with specific, actionable intelligence that mirrors real security operations scenarios.
ai-runbooks is a Claude Code plugin with 30 hand-picked skills, indexed on Flowy in the Security category. Install it with the command on its page. It includes analyze-content-gaps, audit-content, check-duplicates. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it