data-context-extractor

Generate company-specific data analysis skills by extracting warehouse schema and analyst knowledge.

1|Updated Mar 2, 2026
Ready to run
npx skills add https://github.com/monthop-gmail/botforge --skill data-context-extractor-monthop-gmail
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: data-context-extractor
Source: https://github.com/monthop-gmail/botforge/tree/main/templates/bot-service-adkcode/server/plugins/data/skills/data-context-extractor
Command: npx skills add https://github.com/monthop-gmail/botforge --skill data-context-extractor-monthop-gmail

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Data analysts waste time correcting AI-generated queries that lack company-specific context like entity definitions, metric formulas, and standard filters. This Skill captures that tribal knowledge and packages it into a reusable data analysis skill tailored to a specific warehouse. ## Core Features & Use Cases - Bootstrap Mode: Discovers schemas in BigQuery, Snowflake, PostgreSQL/Redshift, or Databricks, interviews the analyst about entities, metrics, and gotchas, then generates a complete skill with reference files. - Iteration Mode: Loads an existing data skill, identifies documentation gaps, and appends new domain-specific reference files. - Dialect-Aware Output: Includes SQL dialect notes, standard filters, metric formulas, and runnable sample queries per domain. - Use Case: An analytics team wants Claude to correctly calculate ARR and exclude test accounts when querying their Snowflake warehouse; this Skill interviews the team and produces a packaged skill encoding those rules. ## Quick Start Ask the assistant to create a data context skill for your warehouse and answer its questions about your key tables, metrics, and filters.

Frequently Asked Questions about data-context-extractor

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

FAQPage Schema
How do I create a data analysis skill for my data warehouse?▼

Run the bootstrap mode by asking to create a data context skill. The process connects to your warehouse, explores schemas for your most-queried tables, asks questions about entities and metrics, then generates a complete skill with reference files.

What data warehouses does the data context extractor support?▼

It supports BigQuery, Snowflake, PostgreSQL/Redshift, Databricks/Spark SQL, and MySQL. Each generated skill includes dialect-specific SQL notes covering date functions, safe division, and table reference syntax.

How do I update an existing data skill with new domain context?▼

Use iteration mode by providing your existing skill and describing the gap, such as a missing domain or undocumented metric. The skill explores relevant tables, asks targeted questions, and adds a new reference file before repackaging.

What information should I prepare before generating a data skill?▼

Identify your 3-5 most-queried tables, key metric definitions with exact formulas, standard filters like test or internal data exclusions, and common analyst mistakes. This context produces more accurate and useful generated skills.

Why do AI-generated SQL queries produce wrong results without a data skill?▼

Generic AI lacks company-specific context such as entity disambiguation, metric formulas, and exclusion filters. A generated data skill encodes these rules so queries use correct tables, joins, and WHERE clauses by default.