Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

GNU Stow

$ stow Foundation Med Risk
GNU · Files & Search · GPL-3.0-or-later · macos / linux

GNU 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.

FCRS-1.0 Score
77 /100
Good
Medium Confidence
Zero-Friction Install
brew install stow
CLI vs MCP Decision CLI Only

Local POSIX symlink tree management runs instantaneously via stow with no reason to wrap in MCP.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
✓ Dry-Run
— Read-Only Mode
— NO_COLOR Clean
— Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 17 / 25

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/--simulate dry-run and non-interactive exit codes
  • Plain-text verbose output only
Trust & Safety 20 / 25

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 --adopt is used
Setup & Portability 12 / 15

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
Utility & Efficiency 12 / 15

Minimal, predictable symlink farm manager requiring zero config files or template syntax.

  • Simple -D (delete), -R (restow), and -S (stow) operations
Maintenance & Lineage 8 / 10

Official GNU Project package maintained under GPL-3.0-or-later with decades of stability.

  • Official GNU Project foundation maintenance
Docs & Verifiability 8 / 10

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

Auth Modes
No Auth
Credential Storage

None required; operates purely on local directory trees and symlinks.

Side Effects
Read-Only Local Write Destructive
Cost & Quotas

100% free, offline, and open-source (GPL-3.0-or-later).

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

Simulate stowing a dotfile package without writing symlinks
stow -n -v -t ~ zsh

Uses -n (--simulate) and -v to preview every symlink creation or conflict under ~ without touching disk.

Controlled Writes & Previews

Restow a package cleanly after updating files
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 --json output and no native Windows support.
  • ! --adopt moves existing target files into the stow package directory, which can surprise users.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI