use-gfs-cli

use-gfs-cli is a skill for Claude Code, Codex from Guepard-Corp/gfs. It costs 33 tokens per session (3,319 once invoked), scanned C, original, MIT.

A Git-like version-control tool for databases. It can record database states, create branches, switch between versions, travel through database history, and track changes to the database structure.

In plain words
What is it for?
Use it to initialize and manage PostgreSQL or MySQL database repositories, commit changes, create or switch branches, inspect history, and return to earlier states.
Why use it?
It gives developers a history of database changes instead of relying only on the current live database. Branches and commits also provide a way to review database changes before applying them.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/guepard-corp/gfs/use-gfs-cli
Any agent
npx skills add Guepard-Corp/gfs --skill use-gfs-cli
Clone the repo
git clone --depth 1 https://github.com/Guepard-Corp/gfs

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for use-gfs-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/guepard-corp/gfs/use-gfs-cli.svg)](https://agentmods.dev/skills/guepard-corp/gfs/use-gfs-cli)
Your own site
<a href="https://agentmods.dev/skills/guepard-corp/gfs/use-gfs-cli"><img src="https://agentmods.dev/badge/skills/guepard-corp/gfs/use-gfs-cli.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,319 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00033 $0.03319
Opus 5 $0.00016 $0.01659
Sonnet 5 $0.00007 $0.00664
Haiku 4.5 $0.00003 $0.00332

Measured 4d ago against content hash bdcb4d257197, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

use-gfs-cli scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://gfs.guepard.run/install | bash

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://gfs.guepard.run/install | bash
skills/use-gfs-cli/SKILL.md · 561 lines

How it starts

The opening of the file, as written. The whole thing — 561 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GFS CLI (Git For database Systems)

GFS brings Git-like version control to your databases. Commit database states, create branches, switch between versions, travel through your database history, and track schema evolution over time.

Supported Databases

  • PostgreSQL (versions 13-18)
  • MySQL (versions 8.0-8.1)

Installation

1. Check if GFS is installed

gfs version

2. If not installed, install using

curl -fsSL https://gfs.guepard.run/install | bash

Validate the installation:

gfs version

Global Flags

--json — Machine-Readable Output

Add --json before any subcommand for structured JSON output instead of styled text. This is the recommended approach for scripts and AI agents:

# Commit and get the hash programmatically
gfs --json commit -m "add users table"
# → {"hash":"b57732d8...","branch":"main","message":"add users table"}

# Init and get the connection string
gfs --json init --database-provider postgres --database-version 17
# → {"path":"/my/project","branch":"main","config":".gfs/config.toml","provider":"postgres"}

# Checkout and confirm
gfs --json checkout -b feature/auth
# → {"hash":"b57732d8...","branch":"feature/auth","new_branch":true}

# Export and get the file path
gfs --json export --format sql
# → {"file_path":".gfs/exports/dump.sql","format":"sql"}

Supported commands: init, commit, checkout, export, import

Status JSON:

  • gfs --json status outputs JSON by default
  • gfs status --output json outputs JSON (explicit format)
  • gfs status --output table forces table output (overrides global --json)

--color — Color Control

gfs --color never status   # No ANSI colors (for piping)
gfs --color always log     # Force colors even when piped

Exit Codes

Command Code Meaning
gfs status 0 Compute running or not configured
gfs status 1 Compute configured but not running
gfs schema diff 0 No schema changes
gfs schema diff 1 Schema changes detected
gfs schema diff 2 Breaking changes detected

Read the full file on GitHub · 561 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 561 lines · 33 tokens per session scan C bdcb4d257197

Subscribe to this mod's changes

use-gfs-cli is a skill published in the GitHub repository Guepard-Corp/gfs (156 stars, last pushed today), licensed MIT. It adds 33 tokens to every session and 3,319 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

dory

Use Dory as the official AI-native SQL workspace for agents. Use when the user asks to inspect or analyze databases, explore unknown schemas, debug data issues, run read-only SQL through Dory MCP, manage Dory Agent Runs, create or update SQL workspace tabs, work with saved queries, preserve query results, or hand SQL…

dorylab/dory · 80 tokens

dbx

DBX CLI for database schema exploration and read-only queries. When the user needs to list connections, explore tables, describe schemas, run queries, or generate AI-friendly schema context from DBX-managed databases. Do NOT use for write operations unless the user explicitly confirms with --allow-writes.

t8y2/dbx · 61 tokens

whodb

Query and explore databases via MCP. Use when the user asks to inspect schemas, run SQL, browse tables, analyze data quality, generate ER diagrams, or work with PostgreSQL, MySQL, MariaDB, TiDB, SQLite, MongoDB, Redis, ClickHouse, Elasticsearch, or DuckDB.

clidey/whodb · 64 tokens

schema-designer

Help design database schemas, create tables, and plan data models. Activates when users ask to create tables, design schemas, or model data relationships.

clidey/whodb · 34 tokens

query-builder

Convert natural language questions into SQL queries. Activates when users ask data questions in plain English like "show me users who signed up last week" or "find orders over $100".

clidey/whodb · 40 tokens

graphjin-eval

Create, extend, run, baseline, and diagnose GraphJin agent evaluations through the graphjin eval CLI.

dosco/graphjin · 27 tokens