repoql-sql

Document and query RepoQL SQL references for indexed repository data using DuckDB.

9|Updated Feb 10, 2026
One-click install
npx skills add https://github.com/stueeey/RepoQL.Public --skill repoql-sql
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: repoql-sql
Source: https://github.com/stueeey/RepoQL.Public/tree/main/clawdbot/skills/repoql-sql
Command: npx skills add https://github.com/stueeey/RepoQL.Public --skill repoql-sql

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enables developers to access a structured SQL reference for RepoQL, making it easy to explore repository metadata using familiar SQL patterns.

Core Features & Use Cases

  • Core views for repository data (Files, Functions, Types, Annotations) with sample queries.
  • Patterns to discover inventories, relationships, and diagnostics across codebases.
  • Real-world use: quickly list top files by lines, inspect function signatures, or review type hierarchies.

Quick Start

Run a sample repoql_query against indexed repository data to explore core views.

Frequently Asked Questions about repoql-sql

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query repository metadata using SQL and DuckDB?

You can query repository metadata using SQL and DuckDB by leveraging RepoQL views like Files, Functions, Types, and Annotations to explore indexed codebase data. This Skill provides ready-to-run SQL patterns for these common discovery tasks.

What SQL patterns are available for analyzing codebases?

Available SQL patterns for analyzing codebases include inventorying files, inspecting function signatures, reviewing type hierarchies, and listing top files by lines. These patterns apply to RepoQL views to discover relationships and diagnostics across your repository.

Can I inspect function signatures and type definitions with SQL queries?

Yes, you can inspect function signatures and type definitions with SQL queries using the core RepoQL views. The Skill provides sample queries that demonstrate how to review type hierarchies and analyze function definitions within indexed repository data.

Does RepoQL require DuckDB to run repository queries?

DuckDB is used to document and query RepoQL SQL references for indexed repository data. The Skill applies to software engineers and data analysts who build and explore repository metadata via RepoQL views, functions, types, and annotations.

What's the best way to inventory files across a repository?

The best way to inventory files across a repository is by running sample repoql_query operations against the core Files view. This allows you to quickly list top files by lines and discover inventories across your indexed codebase.

What are the limitations of using SQL for repository analytics?

Using SQL for repository analytics requires indexed repository data to query against. The Skill provides reference patterns and sample queries for discovery tasks, but exploration depends entirely on the metadata available in your RepoQL views.