AgentStack
SKILL verified Apache-2.0 Self-run

Okf Mysql

skill-xsavikx-okf-skills-okf-mysql · by xSAVIKx

MySQL connector that produces and ingests Open Knowledge Format (OKF) bundles from database schemas and table/column comments. Use when documenting or cataloging a MySQL database, extracting its schema and comments into OKF, or syncing descriptions back to MySQL via DDL.

No reviews yet
0 installs
14 views
0.0% view→install

Install

$ agentstack add skill-xsavikx-okf-skills-okf-mysql

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Okf Mysql? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

MySQL OKF Connector

This skill provides a Go-based CLI tool to convert MySQL database schemas and comments (table and column comments) into Open Knowledge Format (OKF) bundles, and synchronize comments back to a MySQL database from an OKF bundle.

When to Use

Use this skill when you need to:

  1. Extract table structures, column definitions, keys, and native MySQL comments from a schema into a portable OKF bundle.
  2. Synchronize business descriptions or documentation changes written in an OKF bundle back into native MySQL table and column comments.

Setup

The connector requires Go 1.24+:

# Install the published binary (Go 1.24+) — no clone needed:
go install github.com/xSAVIKx/okf-skills/skills/okf-mysql@v0.1.0

# …or build from a clone of the repository:
cd skills/okf-mysql
go build -o okf-mysql .

How to Use

1. Produce an OKF Bundle

Extract database schema metadata and comments:

./okf-mysql produce --host  --port  --user  --password  --db  --out  [--tables ] [--sample ] [--profile]

2. Ingest / Synchronize an OKF Bundle

Synchronize table/column descriptions from the OKF bundle back into database comments:

./okf-mysql ingest --host  --port  --user  --password  --db  --bundle  [--sync]

Parameters:

  • --host (default localhost): MySQL host.
  • --port (default 3306): MySQL port.
  • --user (required): MySQL user.
  • --password (required): MySQL password. May also be supplied via the MYSQL_PASSWORD environment variable to keep secrets out of the command line.
  • --db (required): Target database schema.
  • --bundle (required for ingest): Path to the OKF bundle.
  • --out (required for produce): Path to output OKF bundle.
  • --tables (optional): Filter to extract only specific tables.
  • --sample (optional): Embed up to N sample rows per table as a ## Sample section in each table doc (default 0 = none).
  • --profile (optional): Compute per-column statistics (non-null, null, distinct, min, max) and embed a ## Data Profile section.
  • --sync (optional for ingest): If provided, runs ALTER TABLE ... COMMENT = ... and MODIFY COLUMN ... COMMENT ... statements to synchronize descriptions.

3. Inspect the Schema (self-description)

Print a machine-readable JSON description of this skill's commands and flags (used by okf-mcp to expose the skill as an MCP tool):

./okf-mysql schema

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.