Agent skill · Databases

historic_sql_table_digest

Convert one changed historic-SQL table usage bucket into typed table usage evidence for deterministic _schema projection.

Kaeliogithub.com/KaelioGitHub ↗
claude-codecodexApache-2.0
Install
npx skills add Kaelio/ktx --skill historic_sql_table_digest --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 4 KB
Bundled scripts: none
Path: packages/cli/src/skills/historic_sql_table_digest/SKILL.md
Open the folder on GitHub →
Where it comes from
Source: Kaelio/ktx
Stars: 1,526 · +15 this week
Language: TypeScript
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Historic SQL Table Digest Use this skill when the WorkUnit raw file is one `tables/<schema>.<name>.json` file from the `historic-sql` adapter. ## Required Workflow 1. Read the WorkUnit notes first. 2. Call `read_raw_file` for the single `tables/<schema>.<name>.json` raw file. 3. Read `manifest.json` only if the table JSON omits the dialect or the WorkUnit notes are unclear. 4. Produce one concise usage narrative for this table from the staged table JSON. 5. Call `emit_historic_sql_evidence` exactly once with `kind: "table_usage"`. 6. Stop after the evidence tool succeeds. ## Identifier Verification Protocol Before writing a wiki page or SL source on any topic: 1. `discover_data({query: "<topic>"})` - see what wikis, SL sources, and raw tables already exist. Prefer updating existing pages over creating new ones. Before emitting any `schema.table` or `schema.table.column` into a wiki body, SL source, `tables:` frontmatter, `sl_refs`, or `emit_unmapped_fallback`: 2. `entity_details({connectionId, targets: [{display: "<identifier>"}]})` - confirm the identifier resolves; inspect native types, FK/PK, and sampleValues. 3. For literal values from the source, such as status codes or plan

What's inside
Steps it walks through
  1. Required Workflow
  2. Identifier Verification Protocol
  3. Evidence Shape
  4. Interpretation Rules
  5. Boundaries
More from ktx
All skills →
About this skill
What does the historic_sql_table_digest skill do?

Convert one changed historic-SQL table usage bucket into typed table usage evidence for deterministic _schema projection.

How do I install it?

Run `npx skills add Kaelio/ktx --skill historic_sql_table_digest --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From Kaelio/ktx, a repository with 1,526 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going