Skills for Real Engineers. Straight from my .agents directory.
sl
Agent skill fromKaelio/ktx
ktx's semantic layer - a structured catalog of sources (tables/views), measures, joins, and segments expressed as YAML. Covers the schema and how to query it via `sl_query`. Use when the task involves querying pre-defined metrics (ARR, churn, retention, LTV, MAU) or reading SL source YAML to understand the catalog. Capture is handled by the `sl_capture` skill (memory-agent only).
How to install sl
npx skills add Kaelio/ktx# or add only this skill to Claude Code: copy the folder
packages/cli/src/skills/sl/
# into
~/.claude/skills/sl/ (all projects)
.claude/skills/sl/ (one project)
1# Semantic Layer23ktx's semantic layer (SL) is a structured catalog. Each **source** represents a table, a SQL view, or an overlay that enriches a manifest-backed table with measures, computed columns, joins, and named segments. The catalog is the single source of truth for reusable business metrics.45This skill covers two parts:6- **Part 1** - Schema reference (what an SL source looks like).7- **Part 2** - Querying via `sl_query`.89Capture (when and how to add new patterns to the SL) is a separate concern handled by the memory-agent - see the `sl_capture` skill if you are running in capture mode. The research agent **reads** and **queries** the SL via the tools described here; it does not write to it.1011For capture-time identifier verification, load `sl_capture`. Synthesis writer12skills must verify warehouse identifiers with `discover_data`,13`entity_details`, and `sql_execution` before emitting table or column names.1415---1617## Part 1 - Schema reference1819An SL source is a YAML file under `semantic-layer/<connectionId>/`. The file's `name:` field is the source's identity — it mirrors the warehouse identifier verbatim (e.g. Snowflake's uppercase `SIGNED_UP`); the filename is only a derived label. Always address sources by name through the `sl_*` tools, never by file path. There are three flavors:2021### Overlay sources22…
Excerpt shown under the repository's Apache-2.0 license.
More skills in ktx
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
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
