coral
GitHub通过Coral MCP查询GitHub、Jira等外部系统实时数据。提供发现、元数据检查及SQL查询工作流,确保基于真实状态决策而非假设,适用于需集成多源数据的开发任务。
Trigger Scenarios
Install
npx skills add withcoral/coral --skill coral -g -y
SKILL.md
Frontmatter
{
"name": "coral",
"description": "Query live sources through Coral MCP. Use when the task needs GitHub, Jira, Slack, Linear, Datadog, Sentry, files, or connected data."
}
Coral
Overview
Use this as the Coral entrypoint for external context. Query Coral before answering from assumptions or changing code when live external state matters.
- Use Coral MCP tools/resources for discovery and query.
- Do not use the
coralCLI, compile Coral, copy binaries, or bootstrap a server unless explicitly asked. - Do not switch to vendor tools for the same read unless the user asks to continue without Coral or Coral does not cover the source.
Support Checks
- Confirm Coral MCP tools/resources before making external-system claims.
- If Coral MCP is unavailable, state the blocker and stop; no local recovery.
- Distinguish missing source config, missing credentials, query errors, and empty results.
- If scope is missing, inspect guidance first, then ask for the smallest missing identifier.
Workflow
- Identify the needed source, entity, and scope from the user request.
- Discover relevant tables, table functions, columns, and filters with
search; uselist_catalogwhen you need a paged catalog view narrowed by catalog, schema, or kind. - Use
describewithschemaand a baresurfacename when you need exact metadata; addcatalogfor a three-part table. Coral resolves whether the surface is a table or table function. Keep the request target or earlier discovery result because an exact response returns metadata without repeating the target. Readkind,guide,required_filters, function arguments, and result columns; usecoral://guidefor query patterns andcoral://tablesfor table summaries. - Inspect
coral.columnsfor table columns, required filters, virtual columns, and descriptions. - Inspect
coral.table_functionsfor source-scoped function guides, arguments, and result columns. - Inspect
coral.inputswhen source configuration affects the answer. - Query with
sql: select useful columns, include required filters or function arguments, and addLIMITunless complete output is requested. - Summarize evidence, gaps, and next action. If editing code, use the Coral result to guide changes.
Query Rules
- Use each table's
sql_referencewhen available. Emptycatalog_namemeansschema_name.table_name; otherwise usecatalog_name.schema_name.table_name. Quote identifiers separately, never the whole qualified reference. - Use each table function's
sql_call_example, filling in required arguments before querying it. - Keep metadata discovery bounded: page catalog discovery, query
coral.columnsfor one table orcoral.table_functionsfor one source when possible, and addLIMITwhen reading broad metadata directly. - Virtual columns are filter-only and return
NULL; checkis_virtual. - Required filters must appear in
WHERE; inspectrequired_filtersandis_required_filter. - Secret inputs always return
value = NULL; useis_set. - Cross-source joins work and execute locally after source scans complete.
- Keep answers compact: name the source, table, required filters, and query shape. Avoid exhaustive column dumps unless requested.
- Lead with the answer or blocker. Include SQL only when it helps the user trust or reuse the result.
Boundaries
- Manifest fallback is only by request; inspect the smallest relevant sections and summarize table/filter shape.
- Do not paste large manifest excerpts, present source-wide conclusions without query coverage, or treat query failures as empty results.
Feedback
If the MCP feedback tool is available, file feedback when Coral blocks progress, pushes an unproductive pattern, or a vendor tool was easier for the same read.
Include trying_to_do, tried, and stuck, with table/source names, query snippets, and error text. Do not file feedback for ordinary empty results or missing credentials unless Coral made the problem unclear.
Version History
-
aaf5116
Current 2026-08-14 00:51
重构目录描述工具,将describe_table统一为describe以支持表和函数,优化结果结构和命名空间冲突处理。
-
303ffe9
2026-08-01 21:12
1. 增强目录发现能力,暴露目录限定符以支持三层命名空间;2. 修复并传播表函数指南,在搜索输出中展示非空指南内容。
-
178dd8d
2026-07-23 11:46
新增 MCP search 工具以支持统一元数据搜索,移除旧的 search_catalog 工具;更新文档和技能说明以反映此变更。
- 0eaab44 2026-07-06 00:11


