drift-detection

Detect and fix configuration drift between git-tracked files and VPS runtime state.

1|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/gfargo/strut --skill drift-detection-gfargo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drift-detection
Source: https://github.com/gfargo/strut/tree/main/.kiro/skills/drift-detection
Command: npx skills add https://github.com/gfargo/strut --skill drift-detection-gfargo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Configuration drift between git-tracked files and VPS runtime state leads to unpredictable behavior and security concerns. Drift detection and automated fixes help restore consistency, reliability, and auditable changes across environments.

Core Features & Use Cases

  • Drift Detection: Compare git-tracked configuration with VPS state and generate a report of differences.
  • Manual Fix & Auto-Fix: Apply changes to align VPS with git, with optional automatic remediation.
  • Drift History & Recovery: Maintain drift history, restore backups, and review events for troubleshooting. Use Case: After deployments or manual changes, quickly verify alignment and restore desired state.

Quick Start

Run strut my-stack drift detect --env prod to start drift detection and review the report.

Frequently Asked Questions about drift-detection

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect configuration drift between git and my VPS?

Run strut drift detect against your environment to compare git-tracked configuration with VPS runtime state, generating a report of differences for your production stack.

What is configuration drift and why does it cause issues in production?

Configuration drift happens when git-tracked files and VPS runtime state become inconsistent, leading to unpredictable behavior and security concerns in production stacks requiring consistency.

Can I automatically fix VPS configuration drift after detecting it?

Yes, you can apply manual fixes or enable automated remediation to align VPS state with git, while the system maintains backups and drift history for recovery workflows.

Does drift detection support scheduled monitoring for production stacks?

Yes, drift detection supports optional cron scheduling for automated monitoring of production stacks, ensuring continuous consistency between repository state and VPS configuration.

How do I restore a previous VPS configuration after an auto-fix?

Restore previous configurations by accessing the maintained drift history and backups, reviewing events for troubleshooting, and executing a restore workflow to revert VPS state.