sqlcodersql
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "sqlcodersql" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-b6d3c142a48af7a5b9350c3af033b30ed23114e0346f992f4a3c207c7c117dd6. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/generate-validated-analytics-sql-with-sqlcoder before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Use SQLCoder when an analysis agent needs to translate natural-language questions and schema context into SQL drafts for review, validation, and execution within a controlled data workflow.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Python environment, SQLCoder package or Hugging Face model weights, schema metadata for the target database, and a controlled database execution or review path.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: "使用SQLCoder生成经过验证的分析SQL"
slug: "generate-validated-analytics-sql-with-sqlcoder"
version: "1.0.0"
displayName: "使用 SQLCoder 生成经过验证的分析 SQL"
summary: "当分析代理需要将自然语言问题和模式上下文转化为SQL草稿以便在受控数据工作流中进行审查、验证和运行时,请使用SQLCoder。"
license: "MIT"
description: "当分析代理需要将自然语言问题和模式上下文转化为SQL草稿以便在受控数据工作流中进行审查、验证和运行时,请使用SQLCoder。"
github_stars: 4035
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Data Extraction & Transformation"
framework: "Custom Agents"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 4035使用SQLCoder生成经过验证的分析SQL
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
-
Extracted from upstream docs: https://raw.githubusercontent.com/defog-ai/sqlcoder/HEAD/README.md
Documentation
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供自然语言转 SQL 的实用能力,适用于数据分析场景
- 具有明确的目标用户和使用价值
Highlights
- description 清晰描述了使用场景和目标
- 触发条件明确,边界清晰
Areas to improve
-
缺少详细步骤和端到端示例 Reported severity: Major
文档包含基本结构但缺少详细的执行步骤划分和完整的端到端使用示例
Recommendation: 建议添加详细的 Phase 划分、具体的使用步骤说明和完整的端到端示例
Highlights
- frontmatter 完整,包含必要的元数据信息
- 文档结构基本清晰,包含 prerequisites 和 installation 部分
Areas to improve
-
异常处理覆盖不足 Reported severity: Major
未覆盖主要异常情况,如安装失败、模型加载错误、数据库连接问题等
Recommendation: 建议添加常见异常的处理方案和错误排查指南
Highlights
- 提供了明确的安装命令和基本要求
- 工具来源明确,引用了上游文档
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 32, 33
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
- raw.githubusercontent.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Python environment, SQLCoder package or Hugging Face model weights, schema metadata for the target database, and a controlled database execution or review path.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.