ktx-context-layer-data-agents — Claude Code skill: install
The ktx-context-layer-data-agents skill sets up ktx as a context layer for data agents, covering semantic metrics, a searchable wiki, and MCP access to warehouse context.
no license 133 installs ★ 9 updated 2026-10-09
npx skills add reason-machines/mcp-skills --skill ktx-context-layer-data-agents -a claude-codeWhat ktx-context-layer-data-agents does
The skill helps an agent add ktx to a project and prepare a queryable context layer. ktx keeps approved metric definitions and join relationships, imports knowledge from sources such as dbt, Looker, and Notion, then exposes the result through its CLI or an MCP server.
The setup requires Node.js 18+, a SQL warehouse, and an LLM provider API key from Anthropic, Google Vertex AI, or AI Gateway. Supported warehouses include PostgreSQL, Snowflake, BigQuery, ClickHouse, MySQL, SQL Server, and SQLite. The workflow creates ktx.yaml, builds context with ktx setup and ktx ingest, and starts agent access with ktx mcp start. The LLM provider key is required before the context layer can be ready.
What it helps with
- prepare context for warehouse questions
- build a semantic layer from dbt
- search metrics and business notes
- connect a data agent through MCP
- inspect the ktx project state
Example prompts for the agent
- Set up ktx for this PostgreSQL project and create
ktx.yaml. - Ingest context from
./dbt/target/manifest.json, then check the project status. - Start the ktx MCP server so the agent can query the warehouse context.
How to install ktx-context-layer-data-agents
1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill ktx-context-layer-data-agents -a claude-code2Manually: put the files in place
~/.claude/skills/ktx-context-layer-data-agents/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/ktx-context-layer-data-agents/
1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill ktx-context-layer-data-agents -a codex2Manually: put the files in place
.agents/skills/ktx-context-layer-data-agents/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill ktx-context-layer-data-agents -a cursor2Manually: put the files in place
.cursor/skills/ktx-context-layer-data-agents/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install reason-machines/mcp-skills skills/ktx-context-layer-data-agents2Manually: put the files in place
.github/skills/ktx-context-layer-data-agents/SKILL.md1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill ktx-context-layer-data-agents -a gemini-cli2Platform CLI
gemini skills install https://github.com/reason-machines/mcp-skills --path skills/ktx-context-layer-data-agentsManually: put the files in place
.devin/skills/ktx-context-layer-data-agents/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill ktx-context-layer-data-agents -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about ktx-context-layer-data-agents
How do I install ktx-context-layer-data-agents in Claude Code?
Run npx skills add reason-machines/mcp-skills --skill ktx-context-layer-data-agents -a claude-code, then check ~/.claude/skills/ktx-context-layer-data-agents/SKILL.md.
What does ktx-context-layer-data-agents do?
It guides setup of ktx as a context layer for data agents. The layer combines semantic definitions, searchable wiki content, and MCP access for data queries.
What does ktx need to run?
You need Node.js 18+, a SQL warehouse, and an API key for Anthropic, Google Vertex AI, or AI Gateway. PostgreSQL, Snowflake, BigQuery, ClickHouse, MySQL, SQL Server, and SQLite are supported.