trdsqlcsvjsonyamlsql

trdsql is a command-line tool that runs SQL queries directly on CSV, LTSV, JSON, YAML, and TBLN files. It supports PostgreSQL and MySQL syntax, can join data across multiple files and databases, and outputs results in multiple formats, including JSON, Markdown, and vertical display.

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 "trdsqlcsvjsonyamlsql" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-34709ac41f833c885d0d3974643e4906067ae8339153339d551ed719babffe25. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/trdsql-sql-query-engine-csv-json-yaml-files 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

trdsql is a command-line tool that runs SQL queries directly on CSV, LTSV, JSON, YAML, and TBLN files. It supports PostgreSQL and MySQL syntax, can join data across multiple files and databases, and outputs results in multiple formats, including JSON, Markdown, and vertical display.

0 Downloads

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
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "trdsql CSV、JSON 和 YAML 文件的 SQL 查询引擎"
slug: "trdsql-sql-query-engine-csv-json-yaml-files"
version: "1.0.0"
displayName: "trdsql CSV、JSON 和 YAML 文件的 SQL 查询引擎"
summary: "trdsql 是一个 CLI 工具,可在 CSV、LTSV、JSON、YAML 和 TBLN 文件上直接执行 SQL 查询。它支持 PostgreSQL 和 MySQL 语法,能够跨多个文件和数据库连接数据,并以多种格式输出结果,包括 JSON、Markdown 和垂直显示。"
license: "MIT"
description: "trdsql 是一个 CLI 工具,可在 CSV、LTSV、JSON、YAML 和 TBLN 文件上直接执行 SQL 查询。它支持 PostgreSQL 和 MySQL 语法,能够跨多个文件和数据库连接数据,并以多种格式输出结果,包括 JSON、Markdown 和垂直显示。"
github_stars: 2154
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
category: "Data Extraction & Transformation"
framework: "Custom Agents"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 2154

trdsql CSV、JSON 和 YAML 文件的 SQL 查询引擎

trdsql is a CLI tool that executes SQL queries directly on CSV, LTSV, JSON, YAML, and TBLN files. It supports PostgreSQL and MySQL syntax, can join data across multiple files and databases, and outputs results in various formats including JSON, Markdown, and vertical display.

Installation

Use the upstream install or setup path that matches your environment:

  • make
  • make install
  • brew install trdsql
  • docker pull noborus/trdsql

Requirements and caveats from upstream:

Basic usage or getting-started notes:

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value75/100

Highlights

  • 提供对多种文件格式(CSV/JSON/YAML)的直接 SQL 查询能力
  • 支持 PostgreSQL 和 MySQL 语法,满足主流数据库用户习惯
  • 具备跨文件数据连接功能,提升数据处理效率
Trigger Precision55/100

Areas to improve

  • 触发词描述不够具体 Reported severity: Minor

    description 描述了工具功能但未提供具体触发关键词,用户难以通过自然语言准确触发

    Recommendation: 建议补充具体触发词,如“查询 CSV 文件”、“对 JSON 执行 SQL”、“YAML 数据查询”等

Highlights

  • 功能描述清晰,明确说明了支持的文件格式和输出格式
Structure and Standards65/100

Areas to improve

  • 缺少具体使用示例 Reported severity: Minor

    文档提到了 Usage 和 Example 章节,但未提供具体的 SQL 查询示例和执行步骤

    Recommendation: 建议添加完整的端到端使用示例,包括输入文件、SQL 查询语句和输出结果

Highlights

  • 文档结构基本完整,包含安装说明和工具介绍
  • frontmatter 信息完整,包含版本、许可证等必要信息
Execution Reliability70/100

Areas to improve

  • 异常处理机制不明确 Reported severity: Minor

    未说明参数校验、错误处理和不可逆操作的确认机制

    Recommendation: 建议补充异常处理说明,特别是文件不存在、SQL 语法错误等常见场景的处理方式

Highlights

  • 提供了多种安装方式(make/brew/docker),适配不同用户环境
  • 工具来源明确,来自官方 GitHub 仓库,可信度高
Evidence Verifiability (mean of the first four)66/100

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 28
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
  • pkg.go.dev
  • raw.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.