query
Skill0 starsChanged 8 months agoMITView on GitHub
Run StackQL queries against cloud and SaaS providers. Accepts raw SQL or natural language questions. Translates natural language into StackQL SQL using the provider schema. Supports all StackQL operations: SELECT, INSERT, UPDATE, DELETE, and EXEC.
- Reads credentials
38 other projects use a version of this.
Adopted by
Most recently taken up by
- hydra-db/hydradb-claude-codetheir own version, first seen Nov 8, 2026
- justmytwospence/strava-mcptheir own version, first seen Nov 8, 2026
- levi-qiao/obsidian-llm-wikitheir own version, first seen Nov 8, 2026
- prdlk/skillstheir own version, first seen Nov 1, 2026
- honeydew-ai/honeydew-ai-coding-agents-pluginstheir own version, first seen Nov 1, 2026
- aibtcdev/skillstheir own version, first seen Oct 26, 2026
Used with
Projects with it also use attach-db, install-duckdb and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
duckdbSkillattach-db
Attach a DuckDB database file for use with /duckdb-skills:query. Explores the schema (tables, columns, row counts) and writes a SQL state file so subsequent queries can restore this session automatically via duckdb -init.
Also in 3 projects that use this
carlopiSkillinstall-duckdb
Install or update DuckDB extensions. Each argument is either a plain extension name (installs from core) or name@repo (e.g. magic@community). Pass --update to update extensions instead of installing.
Also in 3 projects that use this
carlopiSkillread-file
Read and explore any data file (CSV, JSON, Parquet, Avro, Excel, spatial, …) by filename only — resolves the path automatically. Uses DuckDB + the magic extension for format auto-detection. Installs magic if needed.
Also in 4 projects that use this
JaimeGBASkillingest
Digest an external source (article, paper, transcript, URL, book chapter) and integrate its content into the knowledge base
Also in 18 projects that use this
Microsoft AzureSkilllint
Run all linting and spell checking for TypeScript and Rust code. Run this before committing to catch style issues, clippy warnings, and misspellings.
Also in 17 projects that use this
seongjaeryuSkillsave
Complete and save your current thinking to Bindly
Also in 4 projects that use this
Other versions38 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 38
- garrytan/gbrain★ 32ksame name
- facebookincubator/velox★ 4.3ksame name
- jason-effi-lab/karpathy-llm-wiki-vault★ 718same name
- duckdb/duckdb-skills★ 598same name
- ArtemXTech/claude-code-obsidian-starter★ 225same name
- HurricaHjz/SecondSelf★ 156same name
- romarayt/raytsystem-public-os★ 140same name
- HurricaHjz/second-yourself★ 105same name
- StarRocks/starrocks-debug-skills★ 77same name
- MetamusicX/zissa-wiki★ 58same name
28 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- auth-setupSkill
- exploreSkill
- install-stackqlSkill
- notebook-cellSkill
- notebookSkill
- pull-providerSkill
- read-memoriesSkill
- scaffold-stackSkill
- setup-ciSkill
- stackql-docsSkill
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 7 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 31 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Follow these steps in order.
- Very specific: line 24
If not found, delegate to /stackql-skills:install-stackql and then continue.
- Distinctive: line 28
Check if there is an auth configuration available.
- Very specific: line 43
If the provider is not installed, delegate to /stackql-skills:pull-provider <provider> and then continue.
- Distinctive: line 47
If the input is natural language (not valid StackQL SQL), generate the appropriate query:
- Distinctive: line 62
Use the schema to generate the correct StackQL SQL.
- Distinctive: line 100
If the generated query is an INSERT, UPDATE, DELETE, or EXEC operation, show the query to the user and ask for confirmation before …
- Distinctive: line 108
Do NOT execute destructive operations without explicit user confirmation.
- Very specific: line 130
Resource not found: use /stackql-skills:explore <provider> to help find the correct resource path
- Very specific: line 131
Required parameter missing: check DESCRIBE output and add missing WHERE clause parameters
- Very specific: line 132
Syntax or API error: use /stackql-skills:stackql-docs <error keywords> to search for guidance
- Distinctive: line 141
If the result set is large, summarize key findings and offer to drill down further.
“Common” is measured: kept by at least 6 in 10 of the 31 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
You are helping the user query cloud infrastructure and SaaS resources using StackQL.
Input: $@
Follow these steps in order.
Step 1 - Check StackQL is installed
command -v stackqlIf not found, delegate to /stackql-skills:install-stackql and then continue.
Step 2 - Resolve auth
Check if there is an auth configuration available. Look for:
- A
.stackqlrcfile in the current directory or home directory - Environment variables for common providers (e.g.,
GOOGLE_CREDENTIALS,AWS_ACCESS_KEY_ID,AZURE_CLIENT_ID,GITHUB_TOKEN)
Build the --auth JSON string from what's available. If no credentials are found for the provider referenced in the query, suggest using /stackql-skills:auth-setup <provider>.
Step 3 - Identify the provider and check it's pulled
Extract the provider name from the query (e.g., google from google.compute.instances).
stackql exec "SHOW PROVIDERS;" --output jsonIf the provider is not installed, delegate to /stackql-skills:pull-provider <provider> and then continue.
Step 4 - Generate SQL if needed
If the input is natural language (not valid StackQL SQL), generate the appropriate query:
- First, explore the relevant resources to understand the schema:
stackql exec "SHOW SERVICES IN <provider>;" --output jsonThen narrow down to the relevant service and resource:
stackql exec "SHOW RESOURCES IN <provider>.<service>;" --output json
stackql exec "DESCRIBE <provider>.<service>.<resource>;" --output json- Use the schema to generate the correct StackQL SQL. Key patterns:
Read (SELECT):
SELECT id, name, status
FROM <provider>.<service>.<resource>
WHERE region = 'us-east-1';Create (INSERT):
INSERT INTO <provider>.<service>.<resource> (project, zone, name, ...)
SELECT 'my-project', 'us-central1-a', 'my-resource', ...;Modify (UPDATE):
UPDATE <provider>.<service>.<resource>
SET <field> = <value>
WHERE <identifiers>;Remove (DELETE):
DELETE FROM <provider>.<service>.<resource>
WHERE <identifiers>;Lifecycle (EXEC):
EXEC <provider>.<service>.<resource>.<method>
@param1 = 'value1', @param2 = 'value2';Important: StackQL requires WHERE clauses for provider-specific parameters like project, region, zone, subscriptionId, etc. Check the DESCRIBE output for required parameters.
Step 5 - Confirm destructive operations
If the generated query is an INSERT, UPDATE, DELETE, or EXEC operation, show the query to the user and ask for confirmation before executing.
This will execute the following against your cloud environment:
<QUERY>Proceed?
Do NOT execute destructive operations without explicit user confirmation.
Step 6 - Execute the query
stackql exec "<QUERY>" --auth="${AUTH}" --output jsonFor queries that may return large result sets, add a practical limit or use --output csv for more compact output.
For multi-line queries, use a heredoc:
stackql exec --auth="${AUTH}" --output json <<'SQL'
<QUERY>
SQLStep 7 - Handle errors
- Provider not found: delegate to
/stackql-skills:pull-provider <provider> - Authentication error: suggest
/stackql-skills:auth-setup <provider> - Resource not found: use
/stackql-skills:explore <provider>to help find the correct resource path - Required parameter missing: check
DESCRIBEoutput and add missing WHERE clause parameters - Syntax or API error: use
/stackql-skills:stackql-docs <error keywords>to search for guidance - Timeout: suggest increasing
--apirequesttimeoutor narrowing the query scope
Step 8 - Present results
Show the query output to the user. For JSON output, format it clearly.
For natural language questions, provide a brief interpretation of the results.
If the result set is large, summarize key findings and offer to drill down further.
Suggest related queries the user might find useful based on the results.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

