Skip to content
Development
Command

/maintenance

System maintenance and updates through coordinated agents.

From plugin
claude-flow
67k194 skills157 agents194 commands1 MCP
Install
> /plugin marketplace add ruvnet/ruflo

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/maintenance

Context preview

What this command does when you run it.

System maintenance and updates through coordinated agents.

Command definition

maintenance.md

Maintenance Swarm Strategy

Purpose

System maintenance and updates through coordinated agents.

Activation

Using MCP Tools

// Initialize maintenance swarm
mcp__claude-flow__swarm_init({
  "topology": "star",
  "maxAgents": 5,
  "strategy": "sequential"
})

// Orchestrate maintenance task
mcp__claude-flow__task_orchestrate({
  "task": "update dependencies",
  "strategy": "sequential",
  "priority": "medium",
  "dependencies": ["backup", "test", "update", "verify"]
})

Using CLI (Fallback)

`npx claude-flow swarm "update dependencies" --strategy maintenance`

Agent Roles

Agent Spawning with MCP

// Spawn maintenance agents
mcp__claude-flow__agent_spawn({
  "type": "analyst",
  "name": "Dependency Analyzer",
  "capabilities": ["dependency-analysis", "version-management"]
})

mcp__claude-flow__agent_spawn({
  "type": "monitor",
  "name": "Security Scanner",
  "capabilities": ["security", "vulnerability-scan"]
})

mcp__claude-flow__agent_spawn({
  "type": "tester",
  "name": "Test Runner",
  "capabilities": ["testing", "validation"]
})

mcp__claude-flow__agent_spawn({
  "type": "documenter",
  "name": "Documentation Updater",
  "capabilities": ["documentation", "changelog"]
})

Safety Features

Backup and Recovery

// Create system backup
mcp__claude-flow__backup_create({
  "components": ["code", "config", "dependencies"],
  "destination": "./backups/maintenance-" + Date.now()
})

// Create state snapshot
mcp__claude-flow__state_snapshot({
  "name": "pre-maintenance-" + Date.now()
})

// Enable fault tolerance
mcp__claude-flow__daa_fault_tolerance({
  "agentId": "all",
  "strategy": "checkpoint-recovery"
})

Security Scanning

// Run security scan
mcp__claude-flow__security_scan({
  "target": "./",
  "depth": "comprehensive"
})

Monitoring

// Health check before/after
mcp__claude-flow__health_check({
  "components": ["dependencies", "tests", "build"]
})

// Monitor maintenance progress
mcp__claude-flow__swarm_monitor({
  "swarmId": "maintenance-swarm",
  "interval": 3000
})
Read more
Ships withclaude-flow

An agent meta-harness for Claude Code and Codex. Agent = Model + Harness. The model writes; the harness gives it tools, memory, loops, sandboxes, and controls so it can actually work.

Get the whole plugin