Skip to content
Development
Command

/maintenance

System maintenance and updates through coordinated agents.

From plugin
agentic-flow
788133 skills103 agents133 commands2 MCP
Install
$ npx -y skills add ruvnet/agentic-flow --agent claude-code

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 withagentic-flow

Production-ready AI agent orchestration with 66 self-learning agents, 213 MCP tools, and autonomous multi-agent swarms.

Get the whole plugin