Skip to content
Back to skills

Managed Config Drift

ASecurity

Trace drift between live Linux configuration and its managed source. Use for broken symlinks, unclear ownership, stale generated files, or changed package defaults.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 6, 2026
toolsgit

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned November 20, 2026

npx -y skills add bolens/agent-skills --skill managed-config-drift --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Managed Config Drift?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Managed Config Drift
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bolens-managed-config-drift/badge)](https://www.skillsdirectory.com/skills/bolens-managed-config-drift)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: managed-config-drift
description: Trace drift between live Linux configuration and its managed source. Use for broken symlinks, unclear ownership, stale generated files, or changed package defaults.
---

# Managed configuration drift

Build an ownership map before comparing content. Identify the live path, intended source repository, generated-file contract, packaged default, and deployment mechanism such as symlinks, copy scripts, GNU Stow, or hooks.

Use `scripts/compare-trees.py LIVE=MANAGED [...]` for bounded tree comparisons. It reports missing paths, type changes, symlink-target changes, and content differences without modifying either tree. Use `--exclude NAME` for caches, secrets, runtime state, or generated artifacts that the repository explicitly excludes.

## Classification

- **Broken ownership:** dangling link, missing source, wrong owner, or unexpected writable target.
- **Uncommitted live drift:** live content differs from its declared managed source.
- **Expected local state:** secrets, caches, device state, or host-specific overrides documented as untracked.
- **Generated drift:** output differs because its declared generator has not run.
- **Packaged-default drift:** an upstream update changed a default that the local overlay depends on.

Read repository guidance and generator commands before judging a difference. Never copy, replace, delete, relink, refresh Omarchy configuration, or run a generator merely to make the audit clean. Establish an owner and direction for each reconciliation. Keep audit-only requests read-only. When the user already authorized reconciliation of the named paths, continue the scoped repair, preserve recoverable prior state, and verify the resulting ownership and behavior. Ask only for missing authority or an unresolved consequential direction; do not request the same authorization again.

Use `omarchy` for configuration owned by an identified Omarchy installation, not arbitrary Hyprland files. Use [nixos](../nixos/SKILL.md) when modules generate the live paths; reconcile the declarative source instead of replacing store symlinks. Use `sensitive-info-audit` before adding previously untracked live configuration to Git.

Use `arch-update-recovery` when drift was introduced by an Arch-family package transaction, `.pacnew`/`.pacsave` files, a snapshot rollback, or boot-chain regeneration. Use `backup-restore-verification` to prove a managed source can actually be recovered; a clean comparison alone does not prove that.

Files in this skill

  • SKILL.md2.7 KB
  • UPSTREAM.md436 B
  • agents/openai.yaml222 B
  • scripts/compare-trees.py2.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.