coral-create-source-spec

coral-create-source-spec is a skill for Codex from withcoral/coral. It costs 59 tokens per session (3,876 once invoked), scanned A, original, Apache-2.0.

Instructions for creating or repairing Coral source specifications: YAML files that describe how Coral reads a custom HTTP API or local dataset.

In plain words
What is it for?
Use them to write, lint, add, test, and query standalone Coral sources or sources contributed to the Coral repository.
Why use it?
They help make the source definition valid and queryable instead of relying on an incompatible format.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use them to write, lint, add, test, and query standalone Coral sources or sources contributed to the Coral repository.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/withcoral/coral/coral-create-source-spec
About the project

Coral is a local application that gives AI agents one SQL interface for querying connected APIs, files, and live data sources. It is for agents and developers who need to retrieve and correlate data across sources while reducing repeated tool calls, pagination, and source-specific integration code. Coral exposes its query interface to compatible agents through MCP, and the catalogue add-ons support using it in agent workflows.

withcoral/coral · 4,951 stars · on GitHub · withcoral.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add withcoral/coral --skill coral-create-source-spec
Clone the repo
git clone --depth 1 https://github.com/withcoral/coral

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for coral-create-source-spec

README.md
[![agentmods](https://agentmods.dev/badge/skills/withcoral/coral/coral-create-source-spec/github.svg)](https://agentmods.dev/skills/withcoral/coral/coral-create-source-spec)
Your own site
<a href="https://agentmods.dev/skills/withcoral/coral/coral-create-source-spec"><img src="https://agentmods.dev/badge/skills/withcoral/coral/coral-create-source-spec/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for coral-create-source-spec

Your own site · 80×15
<a href="https://agentmods.dev/skills/withcoral/coral/coral-create-source-spec"><img src="https://agentmods.dev/badge/skills/withcoral/coral/coral-create-source-spec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,876 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 96
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 268
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.03876
Opus 5 $0.00030 $0.01938
Sonnet 5 $0.00012 $0.00775
Haiku 4.5 $0.00006 $0.00388

Measured 2d ago against content hash 18dd5afdbb6c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

coral-create-source-spec scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/coral/skills/coral-create-source-spec/SKILL.md · 308 lines

How it starts

The opening of the file, as written. The whole thing — 308 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Coral Create Source Spec

Use this skill when the task is to author or repair a Coral source spec.

Goal

Produce a valid, queryable Coral source spec that works with:

  • coral source lint <path>
  • coral source add --file <path>
  • coral source test <name>
  • coral sql
  • coral.tables and coral.columns
  • coral.inputs for source variables and secrets

Default Mode

Default to standalone source authoring for external developers.

That means:

  • create a YAML source spec file
  • lint it early with coral source lint <path>
  • add it to Coral with coral source add --file <path> when you need to exercise it as a source
  • validate by querying it
  • iterate until the shape is correct

Only switch to Coral repo layout when the user is explicitly editing the Coral repo.

Output Modes

  • External authoring:
    • create a standalone source spec such as ./my-source.yaml
    • validate structure with coral source lint ./my-source.yaml
    • load it with coral source add --file ./my-source.yaml when you need to query it through Coral
  • Coral repo contribution:
    • write community source specs to sources/community/<name>/manifest.yaml
    • write core source specs to sources/core/<name>/manifest.yaml only when the user is intentionally changing bundled core sources
    • add representative test_queries for a basic smoke/connection check of the source
    • validate with coral source test <name> and repo checks

Workflow

  1. Read the provider API docs or inspect the local dataset.
  2. Start with one small table and a few columns.
  3. Define:
    • source metadata
    • backend
    • base URL or file location
    • auth
    • variables and secrets
    • credential retrieval methods for secrets, including OAuth when the provider supports browser-based setup
    • if authoring a separate kind: identity manifest, identity setup inputs and OAuth method config
    • tables
    • table functions for source-scoped parameterized endpoints
    • filters
    • response extraction
    • pagination
    • typed columns
  4. Lint the source spec:
    • coral source lint <path>
  5. Validate the source in the right mode:
    • standalone specs: coral source add --file <path> and inspect with coral sql
    • coral source add is non-interactive by default: each input key is read from the matching environment variable. Export required variables and secrets before running, or pass --interactive to be prompted.
    • for OAuth credential methods, run coral source add --interactive --file <path> with no environment value for the target secret so Coral offers the authored credential choices
    • repo sources or already-named sources: coral source test <name>
  6. Inspect the exposed shape:
    • inspect coral.tables for visible tables, descriptions, guides, and required filters; keep metadata queries bounded with LIMIT/OFFSET
    • inspect coral.table_functions for source-scoped functions, descriptions, guides, arguments, result columns, kind, and search limits
    • inspect coral.columns for canonical column metadata, including is_virtual and is_required_filter; filter by one table or page large column sets
    • inspect coral.filters for normalized table filter names, types, modes, required flags, and descriptions
    • inspect coral.inputs to verify variables, secrets, defaults, hints, and required flags
  7. Query representative tables with coral sql.
  8. If you are relying on coral source test, make sure test_queries gives you a basic smoke/connection check for the source.
  9. Refine the spec and repeat.

Read the full file on GitHub · 308 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago Changed 18dd5afdbb6c
  2. 11d ago First seen · 308 lines · 59 tokens per session scan A 35f3549a0a1b

Subscribe to this mod's changes

coral-create-source-spec is a skill published in the GitHub repository withcoral/coral (4,951 stars, last pushed today), licensed Apache-2.0. It adds 59 tokens to every session and 3,876 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

gemini-api-agent-platform

Guides the usage of the Gemini API on Agent Platform with the Google Gen AI SDK for enterprise AI applications. Covers SDK usage (Python, JS/TS, Go, Java, C#), capabilities like Live API, tools, multimedia generation, caching, and batch prediction.

davila7/claude-code-templates · 61 tokens

open-source

Documentation reference for writing Python code using the browser-use open-source library. Use this skill whenever the user needs help with Agent, Browser, or Tools configuration, is writing code that imports from browseruse, asks about @sandbox deployment, supported LLM models, Actor API, custom tools, lifecycle…

browser-use/browser-use · 137 tokens

deepstream-sop

Use this skill when building, deploying, evaluating, debugging, or measuring latency for the DeepStream SOP Inference Microservice — a GPU-accelerated FastAPI service that detects whether operators perform assembly-line steps in order via event boundary detection (GEBD) plus VLM classification. Trigger even if the…

NVIDIA/skills · 219 tokens

gemini-api-dev

Use this skill when writing code that calls the Gemini API for text generation, multi-turn chat, multimodal understanding, image generation, video generation, streaming responses, background research tasks, function calling, structured output, or migrating from the old generateContent API. Covers SDK usage and best…

google-gemini/gemini-skills · 73 tokens

azure-search-documents-dotnet

Azure AI Search SDK for .NET (Azure.Search.Documents). Use for building search applications with full-text, vector, semantic, and hybrid search. Covers SearchClient (queries, document CRUD), SearchIndexClient (index management), and SearchIndexerClient (indexers, skillsets). Triggers: "Azure Search .NET"…

microsoft/skills · 102 tokens

azure-search-documents-ts

Build search applications using Azure AI Search SDK for JavaScript (@azure/search-documents). Use when creating/managing indexes, implementing vector/hybrid search, semantic ranking, or building agentic retrieval with knowledge bases.

microsoft/skills · 48 tokens