Data & Analytics

records-to-sql-inserts

Verdict: Provisional: a static review only, not yet measured.

Generates SQL CREATE TABLE and INSERT statements from a CSV or JSON records file, inferring column types and escaping text values.

  • What it does: The script reads one CSV file with a header row, or one JSON file holding an array of flat objects.
  • Use it when: A spreadsheet export needs to load into a database table, and you want the CREATE TABLE and INSERT lines in one reviewable file.
  • Written and reviewed by Skill Almanac
  • Licence: Apache-2.0
  • Updated 2026-11-21
  • Install check passed: Claude Code 2.1.330, 2026-11-23

Platform Score

0255075100FDCBA42PROVISIONALcap 75Scored · Method v0.2 · How we score

Provisional: we have not run the with/without test on this skill yet, so a low score here means missing evidence, not that the skill is poor. Cap 75: without a measured test, efficacy and trigger precision earn only a static proxy, so the score cannot pass 75.

Our assessment, method v0.2, scored 2026-11-21. See the breakdown

User Score

No reviews yet

A future average requires 5 installation-verified reviews; verification is not available yet. Read reviews

What it does

The script reads one CSV file with a header row, or one JSON file holding an array of flat objects. For each column it looks at the non-empty values and picks BOOLEAN, INTEGER, REAL, DATE or TEXT. Values that look numeric but carry a leading zero, whole numbers too large for 64 bits, and columns with no values at all stay TEXT and are reported as findings, so ZIP-style codes and long identifiers are not silently changed. Text values have each single quote doubled, empty cells become NULL, and table and column names are checked against a fixed identifier pattern and double-quoted. The console output lists the row count, the statement count and one type line per column. The script exits 1 when findings exist and still writes the file. It refuses to overwrite an existing file and never writes to the input path.

When to use it

- A spreadsheet export needs to load into a database table, and you want the CREATE TABLE and INSERT lines in one reviewable file. - A JSON export of flat objects needs converting on a machine with no database connection. - You want to see which columns would be typed as DATE or BOOLEAN before writing the DDL by hand.

When not to use it

- The input is larger than 2 MB, contains nested objects, or is not UTF-8 text. - The target table already exists and must be altered, or rows must go into a live database. The script writes files only. - You need primary keys, foreign keys or NOT NULL constraints. None are emitted.

Summary reviewed 2026-11-22 by Kobi Eliraz (founder, Skill Almanac).

Demo video

records-to-sql-inserts: how to use this skill. Recorded on Claude Code, 2026-11-23.

Tutorial: how to use this skill, recorded from one real run of the skill on a coding agent. AI narration; every frame comes from the logged run. Scores and evaluation evidence are on this page, not in the video. Open the video in a new tab (MP4).

AI-narrated demonstration based on recorded agent outputs. The task and transcript explain what is shown; evaluation evidence and limitations are on the skill page.

Transcript

  1. 0:00 The finished result A CSV export ready for a database? Watch it become SQL inserts.
    • The result of the demonstration run
  2. 0:05 The prompt You ask your agent.
    • The prompt: Start from members.csv: I am converting a CSV or JSON export into SQL INSERT statements for our staging table.
  3. 0:08 What it is and how to run it It reads the skill, checks size, runs the converter, lists column types.
    • Reading the skill instructions.
    • Checking the input folder and file size.
    • Input is 278 bytes, well under the 2 MB limit. The output folder is empty and the table name defaults to `members`. Running the converter.
    • Exit 0 with no findings. Reading the written file to confirm it is complete.
    • The file looks complete. I'll compare it against the input to make sure the rows match.
  4. 0:14 Before and after Before, and after.
    • From the agent's own report
  5. 0:20 install To use it, clone the public repo and copy the skill folder.
    • git clone --depth 1 https://github.com/kobilyricsweb/skillalmanac-skills.git
    • cd skillalmanac-skills
    • mkdir -p ~/.claude/skills
    • cp -r skills/records-to-sql-inserts ~/.claude/skills/
    • # Claude Code (Codex CLI, Cursor and Gemini CLI directories are listed in the repo README)
    • github.com/kobilyricsweb/skillalmanac-skills/tree/main/skills/records-to-sql-inserts
  6. 0:27 The skill page Find it at skillalmanac dot com.
    • Records To Sql Inserts
    • https://skillalmanac.com/skills/skill-almanac/records-to-sql-inserts

