public-nl2sql-expert-base

public-nl2sql-expert-base is a skill for Claude Code, Codex from seed-forge/harness-ai-kit. It costs 93 tokens per session (492 once invoked), scanned A, original, Apache-2.0.

A reference guide for turning everyday language into SQL, the language used to ask databases for data. It is designed to be inherited by other skills rather than used directly.

In plain words
What is it for?
It supports building and evaluating natural-language database query systems, including query classification, meaning extraction, multi-table joins, SQL comparison, and regression testing.
Why use it?
It gives those skills shared guidance for interpreting terms, choosing fields, joining tables, and checking whether generated queries are correct.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It supports building and evaluating natural-language database query systems, including query classification, meaning extraction, multi-table joins, SQL comparison, and regression testing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/seed-forge/harness-ai-kit/public-nl2sql-expert-base
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 seed-forge/harness-ai-kit --skill public-nl2sql-expert-base
Clone the repo
git clone --depth 1 https://github.com/seed-forge/harness-ai-kit

Made for: Claude Code, 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 public-nl2sql-expert-base

README.md
[![agentmods](https://agentmods.dev/badge/skills/seed-forge/harness-ai-kit/public-nl2sql-expert-base.svg)](https://agentmods.dev/skills/seed-forge/harness-ai-kit/public-nl2sql-expert-base)
Your own site
<a href="https://agentmods.dev/skills/seed-forge/harness-ai-kit/public-nl2sql-expert-base"><img src="https://agentmods.dev/badge/skills/seed-forge/harness-ai-kit/public-nl2sql-expert-base.svg" alt="Measured on agentmods" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 492 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.
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.00093 $0.00492
Opus 5 $0.00046 $0.00246
Sonnet 5 $0.00019 $0.00098
Haiku 4.5 $0.00009 $0.00049

Measured 7d ago against content hash 8d951b185056, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

public-nl2sql-expert-base 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 7d 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.

skills/public-nl2sql-expert-base/SKILL.md · 29 lines

What it actually says

public-nl2sql-expert-base

知识基座:本技能不做流程编排,只提供 NL2SQL 领域的深度知识与判据,供 devlab-nl2sql-engineering 等技能通过 extends 继承。

覆盖主题

主题 reference
架构与管道 references/REFERENCE-ARCHITECTURE.md — NL2DSL2SQL 两阶段、DSL 中间表示、查询类型分类、strategy-per-type
理解与抽取 references/REFERENCE-UNDERSTANDING.md — 意图识别、知识增强检索、字段/术语映射、条件/metric/时间/实体抽取
正确性与评测 references/REFERENCE-CORRECTNESS-EVAL.md — 多表 JOIN 推理、SQL 标准化比对、评测集组织、常见错误模式

使用原则

  • 证据优先:以评测集正确率、EXPLAIN、日志为依据,而非拍脑袋规则。
  • 区分表象与根因:修一个 badcase 要定位根因并沉淀回归用例,避免只压症状。
  • 可解释可追溯:DSL 中间表示保留完整语义链路,便于审计与调试。
  • 破坏性变更同步调用侧

与其他 Skill 的关系

  • devlab-nl2sql-engineering 通过 extends 继承(提供知识,流程由其编排)。
  • public-mysql-expert-base 互补(后者聚焦 DB 侧 schema/索引/事务)。
  • 评测细节交 devlab-eval-driven-agent
Files

What ships with it

6 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. 7d ago First seen · 29 lines · 93 tokens per session scan A 8d951b185056

Subscribe to this mod's changes

public-nl2sql-expert-base is a skill published in the GitHub repository seed-forge/harness-ai-kit (22 stars, last pushed 7d ago), licensed Apache-2.0. It adds 93 tokens to every session and 492 once invoked, about $0.0005 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

RAG Workflow Planner

Designs a complete Retrieval-Augmented Generation (RAG) pipeline for a given use case, including chunking strategy, embedding model selection, and retrieval approach.

Notysoty/openagentskills · 37 tokens

pgvector-semantic-search

Use this skill for setting up vector similarity search with pgvector for AI/ML embeddings, RAG applications, or semantic search. Trigger when user asks to: Store or search vector embeddings in PostgreSQL Set up semantic search, similarity search, or nearest neighbor search Create HNSW or IVFFlat indexes for vectors…

timescale/pg-aiguide · 190 tokens

postgres-hybrid-text-search

Use this skill to implement hybrid search combining BM25 keyword search with semantic vector search using Reciprocal Rank Fusion (RRF). Trigger when user asks to: Combine keyword and semantic search Implement hybrid search or multi-modal retrieval Use BM25/pgtextsearch with pgvector together Implement RRF (Reciprocal…

timescale/pg-aiguide · 162 tokens

mongodb-atlas-stream-processing

Manages MongoDB Atlas Stream Processing (ASP) workflows. Handles workspace provisioning, data source/sink connections, processor lifecycle operations, debugging diagnostics, and tier sizing. Supports Kafka, Atlas clusters, S3, HTTPS, and Lambda integrations for streaming data workloads and event processing. NOT for…

fcakyon/claude-codex-settings · 82 tokens

mongodb-search-and-ai

Guides MongoDB users through implementing and optimizing Atlas Search (full-text), Vector Search (semantic), and Hybrid Search solutions. Use this skill when users need to build search functionality for text-based queries (autocomplete, fuzzy matching, faceted search), semantic similarity (embeddings, RAG…

fcakyon/claude-codex-settings · 132 tokens

solr-semantic-search

To build Solr phrase-tagging semantic search: concept tagging, taxonomy, graph paths.

griddynamics/rosetta · 24 tokens