Skills for Real Engineers. Straight from my .agents directory.
historic_sql_patterns
Agent skill fromKaelio/ktx
Identify recurring cross-table historic-SQL analytical intents from a bounded pattern shard and emit typed pattern evidence for deterministic wiki projection.
How to install historic_sql_patterns
npx skills add Kaelio/ktx# or add only this skill to Claude Code: copy the folder
packages/cli/src/skills/historic_sql_patterns/
# into
~/.claude/skills/historic_sql_patterns/ (all projects)
.claude/skills/historic_sql_patterns/ (one project)
1# Historic SQL Patterns23Use this skill when the WorkUnit raw file is a `patterns-input/part-0001.json` style shard from the `historic-sql` adapter. Older staged bundles may still provide root `patterns-input.json`; when that is the WorkUnit raw file, read it the same way.45## Required Workflow671. Read the WorkUnit notes first.82. Find the single pattern input file listed under the WorkUnit `rawFiles` section.93. Call `read_raw_file` for that exact raw file path.104. Identify recurring analytical intents that span at least two tables and have repeated usage signal.115. Emit one `pattern` evidence object per durable cross-table intent by calling `emit_historic_sql_evidence`.126. Stop after all pattern evidence has been emitted.1314Every join column mentioned in pattern descriptions must be verified via15entity_details for both sides of the join.1617## Identifier Verification Protocol1819Before writing a wiki page or SL source on any topic:20211. `discover_data({query: "<topic>"})` - see what wikis, SL sources, and raw22 tables already exist. Prefer updating existing pages over creating new ones.2324Before emitting any `schema.table` or `schema.table.column` into a wiki body,25SL source, `tables:` frontmatter, `sl_refs`, or `emit_unmapped_fallback`:26272. `entity_details({connectionId, targets: [{display: "<identifier>"}]})` -28 confirm the identifier resolves; inspect native types, FK/PK, and29 sampleValues.303. For literal values from the source, such as status codes or plan tiers,31…
Excerpt shown under the repository's Apache-2.0 license.
More skills in ktx
Similar skill repositories
Public repository for Agent Skills
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
The open-source app everyone uses to manage agents at work
The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, catch AI slop before it ships.