Install

To use these commands, you need Git and a computer running Claude Code. They copy the skill into your Claude Code skills folder (use .claude/skills inside a project for project-only installation). Check the package requirements for any extra runtime, such as Python or Node.js, before running its scripts.

Skill Almanac is free to browse. Your AI tool or model provider may charge for a subscription or usage; see Claude Code costs.

Source version: c78490c8f189a7fdd44fe62dde7f4eea33a188ef (pinned commit).

macOS and Linux (Terminal)

git clone --depth 1 --filter=blob:none --sparse --no-checkout https://github.com/kobilyricsweb/skillalmanac-skills.git &&
cd skillalmanac-skills &&
git fetch --depth 1 origin c78490c8f189a7fdd44fe62dde7f4eea33a188ef &&
git checkout --detach FETCH_HEAD &&
git sparse-checkout set -- skills/records-to-sql-inserts &&
test -f skills/records-to-sql-inserts/SKILL.md &&
mkdir -p ~/.claude/skills &&
if [ -e ~/.claude/skills/records-to-sql-inserts ]; then printf '%s\n' 'Already installed: review the existing folder before updating.' >&2; false; else cp -r ./skills/records-to-sql-inserts ~/.claude/skills/; fi

Windows (PowerShell)

git clone --depth 1 --filter=blob:none --sparse --no-checkout https://github.com/kobilyricsweb/skillalmanac-skills.git
if ($LASTEXITCODE -ne 0) { throw 'Git command failed; no skill was installed.' }
Set-Location -LiteralPath 'skillalmanac-skills' -ErrorAction Stop
git fetch --depth 1 origin c78490c8f189a7fdd44fe62dde7f4eea33a188ef
if ($LASTEXITCODE -ne 0) { throw 'Git command failed; no skill was installed.' }
git checkout --detach FETCH_HEAD
if ($LASTEXITCODE -ne 0) { throw 'Git command failed; no skill was installed.' }
git sparse-checkout set -- skills/records-to-sql-inserts
if ($LASTEXITCODE -ne 0) { throw 'Git command failed; no skill was installed.' }
if (-not (Test-Path -LiteralPath 'skills/records-to-sql-inserts/SKILL.md' -PathType Leaf)) { throw 'The selected version does not contain this skill.' }
$skillDestination = Join-Path $HOME '.claude/skills/records-to-sql-inserts'
if (Test-Path -LiteralPath $skillDestination) { throw 'Already installed: review the existing folder before updating.' }
New-Item -ItemType Directory -Force -Path (Split-Path -Parent $skillDestination) -ErrorAction Stop | Out-Null
Copy-Item -LiteralPath 'skills/records-to-sql-inserts' -Destination $skillDestination -Recurse -ErrorAction Stop

These commands avoid replacing an existing skill. Required tools and scripts may differ by operating system; check this skill’s dependencies before running it. For platform steps and the scope of our tests, see the installation guide. For another agent, use the Codex skills guide, Cursor skills guide, or Gemini CLI tool page, together with the package README. Read the source before you install.

Source: kobilyricsweb/skillalmanac-skills on GitHub

How we tested the install

Claude Code

The check we ran, on Claude Code 2.1.330 on 2026-11-23, pinned to commit c78490c. This is our test harness, not the install command.

claude -p "The user converting a CSV or JSON export into SQL INSERT statements. Use the records-to-sql-inserts skill for this; say which skill you used and stop." --model claude-haiku-5-5 --output-format stream-json --verbose --max-turns 6  (cwd with .claude/skills/records-to-sql-inserts/)

Not tested on: Codex, Gemini CLI, Cursor, GitHub Copilot.

Platform Score

42 out of 100 · Provisional: efficacy not tested

Merit 42.2 × safety factor 1.00 = 42. Provisional: no letter grade until measured. Without evals, merit cannot pass 75, so the top grade is out of reach until the skill is tested.

Scored
2026-11-21
Method
Version 0.2. How this is calculated
Evaluated by
Skill Almanac static rules v0 plus an external static security scan (Semgrep, Gitleaks, an instruction-indirection detector), every finding triaged. No human review. Everything else that cannot be checked earns nothing and is listed under Not tested.
Score breakdown: seven dimensions, safety factor and rubric items

