data-context-extractor

Extract tribal knowledge from analysts to generate data analysis skills.

Updated Feb 6, 2026
One-click install
npx skills add https://github.com/lohasle/knowledge-work-plugins --skill data-context-extractor-lohasle
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: data-context-extractor
Source: https://github.com/lohasle/knowledge-work-plugins/tree/main/data/skills/data-context-extractor
Command: npx skills add https://github.com/lohasle/knowledge-work-plugins --skill data-context-extractor-lohasle

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill helps create and refine tailored data analysis skills by extracting crucial "tribal knowledge" from data analysts, ensuring AI models understand company-specific data warehouses, terminology, and query patterns.

Core Features & Use Cases

  • Bootstrap Mode: Guides users through discovering database schemas, identifying key tables, and asking targeted questions to generate a new, company-specific data analysis skill from scratch.
  • Iteration Mode: Allows for the enhancement of existing data skills by adding context about new domains, metrics, or terminology through targeted discovery and reference file updates.
  • Use Case: A company wants to build a specialized AI assistant for its data team. This skill can be used to interview analysts, document their understanding of the Snowflake data warehouse, key metrics like ARR and LTV, and common query pitfalls, resulting in a robust, customized data analysis skill.

Quick Start

Use the data-context-extractor skill to create a new data context skill for our company's data warehouse.

Frequently Asked Questions about data-context-extractor

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

FAQPage Schema
How do I extract tribal knowledge from data analysts to document a data warehouse?

Extract tribal knowledge from data analysts by using guided Q&A sessions to discover database schemas, identify key tables, and document company-specific terminology. This process captures implicit knowledge and translates it into structured reference files for data warehouses like BigQuery, Snowflake, and Databricks.

What is the best way to build a custom data analysis skill for my company's metrics?

Build a custom data analysis skill through bootstrap mode, which guides you step-by-step to discover schemas and define key metrics like ARR and LTV. It generates a tailored skill by interviewing analysts about their query patterns and terminology.

Can I update an existing data analysis skill to include new domains and metrics?

Update an existing data analysis skill using iteration mode, which facilitates targeted discovery to add context about new domains or terminology. This mode enhances your current skill by appending new metric definitions and updating reference files.

Does this approach work with Snowflake, BigQuery, and Databricks environments?

This approach works with Snowflake, BigQuery, and Databricks environments by facilitating schema discovery and query pattern documentation specific to those platforms. It extracts tribal knowledge to help AI models understand your company-specific data warehouse setup.

How do I document SQL query patterns and common pitfalls for a data team?

Document SQL query patterns and common pitfalls by guiding data analysts through targeted questions that reveal their workflow. The extracted insights are saved as reference files, ensuring AI assistants understand company-specific query logic and avoid common mistakes.