Skip to content
Back to skills

Generate Validated Analytics Sql With Sqlcoder

ASecurity

Use SQLCoder when an analytics agent needs to turn natural-language questions plus schema context into SQL drafts that can be reviewed, validated, and run inside a controlled data workflow.

  • 36 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 2, 2026
ai-agentspythongosqlgitdatabasesecuritydocumentation

Works with

  • terminal

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned September 2, 2026

npx -y skills add agentskillexchange/skills --skill generate-validated-analytics-sql-with-sqlcoder --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Generate Validated Analytics Sql With Sqlcoder?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Generate Validated Analytics Sql With Sqlcoder
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-generate-validated-analytics-sql-with-sqlcoder/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-generate-validated-analytics-sql-with-sqlcoder)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "Generate validated analytics SQL with SQLCoder"
slug: "generate-validated-analytics-sql-with-sqlcoder"
description: "Use SQLCoder when an analytics agent needs to turn natural-language questions plus schema context into SQL drafts that can be reviewed, validated, and run inside a controlled data workflow."
github_stars: 4035
verification: "security_reviewed"
source: "https://github.com/defog-ai/sqlcoder"
author: "Defog"
publisher_type: "company"
category: "Data Extraction & Transformation"
framework: "Custom Agents"
tool_ecosystem:
  github_repo: "defog-ai/sqlcoder"
  github_stars: 4035
---

# Generate validated analytics SQL with SQLCoder

Use SQLCoder when an analytics agent needs to turn natural-language questions plus schema context into SQL drafts that can be reviewed, validated, and run inside a controlled data workflow.

## Prerequisites

Python environment, SQLCoder package or Hugging Face model weights, schema metadata for the target database, and a controlled database execution or review path.

## Installation

Use the upstream install or setup path that matches your environment:
- pip install "sqlcoder[transformers]"
- pip install "sqlcoder[llama-cpp]"

Requirements and caveats from upstream:
- python inference.py -q "Question about the sample database goes here"

Basic usage or getting-started notes:
- If running on a non-apple silicon computer without GPU access, please run this on Linux/Intel Mac
- And run this on Windows
- In your terminal, run

- Source: https://github.com/defog-ai/sqlcoder
- Extracted from upstream docs: https://raw.githubusercontent.com/defog-ai/sqlcoder/HEAD/README.md

## Documentation

- https://github.com/defog-ai/sqlcoder

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/generate-validated-analytics-sql-with-sqlcoder/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…