Merit: seven dimensions

  • Efficacy
    Not tested. Scored from evidence only: at most 14 of 35 without evals.
    5 / 35
  • Instruction quality
    Actionable steps, specific knowledge, examples, verification.
    8.8 / 25
  • Trigger precision
    Scored from the description only: at most 8 of 12 without a trigger test.
    6 / 12
  • Portability
    Works across tools without vendor-only features.
    7 / 8
  • Maintenance
    Recent commits, history depth, an active repository.
    4.6 / 8
  • Licence and provenance
    A clear licence and an original source.
    4.8 / 6
  • Token cost
    How much context the skill uses.
    6 / 6

Safety factor: file review

Security 25 of 25 points gives a safety factor of 1.00. Security does not add points; it multiplies merit, so a risky skill loses up to half its score.

ItemPointsWhat we found
S2 Remote code execution surface6 / 6Nothing that downloads, installs or runs remote code applies; no findings. (measured, scan of 2026-11-22.)
S3 Instruction indirection5 / 5No instruction that fetches or follows content from outside the reviewed files applies; no findings. (measured, scan of 2026-11-22.)
S4 Secrets and credentials4 / 4No credential use or committed secret applies; no findings. (measured, scan of 2026-11-22.)
S5 Data egress and telemetry4 / 4No data egress applies; no findings. (measured, scan of 2026-11-22.)
S6 Agent-behaviour integrity3 / 3No steering, hidden or auto-approve wording applies; no findings. (measured, scan of 2026-11-22.)
S7 Bundled executable hygiene3 / 3Bundled scripts are readable source and nothing in them applies; no findings. (measured, scan of 2026-11-22.)

Not tested

  • Efficacy: no with/without-skill comparison has been run; scored only by the evidence proxy.
  • Trigger precision: description rubric only; T3 (specific trigger terms) needs a judge. No trigger test was run.
  • Instruction quality: Q2, Q3 and Q6 need a judge and earn nothing; Q4 and Q7 get half credit.
  • Security: measured by a static external scan. Semgrep 1.186.0; Gitleaks 8.30.1; Skill Almanac own-rules 0.1.0; S3 instruction-indirection detector 1.0.0; npm audit / pip-audit npm 10.9.0 / pip-audit 2.10.1. Scanned 2026-11-22: 0 findings (0 false positive, 0 real and fixed, 0 accepted risk, 0 open). Every finding was triaged by the scanning session, not by a human. No runtime behaviour check was run: nothing was installed or executed.
  • Portability: P4 (multi-agent support) was not tested on any other tool.
  • Maintenance: new package with no commit history or public repository.

What would raise this score

  • Run the measured procedure (6 to 12 held-out tasks, with and without the skill, blind grading in both orders): efficacy can earn up to 35 points. (up to +30 points)
  • A judge pass over Q2, Q3 and Q6 would score the instruction quality that is not measured yet. (up to +16.3 points)
  • A runtime behaviour check (running the scripts in a sandbox) and a human review of the triage would be the next security evidence. (up to +0 points)

This score is our assessment under a published method. It is not a guarantee of safety or fitness. To dispute this score, use the corrections page; we reply within 10 business days.

Evidence and rubric details (for reviewers)

Evidence and provenance

House skill from the Claude pipeline (batch_07_tier1). Drafted by claude-haiku-5-5. Human review: not done yet. Source package: 01_skill_production/batch_07_tier1/records-to-sql-inserts (not public).

Matches the search intent ‘Generate SQL CREATE TABLE and INSERT statements from CSV or JSON records with safe escaping’ (10/mo, US). Volume is the average monthly US searches over 12 months for the cluster “convert csv to sql insert”; a ceiling, not a forecast.

