Directory Compare FCRS-1.0 About /llms.txt

pg-schema-diff

$ pg-schema-diff Official Med Risk
stripe · Workspace & SaaS · MIT · macos / linux · Reviewed:

pg-schema-diff (pg-schema-diff) — Diff Postgres schemas and generating SQL migrations. Verified across Homebrew Core; included for structured shell automation under FCRS-1.0 baseline review.

FCRS-1.0 Score
66 /100
Usable w/ Caveats
Low Confidence
Zero-Friction Install
brew install pg-schema-diff
CLI vs MCP Decision CLI Preferred vs MCP

Calling pg-schema-diff directly via shell lets agents filter stdout and avoid upfront MCP schema context bloat; start from pg-schema-diff --help before write commands.

At a Glance

Command
$ pg-schema-diff
FCRS-1.0 Score
66/100 (Usable w/ Caveats)
Evidence Tier
Low Confidence
CLI vs MCP
CLI Preferred vs MCP
Reviewed Date

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 14 / 25

Registry-verified CLI binary (pg-schema-diff); inspect --help output before assuming structured JSON flags.

  • Indexed in Homebrew Core
Trust & Safety 16 / 25

Classified as medium risk based on workspace-saas scope and upstream package metadata.

  • Install channel verified via brew install pg-schema-diff
  • Declared license: MIT
Setup & Portability 11 / 15

Installable via brew install pg-schema-diff across macos, linux.

  • Primary install: brew install pg-schema-diff
Utility & Efficiency 10 / 15

Diff Postgres schemas and generating SQL migrations

  • Official homepage/source: https://github.com/stripe/pg-schema-diff
Maintenance & Lineage 8 / 10

official lineage tool maintained by stripe.

  • Upstream repository: stripe/pg-schema-diff
Docs & Verifiability 7 / 10

Upstream documentation linked at https://github.com/stripe/pg-schema-diff; baseline FCRS cap applies until local probe runs.

  • https://github.com/stripe/pg-schema-diff

Security, Auth & Guardrails

Auth Modes
Env API Key Config File
Credential Storage

Configured via service environment variables or local profile config file; verify provider docs before granting agent access.

Side Effects
Read-Only Remote Write
Cost & Quotas

Local binary is free; remote API or cloud resource actions depend on your vendor account quotas.

Copyable Guardrail for CLAUDE.md / AGENTS.md
When invoking `pg-schema-diff`, verify flags with `pg-schema-diff --help` first, close stdin to avoid interactive prompts, and require confirmation before remote or destructive mutations.

Agent-Ready Command Recipes

Safe Read-Only Queries

Inspect available subcommands & flags
pg-schema-diff --help

Discover supported flags and subcommands for pg-schema-diff before constructing automated calls.

Verify binary version & availability
pg-schema-diff --version

Confirm pg-schema-diff is installed and executable in PATH with zero side effects.

Strengths for Agents

  • + Indexed in Homebrew Core with reproducible install via brew install pg-schema-diff
  • + Standalone CLI binary (pg-schema-diff) directly composable in shell pipelines

Caveats & Pitfalls

  • ! Low-confidence baseline review: not yet locally probed on this host; run pg-schema-diff --help to verify flags before scripting

Tested Agent Hosts

Follow Ecosystem Links

Related CLIs in Workspace & SaaS

View category hub →
ruby-lsp 66/100
$ ruby-lsp

Opinionated language server for Ruby

$ stripe-mock

Mock HTTP server that responds like the real Stripe API

mailhog 66/100
$ MailHog

Web and API based SMTP testing

$ agento11y

Actually Useful Agent Observability

$ pup

Official Datadog Labs CLI companion across 33+ Datadog products with `--output json`, `--no-envelope`, and automatic AI agent detection.

$ lark-cli

Official Lark/Feishu CLI built for humans and AI agents with 200+ commands, `--json` envelopes, and 20+ built-in Agent Skills.