- Clawdbot v1.0.0 or later
- Node.js v18+ (usually installed with Clawdbot)
- kubectl (for Kubernetes operations)
- aws CLI - For AWS operations
- terraform - For infrastructure as code
- docker - For container operations
- argocd CLI - For GitOps operations
- gh CLI - For GitHub operations
# Clone the repository
git clone https://github.com/clawdbot/devops-execution-engine
cd devops-execution-engine
# Install as Clawdbot skill
clawdbot skills:install .
# Verify installation
clawdbot skills:list | grep devops-execution-engine# Search for the skill
clawdbot skills:search devops
# Install directly
clawdbot skills:install devops-execution-engine
# Verify
clawdbot skills:list# Clone the repo
git clone https://github.com/clawdbot/devops-execution-engine
# Copy to Clawdbot skills directory
cp -r devops-execution-engine ~/.clawdbot/skills/
# Restart Clawdbot
clawdbot gateway restartCreate ~/.clawdbot/skills/devops-execution-engine/config.yaml:
# Execution engine config
execution:
auto_approve_low_risk: false # Auto-approve LOW risk actions
pause_between_steps: true # Pause after each step
timeout_default: 300 # Default timeout (seconds)
dry_run: false # Test mode (no actual execution)
# Logging
audit:
log_path: "memory/actions-log.jsonl"
log_level: "info" # debug|info|warn|error
# Safety
safety:
require_approval: true # Always require approval
allow_critical: false # Block CRITICAL risk actions
block_production: false # Extra safety for prod namespaces
# Skills to enable (leave empty to enable all)
enabled_skills: []Ensure your kubectl is configured with the correct context:
# Check current context
kubectl config current-context
# List available contexts
kubectl config get-contexts
# Switch context if needed
kubectl config use-context <context-name>If using AWS skills:
# Configure AWS CLI
aws configure
# Or use environment variables
export AWS_PROFILE=your-profile
export AWS_REGION=us-east-1For safety, start with read-only Kubernetes access:
# read-only-sa.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
name: clawd-readonly
namespace: default
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: clawd-readonly-binding
subjects:
- kind: ServiceAccount
name: clawd-readonly
namespace: default
roleRef:
kind: ClusterRole
name: view # Built-in read-only role
apiGroup: rbac.authorization.k8s.ioApply and get token:
kubectl apply -f read-only-sa.yaml
# Get token (k8s 1.24+)
kubectl create token clawd-readonly --duration=87600hUpdate your kubeconfig to use this token.
# Start Clawdbot chat
clawdbot chat
# Test commands:
"List all skills"
"Use devops-execution-engine"
"Check system health""Check cluster health"
"List all pods"
"Show recent events"
You should see diagnostic output without errors.
"Generate a plan to scale api-service to 5 replicas"
You should see a structured execution plan created.
~/.clawdbot/skills/devops-execution-engine/
├── SKILL.md
├── LICENSE
├── README.md
├── config.yaml # Your configuration
├── core/ # Execution engine
├── templates/ # Plan templates
├── skills/ # 11 DevOps skills
├── examples/ # Example plans
└── docs/ # Documentation
~/clawd/memory/ # Created in your workspace
├── execution-plans/ # Generated plans
└── actions-log.jsonl # Audit trail
# Check installation
clawdbot skills:list
# Reinstall if needed
cd devops-execution-engine
clawdbot skills:install .# Check directory permissions
ls -la ~/.clawdbot/skills/
# Fix if needed
chmod -R 755 ~/.clawdbot/skills/devops-execution-engine# Verify kubectl is in PATH
which kubectl
# Check context
kubectl config current-context
# Test basic command
kubectl get nodes# Check memory directory exists
ls ~/clawd/memory/execution-plans/
# Create if needed
mkdir -p ~/clawd/memory/execution-plans# Pull latest changes
cd devops-execution-engine
git pull origin main
# Reinstall
clawdbot skills:install .
# Restart Clawdbot
clawdbot gateway restart# Remove skill
rm -rf ~/.clawdbot/skills/devops-execution-engine
# Restart Clawdbot
clawdbot gateway restart
# Optional: Keep or remove execution history
# rm -rf ~/clawd/memory/execution-plans
# rm ~/clawd/memory/actions-log.jsonl- Read SKILLS.md for available skills
- Read SAFETY.md for safety model
- See EXAMPLES.md for usage examples
- Start with simple read-only operations
- Build trust before enabling execution
- 📖 Documentation: See
docs/directory - 🐛 Issues: https://github.com/clawdbot/devops-execution-engine/issues
- 💬 Discord: https://discord.com/invite/clawd
- 📧 Email: support@clawd.bot