Declared compatibility (the author's statement, not an install test): Python 3.9+ standard library only, no network and no database connection (type A).

Static lint and own-rules scan · PASS

. Agent Skills spec lint passed (0 failures, 0 warnings). Own-rules security scan: 0 findings.

Read with care: Spec lint and own-rules text rules only; the security result is the separate external scan record below. Nothing was installed or run.

Details
  • Eb Deterministic helper or verify step: 5/5. Bundled scripts validate or do the work.
  • T1 Says what the skill does: 1/1. Description of at least 30 characters.
  • T2 Says when to use it: 2/2. A "use when" statement is present.
  • T3 Specific trigger terms: 0/2. Not measured: needs a judge.
  • T4 Within spec length: 1/1. 383 characters.
  • T5 Distinct, not over-broad: 1/1. Checked for over-broad wording by pattern.
  • T6 No coercive wording: 1/1. Checked for coercive wording by pattern.
  • Q1 Valid per the Agent Skills spec: 2/2. No hard lint rule failed.
  • Q2 Actionable workflow: 0/4. Not measured: needs a judge.
  • Q3 Specific non-obvious knowledge: 0/4. Not measured: needs a judge.
  • Q4 Concrete examples: 1/2. Code blocks or an example heading exist (half credit: quality not judged).
  • Q5 Progressive disclosure: 2/2. Body is 118 lines.
  • Q6 Verification and failure handling: 0/3. Not measured: needs a judge.
  • Q7 Prerequisites declared: 1/2. A compatibility field exists (half credit: contents not judged).
  • Q8 Version or changelog: 1/1. metadata.version 0.1.0.
  • P1 Frontmatter: 2/2. Open-spec fields only.
  • P2 Agent-specific tools in the body: 3/3. None named.
  • P3 Runtime dependencies: 2/2. None, or standard library only.
  • P4 Multi-agent support: 0/1. Not measured: no cross-tool run exists.
  • M1 Recent change: 3/3. Last commit touching the skill directory 2026-11-22.
  • M3 Repository and publisher: 1/2. kobilyricsweb/skillalmanac-skills is not archived and was pushed 2026-11-23. The established-publisher half earns nothing: the publisher is not verified.
  • L1 Licence: 3/3. Apache-2.0 with LICENSE file.
  • L2 Provenance: 1/2. Original house package; publisher not verified by the claim flow.
  • K1 Always-loaded metadata: 1/1. 383 description characters.
  • K2 Activation cost: 3/3. About 1770 body tokens (characters / 4).
  • K3 On-demand structure: 1/1. References are split out, or the skill is small.

Record: 01_skill_production/batch_07_tier1/records-to-sql-inserts/SKILL.md

External security scan · PASS

. Semgrep 1.186.0; Gitleaks 8.30.1; Skill Almanac own-rules 0.1.0; S3 instruction-indirection detector 1.0.0; npm audit / pip-audit npm 10.9.0 / pip-audit 2.10.1. Scanned 2026-11-22: 0 findings (0 false positive, 0 real and fixed, 0 accepted risk, 0 open). 6 files scanned; No dependency manifest is bundled, so there was nothing to audit.

Read with care: Static scan only: nothing was installed or executed. Each finding was triaged by the scanning session (an AI), not by a human reviewer. evals/ test fixtures (deliberate fake keys and injection strings) are excluded by design. Not a security certification.

Details
  • Tool: Semgrep 1.186.0 (registry p/default (fetched 2026-11-22) + custom agent-skill rules (rules/agent-skill-risks.yml, 13 rules, tested))
  • Tool: Gitleaks 8.30.1 (built-in default ruleset, --redact)
  • Tool: Skill Almanac own-rules 0.1.0 (StaticRuleScanner text rules)
  • Tool: S3 instruction-indirection detector 1.0.0 (tools/s3_indirection_scan.py (15 positive and negative self-tests))
  • Tool: npm audit / pip-audit npm 10.9.0 / pip-audit 2.10.1 (manifests found inside packages only)

Record: 01_skill_production/security_scan/results/records-to-sql-inserts.json

Cross-review · PUBLISH-PROVISIONAL

. A second model reviewed the package and recorded publish-Provisional.

Read with care: An AI review, not a human review.

Record: batch_07_tier1/REVIEW.md

Authoring record

. Drafted by claude-haiku-5-5; the editorial summary (what it does, when to use, when not to use, limits) was reviewed and signed off by Kobi Eliraz on 2026-11-22. The package itself and its tests were not re-run by a human. No with/without-skill comparison has been run for this package.

Read with care: Self-reported by the authoring pipeline. Not independently audited.

Record: 01_skill_production/batch_07_tier1/records-to-sql-inserts/VERIFICATION.md

Public repository

. Published in kobilyricsweb/skillalmanac-skills: 1 commit on this skill, first 2026-11-22, last 2026-11-22; 0 open issues in the repository.

Read with care: Read from the GitHub API on the date shown, at catalogue build time. The repository is new and unverified: its history earns only the points the published method assigns to it.

Record: https://github.com/kobilyricsweb/skillalmanac-skills/tree/main/skills/records-to-sql-inserts

User Score

No reviews yet. A User Score is planned to use only reviews from people with a verified install. Installation verification is not available yet. An average requires 5 verified reviews.

Examples

No before-and-after examples yet. They are added from our evaluation runs.

Limits and known failures

  • Type inference reads only the values present in the file. A column that looks like dates in the sample can hold other values in a later load.
  • Backslashes are not escaped, so MySQL string literals containing a backslash need a manual review.
  • Dialect differences are listed in the file header but are not rewritten. The SKILL.md dialect table says what to change.
  • The 63-character identifier limit is a working value chosen by the script, not a published limit of any database.
  • The script does not run the SQL, compare the rows with the source, check that a target database accepts the types, or look for duplicate rows.
  • Output is written in one pass. If the disk fills during the write, a partial file can remain and must be deleted before a rerun.

Security

ScannerVersionDateResult
External scan (Semgrep, Gitleaks, instruction-indirection detector, own rules)Semgrep 1.186.0; Gitleaks 8.30.1; Skill Almanac own-rules 0.1.0; S3 instruction-indirection detector 1.0.0; npm audit / pip-audit npm 10.9.0 / pip-audit 2.10.12026-11-22No issues found

A scan is not a guarantee. Read what a skill does before you install it.

Reviews

No reviews yet.

Write a review

Rating
How did it go?
More details (optional)

Listed as “Not verified” until installs can be verified. No star average is shown. Posts are moderated. Review guidelines

Questions and answers

No questions yet.

Ask a question

Posts are moderated. Review guidelines

Discussion

Recommended by 0 people. A recommendation is not a rating and is not part of either score.

Comments (0)

No comments yet.

Add a comment

Posts are moderated. Review guidelines

Versions

CommitDateChangePlatform Score
c78490c2026-11-22First and only published version: the package as committed to kobilyricsweb/skillalmanac-skills. No later change has been made, so there is no change log yet. Scored and scanned as source package 6210e9ac756e; the published folder omits internal metadata and VERIFICATION.md.42 (current)

Licence

Apache-2.0

Apache-2.0, declared in the skill frontmatter and shipped as a LICENSE file in the package.

Publisher

Name
Skill Almanac
Verification
Not verified. Nobody has claimed this listing yet.
Profile
No public profile yet

Other skills from this publisher

See all 261 skills by Skill Almanac

Similar skills

Category: Data & Analytics (assignment not yet confirmed by an editor)

Learn: How to install a Claude Code skill: personal, project and plugin routes

Terms this skill is an example of

This item is a worked example in the AI glossary for:

Common questions

What is the Platform Score of records-to-sql-inserts?

42 out of 100 under method v0.2, scored on 2026-11-21. It is provisional because efficacy has not been tested.

Has records-to-sql-inserts been tested for effectiveness?

Not yet. No evals have been run, so the score rests on a static review only.

Which tools has the install been checked on?

Install check passed on: Claude Code 2.1.330, 2026-11-23. It says the files install, not that the skill works.

What licence does it use?

Apache-2.0, declared in the skill frontmatter and shipped as a LICENSE file in the package.

When was this page last updated?

2026-11-21.

Cite this entry

Skill Almanac. records-to-sql-inserts. Updated 2026-11-21. Platform Score 42/100 (provisional, method v0.2), scored 2026-11-21. https://skillalmanac.com/skills/skill-almanac/records-to-sql-inserts

This citation identifies our entry and assessment. The original skill belongs to its publisher.

SKILL.md

The skill text is not mirrored here. Read it in the source repository.

Report or claim this listing

Report a problem with this listing (malicious content, wrong licence, impersonation, copyright). Publishers can add their own skills through Submit a skill; claiming an existing listing is not available yet.

Index status: not offered to search engines yet. Markdown version of this page

Why this page is not offered to search engines yet
  • This page is not in the first set of pages offered to search engines.

What to do next