GNU Stow
$ stow Foundation Med RiskGNU Stow (stow) creates, updates, and removes symlink trees so multiple software packages or dotfile directories can live cleanly in isolated subdirectories while appearing merged under $HOME or /usr/local. It runs non-interactively and supports -n (--simulate) dry runs.
brew install stow Local POSIX symlink tree management runs instantaneously via stow with no reason to wrap in MCP.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Fully non-interactive with -n (--simulate) and -v logging and clear non-zero conflict exit codes, though output is plain text without --json.
- Supports
-n/--simulatedry-run and non-interactive exit codes - Plain-text verbose output only
Aborts cleanly on existing file conflicts by default and offers -n simulation, though --adopt and -D mutate target/source files.
- Refuses to overwrite conflicting regular files unless
--adoptis used
Standard package in Homebrew, apt, dnf, and BSD ports, but requires Perl and targets Unix-like POSIX symlinks (no native Windows).
- Perl script targeting macOS and Linux POSIX filesystems
Minimal, predictable symlink farm manager requiring zero config files or template syntax.
- Simple
-D(delete),-R(restow), and-S(stow) operations
Official GNU Project package maintained under GPL-3.0-or-later with decades of stability.
- Official GNU Project foundation maintenance
Detailed GNU Texinfo/HTML manual and man page explaining conflict resolution and tree folding.
- Official manual at gnu.org/software/stow/manual
Security, Auth & Guardrails
None required; operates purely on local directory trees and symlinks.
100% free, offline, and open-source (GPL-3.0-or-later).
# GNU Stow (stow) Agent Rules - ALWAYS run `stow -n -v -t <target> <pkg>` first to preview symlink operations and detect conflicts. - Never pass `--adopt` automatically without reviewing `git diff`, as `--adopt` moves existing target files into the stow source directory.
Agent-Ready Command Recipes
Safe Read-Only Queries
stow -n -v -t ~ zsh
Uses -n (--simulate) and -v to preview every symlink creation or conflict under ~ without touching disk.
Controlled Writes & Previews
stow -R -v -t ~ zsh
Unstows stale symlinks and re-links current files in zsh to ~ non-interactively.
Strengths for Agents
- + Always aborts safely on conflicts unless explicitly told otherwise.
- + First-class
-n(--simulate) dry-run flag for inspecting symlink changes.
Caveats & Pitfalls
- ! No
--jsonoutput and no native Windows support. - !
--adoptmoves existing target files into the stow package directory, which can surprise users.