ktx-ai-data-context-layer

Ingests metadata from databases, dbt, Looker, Metabase, and wikis to build a semantic layer for MCP-driven queries.

2|1|Updated May 16, 2026
One-click install
npx skills add https://github.com/Aradotso/ai-agent-skills --skill ktx-ai-data-context-layer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ktx-ai-data-context-layer
Source: https://github.com/Aradotso/ai-agent-skills/tree/main/skills/ktx-ai-data-context-layer
Command: npx skills add https://github.com/Aradotso/ai-agent-skills --skill ktx-ai-data-context-layer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

In data-centric AI workflows, agents often lack a single source of truth for data sources, schemas, and business rules. This skill provides a self-contained context layer by ingesting metadata from databases, dbt, Looker, Metabase, and wiki sources to build a semantic layer that agents can query.

Core Features & Use Cases

  • Ingests database, dbt, Looker, Metabase, and wiki metadata to assemble a centralized semantic layer.
  • Maps joins, captures metadata usage, and exposes semantic entities to agents via MCP tools.
  • Supports end-to-end analytics workflows with project structure like ktx.yaml, semantic-layer, and wiki directories.

Quick Start

Run ktx setup in your analytics project to initialize the context layer and begin ingestion of metadata.

Frequently Asked Questions about ktx-ai-data-context-layer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a semantic layer for AI agents to query multiple data warehouses?

To build a semantic layer for AI agents, you need to ingest metadata from databases, dbt, Looker, Metabase, and wikis into a centralized context layer. This provides a unified source of truth for schemas and business rules that agents can query via MCP tools.

What is the best way to provide dbt and Looker context to an MCP-driven analytics agent?

Providing dbt and Looker context to an MCP-driven agent requires ingesting their metadata to map joins and capture usage rules. This Skill assembles that metadata into a semantic layer, exposing semantic entities directly to agents for accurate data querying.

How do I set up a project structure for ingesting wiki and database metadata?

You set up a project structure for metadata ingestion by initializing the context layer with a ktx.yaml configuration file. This creates dedicated semantic-layer and wiki directories to organize metadata for MCP-driven agent inquiries.

Can I use this semantic layer with Metabase and dbt metadata simultaneously?

Yes, you can use this semantic layer with Metabase and dbt simultaneously. It ingests metadata from both platforms alongside databases and wikis, mapping joins and capturing usage to expose a unified semantic context for your AI agents.

Why does my AI agent lack context about business rules when querying a data warehouse?

AI agents lack context about business rules because they do not have a single source of truth for schemas and joins. Ingesting metadata from wikis and BI tools into a centralized semantic layer resolves this by providing accurate, unified context for agent inquiries.