workspace/skills/defenseclaw-ops/SKILL.md
Manage DefenseClaw enterprise security - scan components, manage tool permissions, view alerts, configure guardrails
npx skillsauth add automateyournetwork/netclaw defenseclaw-opsInstall 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 manages DefenseClaw enterprise security for NetClaw deployments.
DefenseClaw from Cisco AI Defense provides enterprise-grade security:
defenseclaw CLI in PATHCheck status:
defenseclaw --version
# View DefenseClaw version
defenseclaw --version
# Check gateway status
pgrep defenseclaw-gateway
# View current configuration
cat ~/.openclaw/config/openclaw.json | grep -A2 security
Before deploying new skills, MCPs, or plugins, scan them:
# Scan a skill
defenseclaw skill scan pyats-health-check
# Scan an MCP server
defenseclaw mcp scan meraki-mcp
# Scan a plugin
defenseclaw plugin scan custom-tool
Expected output for clean component:
Scanning skill: pyats-health-check
✓ No HIGH/CRITICAL findings
Status: ALLOWED
Expected output for blocked component:
Scanning skill: bad-skill
✗ HIGH: Hardcoded credential detected
Location: config.py:15
Status: BLOCKED
Block or allow specific tools:
# Block a destructive tool
defenseclaw tool block delete_file --reason "destructive operation"
# Block all write operations
defenseclaw tool block "*_write" --reason "read-only policy"
# Allow a previously blocked tool
defenseclaw tool allow delete_file
# List all tool rules
defenseclaw tool list
# View recent alerts
defenseclaw alerts
# View last 50 alerts
defenseclaw alerts --limit 50
# Filter by severity
defenseclaw alerts --severity HIGH
# Filter by date
defenseclaw alerts --after 2026-04-01
For compliance reporting:
# Export to JSON
defenseclaw alerts --export json > audit-$(date +%Y%m%d).json
# Export to CSV
defenseclaw alerts --export csv > audit-$(date +%Y%m%d).csv
# Check current mode
defenseclaw config get guardrail.mode
# Enable observe mode (logging only - default)
defenseclaw setup guardrail --mode observe
# Enable action mode (blocking)
defenseclaw setup guardrail --mode action --restart
# Restart gateway after mode change
defenseclaw setup guardrail --restart
| Mode | Behavior | Use Case | |------|----------|----------| | observe | Log violations, allow execution | Development, onboarding | | action | Log violations AND block | Production, compliance |
Guardrails check for these categories:
| Category | Description |
|----------|-------------|
| secret | Credential exfiltration |
| command | Shell command execution |
| sensitive-path | File system access |
| c2 | Command & control communication |
| cognitive-file | AI memory manipulation |
| trust-exploit | Prompt injection |
Configure external SIEM:
# Splunk HEC
defenseclaw config siem --type splunk \
--endpoint https://splunk.example.com:8088 \
--token $SPLUNK_HEC_TOKEN
# OTLP
defenseclaw config siem --type otlp \
--endpoint https://otel-collector.example.com:4318
# Test connectivity
defenseclaw config siem --test
# Slack
defenseclaw config webhook --slack $SLACK_WEBHOOK_URL
# PagerDuty
defenseclaw config webhook --pagerduty $PD_ROUTING_KEY
# Webex
defenseclaw config webhook --webex $WEBEX_WEBHOOK_URL
export PATH="$HOME/.local/bin:$PATH"
# Check status
pgrep defenseclaw-gateway
# Start manually
defenseclaw-gateway start
# Check logs
tail -f ~/.defenseclaw/logs/gateway.log
# View detailed findings
defenseclaw skill scan <name> --verbose
# Add exception if false positive
defenseclaw exception add <component> --finding <id> --reason "reviewed"
tools
Federate your NetClaw with other NetClaw operators over the BGP mesh — exchange capability inventories and ask your claw what a peer can do. (US1; remote invocation and chat land in later phases.)
tools
3D network topology visualization and interactive digital twin in Unreal Engine 5.8 via the built-in UE5 MCP server.
testing
Human-in-the-loop escalation via HumanRail — route low-confidence agent decisions, pre-destructive operation approvals, and ambiguous incident tickets to real human engineers. Human answers are verified and returned as structured output. Workers are paid via Lightning Network. Use when the agent is uncertain, when a destructive change needs explicit human sign-off beyond a ServiceNow CR, or when an ambiguous ticket requires human triage before automated handling.
testing
IPv4 and IPv6 subnet calculator - CIDR breakdown, usable hosts, previous/next subnets, address classification, VLSM planning, and dual-stack analysis. Use when calculating subnets, figuring out how many hosts fit in a prefix, planning IP addressing, getting wildcard masks for ACLs, or checking if two IPs are in the same subnet.