parse

Parse SQL and inspect the AST using syntaqlite. Use when the user wants to see the parse tree, debug SQL syntax, or understand how a query is structured.

517 stars

Best use case

parse is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Parse SQL and inspect the AST using syntaqlite. Use when the user wants to see the parse tree, debug SQL syntax, or understand how a query is structured.

Teams using parse should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/parse/SKILL.md --create-dirs "https://raw.githubusercontent.com/LalitMaganti/syntaqlite/main/integrations/claude-code/skills/parse/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/parse/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How parse Compares

Feature / AgentparseStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Parse SQL and inspect the AST using syntaqlite. Use when the user wants to see the parse tree, debug SQL syntax, or understand how a query is structured.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Parse SQL

Parse SQLite SQL and display the abstract syntax tree (AST) using the syntaqlite CLI.

## Usage

```bash
# Print AST from a file
syntaqlite parse query.sql

# Print AST from stdin
echo "SELECT 1 + 2 FROM t" | syntaqlite parse

# Parse an inline expression
syntaqlite parse -e "SELECT 1"

# Output as JSON
syntaqlite parse -o json query.sql
```

## Options

- `-e, --expression <SQL>` — parse an inline SQL expression instead of files
- `-o, --output <FORMAT>` — output format (default: text)

## Output modes

- `text` — Human-readable indented AST tree (default)
- `json` — Machine-readable JSON AST

## Notes

- Use the default `text` output for quick inspection and `json` for programmatic use.

Related Skills

validate

517
from LalitMaganti/syntaqlite

Validate SQL and report diagnostics using syntaqlite. Use when the user wants to check SQL for errors, lint SQL files, or verify correctness against a schema.

format

517
from LalitMaganti/syntaqlite

Format SQL files using the syntaqlite formatter. Use when the user wants to format, reformat, or pretty-print SQL code.

run-tests

517
from LalitMaganti/syntaqlite

Run tests to verify correctness after code changes. Use when the user asks to run tests, verify changes, or check that things still work. Runs Rust unit tests and integration tests.

run-codegen

517
from LalitMaganti/syntaqlite

Regenerate all generated code from .synq definitions and SQLite grammar. Use when .synq files, grammar actions, or dialect definitions have been modified and generated C/Rust code needs updating.

release

517
from LalitMaganti/syntaqlite

Bump version, commit, tag, and create a draft GitHub Release. Use when the user

debug-formatter

517
from LalitMaganti/syntaqlite

Debug a SQL formatter bug. Use when the user reports incorrect formatting output — wrong whitespace, misplaced comments, blank lines, etc.

cpfast

517
from LalitMaganti/syntaqlite

Quickly commit and push current changes to a feature branch and create a PR, skipping pre-push checks. WARNING: if CI starts failing, use /cp instead.

cp

517
from LalitMaganti/syntaqlite

Commit all current changes, push to a feature branch, and create a PR. Use when the user asks to commit, push, save progress, or ship changes.

burpsuite-project-parser

31392
from sickn33/antigravity-awesome-skills

Searches and explores Burp Suite project files (.burp) from the command line. Use when searching response headers or bodies with regex patterns, extracting security audit findings, dumping proxy history or site map data, or analyzing HTTP traffic captured in a Burp project.

Security AnalysisClaude

content-parser

3891
from openclaw/skills

Extract and parse content from URLs. Triggers on: user provides a URL to extract content from, another skill needs to parse source material, "parse this URL", "extract content", "解析链接", "提取内容".

Data & Research

sparse-autoencoder-training

24269
from davila7/claude-code-templates

Provides guidance for training and analyzing Sparse Autoencoders (SAEs) using SAELens to decompose neural network activations into interpretable features. Use when discovering interpretable features, analyzing superposition, or studying monosemantic representations in language models.

Parser

11146
from danielmiessler/Personal_AI_Infrastructure

Extract structured JSON from URLs, files, videos, PDFs with entity extraction and batch support. USE WHEN parse, extract, URL, transcript, entities, JSON, batch, content, YouTube, PDF, article, newsletter, Twitter, browser extension, collision detection, detect content type, extract article, extract newsletter, extract YouTube, extract PDF, parse content.