pg-schema-diff
$ pg-schema-diff Official Med Riskpg-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.
brew install pg-schema-diff 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
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Registry-verified CLI binary (pg-schema-diff); inspect --help output before assuming structured JSON flags.
- Indexed in Homebrew Core
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
Installable via brew install pg-schema-diff across macos, linux.
- Primary install:
brew install pg-schema-diff
Diff Postgres schemas and generating SQL migrations
- Official homepage/source: https://github.com/stripe/pg-schema-diff
official lineage tool maintained by stripe.
- Upstream repository: stripe/pg-schema-diff
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
Configured via service environment variables or local profile config file; verify provider docs before granting agent access.
Local binary is free; remote API or cloud resource actions depend on your vendor account quotas.
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
pg-schema-diff --help
Discover supported flags and subcommands for pg-schema-diff before constructing automated calls.
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 --helpto verify flags before scripting
Official References
Tested Agent Hosts
Follow Ecosystem Links
Related CLIs in Workspace & SaaS
View category hub →Official Datadog Labs CLI companion across 33+ Datadog products with `--output json`, `--no-envelope`, and automatic AI agent detection.
Official Lark/Feishu CLI built for humans and AI agents with 200+ commands, `--json` envelopes, and 20+ built-in Agent Skills.