v0.1 — Drift Diagnosis, Restore & Bundle

A Master Tailor for
Your AI Agent

Snapshot, compare, audit, restore, and bundle your coding agent environment —
with the precision of Savile Row craftsmanship.

Workshop Terminal
$ snaptailor scan --project .
$ snaptailor diff baseline current --project .
$ snaptailor audit current --project .
$ snaptailor restore --snapshot baseline --dry-run --project .
$ snaptailor bundle export --name baseline --out backup.stailor

By design, snaptailor is read-only. It never executes MCP commands, scripts, or plugins. It never phones home. It never alters your configuration without explicit consent. It stores metadata-first and omits raw secrets. The integrity of your workshop is our first principle.

Services of the Workshop

Every tool a master tailor needs to preserve the perfect fit.

Snapshot

Preserve the complete state of your agent — prompts, MCP servers, skills, tools, and settings — in a single point-in-time capture.

Semantic Diff

Pinpoint every change between any two snapshots. See prompt edits, MCP additions, permission shifts, env key changes, and more.

Security Audit

Spot risky alterations: executable config additions, remote MCP servers, permission wildcards, and reproducibility gaps.

Provenance

Trace every setting to its origin — MCP server, env key, skill, hook, permission — back to user config, project config, or agent type.

Restore & Rollback

Generate a restore plan, execute per-type file restoration, and roll back automatically with LIFO undo — all available now.

Export & Bundle

Export snapshots to portable .stailor bundles (POSIX tar, SHA-256 verified). Import and inspect without full unpacking.

Step Into the Workshop

$ npm install -g @qxinm/snaptailor
$ snaptailor scan --project .

Requires Node.js 22 or later

How to Use

Five steps to a perfectly fitted agent environment.

01

Measure

Scan your project to detect agents, MCP servers, skills, hooks, env keys, and settings.

snaptailor scan --project . --explain
02

Cut

Create a baseline snapshot. Snapshots are metadata-only; bundles include supported content by default.

snaptailor snapshot create --name baseline --metadata-only --project .
03

Fit

After changes, diff against baseline, audit for risks, and trace provenance.

snaptailor diff baseline current --project .
snaptailor audit current --project .
snaptailor provenance current --project .
04

Restore

Generate a dry-run plan, then apply with per-type file executors. Apply mode requires --experimental.

snaptailor restore --snapshot baseline --dry-run --project .
snaptailor restore --snapshot baseline --apply --experimental --project .
05

Bundle

Export snapshots to portable .stailor bundles. Preview Mac readiness before applying content.

snaptailor bundle export --name baseline --out backup.stailor --project .
snaptailor bundle inspect backup.stailor
snaptailor doctor --project .
snaptailor bundle import backup.stailor --dry-run --project .

The Savile Row Philosophy

Like a master tailor on London's Savile Row, we believe in precision, care, and enduring quality.

Measure

Inventory every part of your agent setup

Cut

Take precise snapshots of the perfect config

Fit

Diff and audit to keep everything aligned

Restore

Roll back to the perfect fit at any time

Bundle

Export and share portable agent configurations