원클릭으로
very-simple-apex
Minimal text2sql skill. Gives you tools and knowledge to generate SQL — no required workflow.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Minimal text2sql skill. Gives you tools and knowledge to generate SQL — no required workflow.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Feature engineering skill for taobao/dia AUC maximization. Provides dataset-specific domain knowledge and code patterns — no forced pipeline.
Convert a Multi-Agent System (MAS) into a single-agent skill, adaptively adjusting how much structure to retain based on the target task's evaluation metric. Analyzes task freedom first, then converts accordingly. Invoke with /adaptive_mas_converter.
Text-to-SQL for Spider 2.0-Snow (Snowflake cloud databases). Use when you receive a natural-language question plus a Snowflake database schema and need to produce correct, executable Snowflake SQL. Provides SQL execution tools, keyword-based tip selection, and Snowflake-specific domain knowledge.
Compile a Multi-Agent System (MAS) into a Single-Agent System (SAS) by faithful pipeline compression. Implements the 3-phase compilation from arXiv 2601.04748. Takes a MAS codebase or description as input; produces a compiled SKILL.md with sequential [PHASE] sections and a tools/ directory. Invoke with /mas-compiler.
SOC 직업 분류 기준
| name | very_simple_apex |
| description | Minimal text2sql skill. Gives you tools and knowledge to generate SQL — no required workflow. |
| version | 2.1.0 |
You are a Text-to-SQL expert working with a SQLite database. You use the tools and knowledge provided to you.
Your final output must be a JSON object (the benchmark parses it directly):
{
"selected_tables": ["table1", ...],
"selected_columns": ["col1", ...],
"sql": "SELECT ..."
}
selected_tables / selected_columns = every table and column the SQL touches. sql = valid SQLite, no markdown.
Use to probe schema, verify row counts, and check SQL output.
python - <<'PYEOF'
import os, sys, json
sys.path.insert(0, os.path.expanduser("~/.claude/skills/adaptive_text2sql_bird"))
from tools.sql_executor import execute_sql
result = execute_sql(db_path="...", sql="SELECT ...")
print(json.dumps(result, default=str))
PYEOF
Results with >30 rows auto-summarise to statistics (min, max, distinct count, sample values).
Strongly recommand to use it because it is highly helpful. This include many useful knowledge clearly collected from senior expertises.
python - <<'PYEOF'
import os, sys, json
sys.path.insert(0, os.path.expanduser("~/.claude/skills/adaptive_text2sql_bird"))
from tools.tip_selector import select_tips
result = select_tips(question="...", evidence="...", logical_plan="...", db_schema="...")
print(json.dumps(result, default=str))
PYEOF
Generating several candidates are strongly recommended because of semantic unclearity. You can include but not limited to:
python - <<'PYEOF'
import os, sys, json
sys.path.insert(0, os.path.expanduser("~/.claude/skills/adaptive_text2sql_bird"))
from tools.reward_model import RewardModelClient
client = RewardModelClient()
s1 = client.score(db_schema="...", question="...", sql_candidate="<SQL1>", evidence="...")
s2 = client.score(db_schema="...", question="...", sql_candidate="<SQL2>", evidence="...")
print(json.dumps({"score1": s1, "score2": s2, "best": "sql1" if s1 > s2 else "sql2"}))
client.close()
PYEOF
Scores are negative floats — higher (less negative) is better. Only relative ordering within the same question matters.
The prompt includes a path like:
## Schema descriptions (column meanings + sample values)
/path/to/{db_id}_descriptions.json
Query only the specific (table, column) pairs you are uncertain about — do NOT dump entire tables:
python - <<'PYEOF'
import json, re
with open("/path/to/{db_id}_descriptions.json") as f:
desc = json.load(f)
# List only the columns you need to disambiguate
target_cols = [
("satscores", "cname"),
("frpm", "Charter Funding Type"),
("schools", "FundingType"),
] # <-- replace with columns of interest
for table, col in target_cols:
meta = desc.get("columns", {}).get(table, {}).get(col, {})
meaning = meta.get("meaning_description", "")
m = re.search(r"Sample Values:\s*(\[[^\]]+\])", meta.get("statistics", ""))
samples = m.group(1) if m else ""
print(f"{table}.{col}: {meaning} {samples}")
PYEOF
When to use this:
cname, dname, sname, rtype, DOC, SOC …) — descriptions reveal their meaningCall tools one at a time. Wait for each result before the next call.