From chord
Answer data questions against the Chord warehouse using the chord MCP retrieval and execution tools. Use when the user asks about warehouse data, schema, metrics, revenue, customers, orders, products, subscriptions, sessions, attribution, Shopify, Klaviyo, Iterable, or any saved/canonical query — i.e. anything that would be answered by SQL against the Chord data model. Triggers include 'how many', 'show me', 'top N', 'last month', 'last quarter', 'trend', 'breakdown', 'compare', 'revenue', 'orders', 'customers'. Walks the agent through the default retrieval-grounded SQL workflow: search_schema → search_saved_views / search_sql_pairs → search_instructions → draft SQL → execute_sql. Requires the chord-copilot MCP server to be connected; if the mcp__chord__* tools are not available, fall back to the user's normal workflow and tell them to connect the server.
How this skill is triggered — by the user, by Claude, or both
Slash command
/chord:copilotThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You have access to a set of `mcp__chord__*` tools exposed by the chord-copilot
You have access to a set of mcp__chord__* tools exposed by the chord-copilot
MCP server. Reach for them automatically — without being asked — whenever the
user's request involves the project's warehouse data, schema, saved queries,
or product documentation. Do not fall back to hand-written SQL or guess at
table names when these tools are available.
search_schema — first stop for any data question. Discover which
tables exist and what they contain before writing SQL.search_sql_pairs — find past question/SQL pairs that resemble the
user's question. Useful as few-shot grounding before drafting new SQL.search_saved_views — check whether a user-blessed canonical query
already answers the question. Prefer an existing view over inventing SQL.search_instructions — pull any always-apply SQL guidance the user
has stored (filters, joins, casing rules, revenue/COGS conventions,
test-order exclusion). Run this before finalizing SQL.search_documentation — for "how do I…" questions about the Chord
Copilot product itself (global, not project-scoped).preview_table — peek at a handful of rows from a known table.
Capped at 100 rows; use for shape/sanity checks, not analysis.execute_sql — run a read-only query (SELECT/UNION/INTERSECT/EXCEPT
only; capped at 10000 rows). Pass validate_only=True to parse-check
without executing.For a data question:
search_schema — discover relevant tables.search_saved_views and search_sql_pairs — in parallel, look for a
canonical query or close prior example.search_instructions — pull always-apply SQL guidance.execute_sql (optionally with validate_only=True first for non-trivial
queries) to return rows.Run independent retrieval steps in parallel.
NET_REVENUE because
the user asked for 'revenue', not 'net revenue' — instruction #37
reserves the COGS+shipping formula for explicit 'net revenue' asks.")view_id so the user
can find it in Copilot.mcp__chord__* tools are missing from
the tool list. The chord-copilot MCP server isn't registered with
Claude Code. Tell the user to run:
claude mcp add chord-copilot --transport http http://localhost:5555/mcp/ --scope user
(replacing the URL if their wren-ai-service runs elsewhere). Fall back
to whatever workflow they normally use until they do.execute_sql / preview_table return a
connection error (typically localhost:3000 unreachable). The retrieval
tools may still work — complete steps 1–4 and stop at "drafted SQL,
ready to run once the engine is up."Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub chordcommerce/chord-copilot --plugin chord