skills/blue-team/blue-team-root/SKILL.md
Fundamental blue team skills for detecting threats, responding to incidents, and defending systems in cybersecurity.
npx skillsauth add alphaonedev/openclaw-graph blue-team-rootInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill provides core blue-team functionalities for cybersecurity, enabling threat detection, incident response, and system defense. It integrates with tools like intrusion detection systems and logging frameworks to protect against cyber threats.
Use this skill when monitoring network traffic for anomalies, responding to security incidents, or hardening systems. Apply it in real-time threat detection scenarios, such as during a suspected breach, or for proactive defense in environments like cloud infrastructures or on-premise servers.
snort -A console -q -c /etc/snort/snort.conf.import subprocess; subprocess.run(['iptables', '-A', 'INPUT', '-s', '192.168.1.1', '-j', 'DROP']).<global><email_notification>yes</email_notification></global> in ossec.conf./logs/_search with JSON payload {"query": {"match": {"message": "suspicious login"}}}.POST /scans requires JSON body like {"policy_id": 1, "targets": ["192.168.1.0/24"]}.Invoke this skill in OpenClaw by calling the skill ID "blue-team-root" with specific parameters. For example, to detect threats, use: openclaw execute blue-team-root --action detect --target 192.168.1.0/24. In code, integrate via OpenClaw SDK: from openclaw import Skill; skill = Skill('blue-team-root'); result = skill.run(action='respond', incident_id='INC001'). Always set auth with environment variable $OPENCLAW_API_KEY before execution. Chain with other skills by piping outputs, e.g., detect then respond: openclaw execute blue-team-root --action detect | openclaw execute blue-team-root --action respond.
openclaw blue-team-root detect --flags -i interface -t timeout to start network monitoring; flags include -i for interface and -t for scan timeout in seconds.https://api.openclaw.ai/blue-team/detect with body {"target": "192.168.1.0/24", "auth": "$OPENCLAW_API_KEY"}; response includes JSON like {"status": "detected", "threats": ["SQL injection"]}.response = requests.post('https://api.openclaw.ai/blue-team/respond', json={"incident": "INC001", "action": "isolate"}); print(response.json()['status']). Another: os.system('snort -c /etc/snort.conf -A fast > detection.log') to log detections.detection: { threshold: 5, rules: ['rule1', 'rule2'] }; load in Python with import yaml; config = yaml.safe_load(open('config.yaml')).Integrate with external tools by exporting results to SIEM systems like Splunk via webhook: openclaw blue-team-root --action export --format json --url https://splunk.example.com/api. For authentication, always use $OPENCLAW_API_KEY in headers, e.g., headers = {'Authorization': f'Bearer {os.environ.get("OPENCLAW_API_KEY")}'} in Python requests. Combine with red-team skills for simulations; pipe output directly, e.g., openclaw execute red-team-sim | openclaw execute blue-team-root --action detect`. Ensure compatibility by matching API versions, like OpenClaw v2.0.
Handle errors by checking API responses for status codes; if 401, retry with refreshed $OPENCLAW_API_KEY. For CLI, use try-except in scripts: try: subprocess.run(['snort', '-c', 'config'], check=True) except subprocess.CalledProcessError as e: print(f"Error: {e.returncode} - {e.output}"). Common issues include network timeouts; implement retries with exponential backoff, e.g., for attempt in range(3): try: requests.get(url) except requests.exceptions.Timeout: time.sleep(2**attempt). Log all errors to a file for auditing, using Python's logging: import logging; logging.basicConfig(filename='blue-team.log', level=logging.ERROR).
openclaw execute blue-team-root --action detect --target 192.168.1.0/24 --auth $OPENCLAW_API_KEY. This scans the subnet and returns anomalies; follow up by parsing the JSON output to alert on high-severity items.openclaw execute blue-team-root --action respond --incident_id INC002 --steps isolate,notify. This isolates the affected host and sends notifications; in code, verify with if response['status'] == 'success': print('Incident contained').tools
Root web development: project structure, tooling selection, deployment decisions
development
WebAssembly: Rust/Go/C to WASM, wasm-bindgen, Emscripten, WASM Component Model
development
Vue 3: Composition API script setup, Pinia, Vue Router 4, SFCs, Vite, Nuxt 3
tools
Tailwind CSS 4: utility classes, config, JIT, arbitrary values, darkMode, plugins, shadcn/ui