/data:data-context-extractorfrom data
Generate or improve a company-specific data analysis skill by extracting tribal knowledge from analysts. BOOTSTRAP MODE - Triggers: "Create a data context skill", "Set up data analysis for our warehouse", "Help me create a skill for our database", "Generate a data skill for [company]" → Discovers schemas, asks key questions, generates initial skill with reference files ITERATION MODE - Triggers: "Add context about [domain]", "The skill needs more info about [topic]", "Update the data skill with [metrics/tables/terminology]", "Improve the [domain] reference" → Loads existing skill, asks targeted questions, appends/updates reference files Use when data analysts want Claude to understand their company's specific data warehouse, terminology, metrics definitions, and common query patterns.
Ships in data. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
A meta-skill that extracts company-specific data knowledge from analysts and generates tailored data analysis skills.
Lark-native execution (depth core: LARK-PATTERNS, LARK-FUSION). Warehouse schema discovery (the
~~data warehousetools) stays specialty-external. Lark hooks: (1) a company's system-of-record is often a Lark Base, not a warehouse — when so, discover its schema via thelark-baseskill (tables/fields/views) and read sample rows withlark_base_search, then document those as the entities/metrics/tables (P5). (2) Deliver the generated skill on Lark, not only as a zip —lark_drive_uploadthe package (P8), and publish the human-readable schema docs (entities/metrics) to Wiki vialark_wiki_node_createso analysts find them (P8). Resolve interviewees/owners vialark_contact_search(P1).
This skill has two modes:
Use when: User wants to create a new data context skill for their warehouse.
Step 1: Identify the database type
Ask: "What data warehouse are you using?"
Common options:
Use ~~data warehouse tools (query and schema) to connect. If unclear, check available MCP tools in the
current session. If the source is a Lark Base, skip the warehouse tools: introspect schema via the
lark-base skill (tables/fields/views) and sample rows with lark_base_search (it REQUIRES
search_fields and does NOT support jq — narrow with select_fields/limit, P5).
Step 2: Explore the schema
Use ~~data warehouse schema tools to:
Sample exploration queries by dialect:
-- BigQuery: List datasets
SELECT schema_name FROM INFORMATION_SCHEMA.SCHEMATA
-- BigQuery: List tables in a dataset
SELECT table_name FROM `project.dataset.INFORMATION_SCHEMA.TABLES`
-- Snowflake: List schemas
SHOW SCHEMAS IN DATABASE my_database
-- Snowflake: List tables
SHOW TABLES IN SCHEMA my_schema
After schema discovery, ask these questions conversationally (not all at once):
Entity Disambiguation (Critical)
"When people here say 'user' or 'customer', what exactly do they mean? Are there different types?"
Listen for:
Primary Identifiers
"What's the main identifier for a [customer/user/account]? Are there multiple IDs for the same entity?"
Listen for:
Key Metrics
"What are the 2-3 metrics people ask about most? How is each one calculated?"
Listen for:
Data Hygiene
"What should ALWAYS be filtered out of queries? (test data, fraud, internal users, etc.)"
Listen for:
Common Gotchas
"What mistakes do new analysts typically make with this data?"
Listen for:
Create a skill with this structure:
[company]-data-analyst/
├── SKILL.md
└── references/
├── entities.md # Entity definitions and relationships
├── metrics.md # KPI calculations
├── tables/ # One file per domain
│ ├── [domain1].md
│ └── [domain2].md
└── dashboards.json # Optional: existing dashboards catalog
SKILL.md Template: See references/skill-template.md
SQL Dialect Section: See references/sql-dialects.md and include the appropriate dialect notes.
Reference File Template: See references/domain-template.md
lark_drive_upload the zip (dry_run first, P2), and publish the
human-readable schema docs (entities/metrics) to Wiki via lark_wiki_node_create →
lark_doc_create so the team can browse them. Delegate non-trivial doc body to lark-doc.Use when: User has an existing skill but needs to add more context.
Ask user to upload their existing skill (zip or folder), or locate it if already in the session.
Read the current SKILL.md and reference files to understand what's already documented.
Ask: "What domain or topic needs more context? What queries are failing or producing wrong results?"
Common gaps:
For the identified domain:
Explore relevant tables: Use ~~data warehouse schema tools to find tables in that domain
Ask domain-specific questions:
Generate new reference file: Create references/[domain].md using the domain template
Each reference file should include:
Before delivering a generated skill, verify:
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub larkcowork/lark-cowork-plugins --plugin data10 skills in this plugin
/analyzeAnswer data questions -- from quick lookups to full analyses. Use when looking up a single metric, investigating what's driving a trend or drop, comparing segments over time, or preparing a formal data report for stakeholders./build-dashboardBuild an interactive HTML dashboard with charts, filters, and tables. Use when creating an executive overview with KPI cards, turning query results into a shareable self-contained report, building a team monitoring snapshot, or needing multiple charts with filters in one browser-openable file./create-vizCreate publication-quality visualizations with Python. Use when turning query results or a DataFrame into a chart, selecting the right chart type for a trend or comparison, generating a plot for a report or presentation, or needing an interactive chart with hover and zoom.Other plugins' skills for the same job