agentleFS
0xrizz0xrizz/os-manager/.agents/skills/dotfiles/SKILL.md

dotfiles

Skill1 starsChanged 3 months agoMITView on GitHub

Use when backing up, comparing, or restoring user shell configuration dotfiles (~/.bashrc, ~/.tmux.conf, ~/.gitconfig) against versioned backups

6 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use testing.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • NVIDIASkill

    testing

    Run Python and Rust tests for physicsnemo-curator using uv + pytest with coverage reporting via pytest-cov, and cargo-nextest for Rust tests. Includes benchmark workflows with pytest-benchmark and criterion.

    Also in 3 projects that use this

The file

Files
SKILL.md

Dotfiles State Synchronization Skill

Provides state protection, drift detection, and controlled restoration for critical shell configuration dotfiles between the active user home directory ($HOME) and the repository backup store (backups/dotfiles/).

Trigger Scenarios

  • Backing up active dotfiles before testing configuration modifications
  • Inspecting configuration drift between active $HOME dotfiles and repository baselines
  • Restoring version-controlled dotfile configurations following an environment reset or migration

Invocation

${PROJECT_DIR:-.}/scripts/dotfiles_sync.sh <subcommand>

Tracked Files

The skill manages the following configuration files:

Active PathRepository Backup PathDescription
~/.bashrcbackups/dotfiles/.bashrcUser interactive bash shell configuration and aliases
~/.tmux.confbackups/dotfiles/.tmux.confTmux terminal multiplexer session configuration
~/.gitconfigbackups/dotfiles/.gitconfigUser Git global configuration and credentials helper

Subcommands

SubcommandDescriptionSafety Gate
backupCopies active dotfiles from $HOME into backups/dotfiles/Autonomous (Tier 1)
diffPerforms non-destructive unified diff between repository backups and $HOMEAutonomous Read-Only (Tier 0)
restoreCopies repository backups back into $HOME (cp -iv)Explicit confirmation required before overwriting $HOME configurations

Safety Classification & Confirmation Protocol

  • Tier 0 (Diff) / Tier 1 (Backup): Safe, low-risk state inspections and workspace-contained backups.
  • Restore Confirmation Gate: Restoring dotfiles overwrites active shell configuration in $HOME. Always run ${PROJECT_DIR:-.}/scripts/dotfiles_sync.sh diff first, present the diff to the user, and obtain explicit confirmation before running restore.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.