Safe SQL Execution
supabase/supabase
A skill your agent uses whenever code will build, return, fetch, or execute SQL that runs against a user's real Postgres database — even when the request reads like an ordinary feature or bug fix…
Generate .ctx.yaml table group context files for NL2SQL optimization.
$ npx skills add flyxl/datazen --skill gen-ctx-yaml -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install flyxl/datazen gen-ctx-yaml --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/flyxl/datazen.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/gen-ctx-yaml .claude/skills/gen-ctx-yaml && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "gen-ctx-yaml" agent skill from https://github.com/flyxl/datazen/tree/main/.cursor/skills/gen-ctx-yaml into .claude/skills/gen-ctx-yaml/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gen-ctx-yaml", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/flyxl/datazen/tree/main/.cursor/skills/gen-ctx-yamlType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add flyxl/datazen --skill gen-ctx-yaml -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install flyxl/datazen gen-ctx-yaml --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/flyxl/datazen.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.cursor/skills/gen-ctx-yaml .agents/skills/gen-ctx-yaml && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "gen-ctx-yaml" agent skill from https://github.com/flyxl/datazen/tree/main/.cursor/skills/gen-ctx-yaml into .agents/skills/gen-ctx-yaml/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gen-ctx-yaml", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add flyxl/datazen --skill gen-ctx-yaml -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install flyxl/datazen gen-ctx-yaml --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/flyxl/datazen.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.cursor/skills/gen-ctx-yaml .cursor/skills/gen-ctx-yaml && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "gen-ctx-yaml" agent skill from https://github.com/flyxl/datazen/tree/main/.cursor/skills/gen-ctx-yaml into .cursor/skills/gen-ctx-yaml/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gen-ctx-yaml", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/flyxl/datazen.git --path .cursor/skills/gen-ctx-yaml--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add flyxl/datazen --skill gen-ctx-yaml -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install flyxl/datazen gen-ctx-yaml --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/flyxl/datazen.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.cursor/skills/gen-ctx-yaml .gemini/skills/gen-ctx-yaml && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "gen-ctx-yaml" agent skill from https://github.com/flyxl/datazen/tree/main/.cursor/skills/gen-ctx-yaml into .gemini/skills/gen-ctx-yaml/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gen-ctx-yaml", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install flyxl/datazen gen-ctx-yamlInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add flyxl/datazen --skill gen-ctx-yaml -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/flyxl/datazen.git skills-src && mkdir -p .github/skills && cp -r skills-src/.cursor/skills/gen-ctx-yaml .github/skills/gen-ctx-yaml && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "gen-ctx-yaml" agent skill from https://github.com/flyxl/datazen/tree/main/.cursor/skills/gen-ctx-yaml into .github/skills/gen-ctx-yaml/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gen-ctx-yaml", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add flyxl/datazen --skill gen-ctx-yaml -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install flyxl/datazen gen-ctx-yaml --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/flyxl/datazen.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.cursor/skills/gen-ctx-yaml .opencode/skills/gen-ctx-yaml && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "gen-ctx-yaml" agent skill from https://github.com/flyxl/datazen/tree/main/.cursor/skills/gen-ctx-yaml into .opencode/skills/gen-ctx-yaml/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gen-ctx-yaml", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
gen-ctx-yamlGenerate .ctx.yaml table group context files for NL2SQL optimization.
Gen Ctx YAML is an agent skill from flyxl/datazen. Generate .ctx.yaml table group context files for NL2SQL optimization. Use when the user asks to create table groups, generate context files, or wants to organize database tables into named groups for AI-assisted SQL generation.
Its SKILL.md is about 660 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Databases, covering SQL. It works with SQL and PostgreSQL. The repository describes itself as: Lightweight GPL-3.0 desktop database client (PostgreSQL / MySQL / SQLite / Redis). Built with Tauri + Rust, under 15MB. The licence is GPL-3.0.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit a6c7507. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are yaml).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Gen Ctx YAML loads about 661 tokens when it runs. Until then it costs about 60 tokens; SKILL.md has 276 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from flyxl/datazen at commit a6c7507, republished under its GPL-3.0 licence (© flyxl). 276 words, ~661 tokens.
.claude/skills/gen-ctx-yaml/SKILL.md (or your agent's skills folder).Create .ctx.yaml files that define named table groups for NL2SQL context.
When a user @-references a .ctx.yaml file in the AI input, DataZen
automatically extracts the listed table names, fetches their real-time DDL,
and injects the schemas into the system prompt.
groups:
- name: "Group Name"
tables:
- table_name_1
- schema.table_name_2Ask the user which tables to include and how to group them. If the user provides a natural language description (e.g. "user management tables"), map it to concrete table names. If unsure, list candidates and confirm.
Generate the .ctx.yaml content following the format above.
Determine save location:
context_get_dir,
typically {appData}/contexts/).<descriptive-name>.ctx.yaml
(e.g. user-management.ctx.yaml, sales-pipeline.ctx.yaml).Write the file and confirm to the user.
name (string) and tables (list of strings).schema.table notation (e.g. PostgreSQL), include the
schema prefix: public.users..ctx.yaml or .ctx.yml.User: "Create a context file for our e-commerce database with user tables and order tables"
Output (ecommerce.ctx.yaml):
groups:
- name: "User Management"
tables:
- users
- user_roles
- permissions
- user_sessions
- name: "Order Processing"
tables:
- orders
- order_items
- payments
- shipping_addressesAfter creating the file, instruct the user:
Place this file in your DataZen context directory. When writing SQL with AI assistance, type
@and select the.ctx.yamlfile. DataZen will automatically fetch the latest schemas for all listed tables and include them in the AI context.
© flyxl, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .cursor/skills/gen-ctx-yaml of flyxl/datazen.
Open the folder on GitHubat commit a6c7507
Gen Ctx YAML next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Gen Ctx YAML this skillflyxl/datazen | 114 | — | ~661 | Automated safety check: Pass | GPL-3.0 | |
| Safe SQL Executionsupabase/supabase | 111k | — | ~4.2k | Automated safety check: Pass | Apache-2.0 | |
| Citus Backportcitusdata/citus | 13k | — | ~3.2k | Automated safety check: Pass | AGPL-3.0 | |
| SQL Database Support for pRESTprest/prest | 4.6k | — | ~1.6k | Automated safety check: Pass | MIT | |
| Chdb SQLvemetric/vemetric | 395 | 1 repos | ~1.2k | Automated safety check: Pass | Apache-2.0 | |
| Mz BenchmarkMaterializeInc/materialize | 6.4k | — | ~2.8k | Automated safety check: Pass | Custom licence |
supabase/supabase
A skill your agent uses whenever code will build, return, fetch, or execute SQL that runs against a user's real Postgres database — even when the request reads like an ordinary feature or bug fix…
citusdata/citus
Backport one or more merged citusdata/citus main commits/PRs onto the active release branches.
prest/prest
Guides classifying, gap-analyzing and scaffolding support for a new SQL database in pREST, from Postgres-compatible variants to entirely new dialects.
vemetric/vemetric
A skill your agent uses when the user wants to run SQL — especially analytical SQL — on local files (parquet/csv/json), URLs, S3 paths, or remote databases (Postgres, MySQL, MongoDB, ClickHouse…
MaterializeInc/materialize
Add/modify/debug Materialize perf benchmark scenarios. An agent skill from MaterializeInc/materialize.
timescale/pg-aiguide
Explore an existing PostgreSQL database before answering questions about its data or writing SQL.
flyxl/datazen
Update the DataZen application version number across all files and trigger a GitHub release rebuild.
flyxl/datazen
Orchestrate multi-track parallel feature development with subagents and git worktrees.
flyxl/datazen
Create, scaffold, modify, debug, package and test a DataZen Workspace App (Wapp / UI Extension), a sandboxed runtime app that contributes a workspace page and/or themes.
Works with
Categories
Generate .ctx.yaml table group context files for NL2SQL optimization. Gen Ctx YAML is an agent skill from flyxl/datazen.yaml table group context files for NL2SQL optimization.
Gen Ctx YAML fits situations like: the user asks to create table groups; generate context files; wants to organize database tables into named groups for AI-assisted SQL generation.
Run `npx skills add flyxl/datazen --skill gen-ctx-yaml -a claude-code`. Or copy the skill folder (.cursor/skills/gen-ctx-yaml in flyxl/datazen) into .claude/skills/gen-ctx-yaml in your project. Claude Code loads it when a task matches its description.
Run `npx skills add flyxl/datazen --skill gen-ctx-yaml -a codex`. Or copy the skill folder (.cursor/skills/gen-ctx-yaml in flyxl/datazen) into .agents/skills/gen-ctx-yaml in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add flyxl/datazen --skill gen-ctx-yaml -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gen-ctx-yaml, .gemini/skills/gen-ctx-yaml, .github/skills/gen-ctx-yaml and .opencode/skills/gen-ctx-yaml in your project.
SKILL.md names no scripts, command-line tools or credentials: Gen Ctx YAML is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Gen Ctx YAML is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 661 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Gen Ctx YAML: Safe SQL Execution (supabase/supabase, 111k stars), Citus Backport (citusdata/citus, 13k stars), SQL Database Support for pREST (prest/prest, 4.6k stars) and Chdb SQL (vemetric/vemetric, 395 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
flyxl (a GitHub user) maintains it in flyxl/datazen, which has 114 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 10, 2026.
Source: flyxl/datazen on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.