/data:write-query <description of what data you need>from data
Write optimized SQL for your dialect with best practices. Use when translating a natural-language data need into SQL, building a multi-CTE query with joins and aggregations, optimizing a query against a large partitioned table, or getting dialect-specific syntax for Snowflake, BigQuery, Postgres, etc.
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.
None: SKILL.md is the whole skill.
If you see unfamiliar placeholders or need to check which tools are connected, see CONNECTORS.md.
Lark-native execution (depth core: LARK-PATTERNS, LARK-RECIPES, LARK-FUSION). SQL authoring stays specialty-external. Two Lark hooks: (1) if the user has no warehouse but the data lives in a Lark Base/Sheet, don't write SQL — read it directly with
lark_base_search(it REQUIRESsearch_fieldsand does NOT supportjq— narrow withselect_fields/limit, then aggregate via the Base data-query endpoint, LARK-RECIPES) orlark_sheets_read, and say so (P5). (2) Once a query is run, offer to land the result in Lark — a Sheet vialark_sheets_append, a tracker Base vialark_base_record_upsert(P5), or a report doc via thelark-docskill (P8).dry_runwrites first (P2).
/write-query <description of what data you need>
Parse the user's description to identify:
If the user's SQL dialect is not already known, ask which they use:
Remember the dialect for future queries in the same session.
If a data warehouse MCP server is connected:
Follow these best practices:
Structure:
daily_signups, active_users, revenue_by_product)Performance:
SELECT * in production queries -- specify only needed columnsEXISTS over IN for subqueries with large result setsReadability:
a, b, c)Dialect-specific optimizations:
sql-queries skill for details)Provide:
If a data warehouse is connected, offer to run the query and analyze the results. If the user wants to run it themselves, the query is ready to copy-paste.
After execution, offer to land the output on Lark (P8/P5) rather than leaving it in chat:
lark_sheets_append),lark_base_record_upsert, the system-of-record),lark-doc skill).dry_run: true any write first (P2), and resolve any people referenced in the result via
lark_contact_search before tagging them (P1).
Simple aggregation:
/write-query Count of orders by status for the last 30 days
Complex analysis:
/write-query Cohort retention analysis -- group users by their signup month, then show what percentage are still active (had at least one event) at 1, 3, 6, and 12 months after signup
Performance-critical:
/write-query We have a 500M row events table partitioned by date. Find the top 100 users by event count in the last 7 days with their most recent event type.
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