Grdb
johnrogers/claude-swift-engineering
A skill your agent uses when writing raw SQL with GRDB, complex joins across 4+ tables, window functions, ValueObservation for reactive queries, or dropping down from SQLiteData for performance.
Help users write, validate, and troubleshoot osquery SQL queries using provided osquery table schemas as the authoritative source.
$ npx skills add tsale/awesome-dfir-skills --skill osquery-query-helper -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install tsale/awesome-dfir-skills osquery-query-helper --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/tsale/awesome-dfir-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/hunting/osquery-helper .claude/skills/osquery-query-helper && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "osquery-query-helper" agent skill from https://github.com/tsale/awesome-dfir-skills/tree/main/skills/hunting/osquery-helper into .claude/skills/osquery-query-helper/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "osquery-query-helper", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/tsale/awesome-dfir-skills/tree/main/skills/hunting/osquery-helperType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add tsale/awesome-dfir-skills --skill osquery-query-helper -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install tsale/awesome-dfir-skills osquery-query-helper --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/tsale/awesome-dfir-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/hunting/osquery-helper .agents/skills/osquery-query-helper && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "osquery-query-helper" agent skill from https://github.com/tsale/awesome-dfir-skills/tree/main/skills/hunting/osquery-helper into .agents/skills/osquery-query-helper/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "osquery-query-helper", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add tsale/awesome-dfir-skills --skill osquery-query-helper -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install tsale/awesome-dfir-skills osquery-query-helper --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/tsale/awesome-dfir-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/hunting/osquery-helper .cursor/skills/osquery-query-helper && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "osquery-query-helper" agent skill from https://github.com/tsale/awesome-dfir-skills/tree/main/skills/hunting/osquery-helper into .cursor/skills/osquery-query-helper/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "osquery-query-helper", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/tsale/awesome-dfir-skills.git --path skills/hunting/osquery-helper--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add tsale/awesome-dfir-skills --skill osquery-query-helper -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install tsale/awesome-dfir-skills osquery-query-helper --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/tsale/awesome-dfir-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/hunting/osquery-helper .gemini/skills/osquery-query-helper && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "osquery-query-helper" agent skill from https://github.com/tsale/awesome-dfir-skills/tree/main/skills/hunting/osquery-helper into .gemini/skills/osquery-query-helper/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "osquery-query-helper", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install tsale/awesome-dfir-skills osquery-query-helperInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add tsale/awesome-dfir-skills --skill osquery-query-helper -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/tsale/awesome-dfir-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/hunting/osquery-helper .github/skills/osquery-query-helper && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "osquery-query-helper" agent skill from https://github.com/tsale/awesome-dfir-skills/tree/main/skills/hunting/osquery-helper into .github/skills/osquery-query-helper/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "osquery-query-helper", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add tsale/awesome-dfir-skills --skill osquery-query-helper -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install tsale/awesome-dfir-skills osquery-query-helper --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/tsale/awesome-dfir-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/hunting/osquery-helper .opencode/skills/osquery-query-helper && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "osquery-query-helper" agent skill from https://github.com/tsale/awesome-dfir-skills/tree/main/skills/hunting/osquery-helper into .opencode/skills/osquery-query-helper/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "osquery-query-helper", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
osquery-query-helperHelp users write, validate, and troubleshoot osquery SQL queries using provided osquery table schemas as the authoritative source.
Osquery Query Helper is an agent skill from tsale/awesome-dfir-skills. Help users write, validate, and troubleshoot osquery SQL queries using provided osquery table schemas as the authoritative source.
Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including scripts (for example `scripts/detect-format.sh` and `scripts/extract-table.sh`).
It sits in Databases, covering SQL. It works with SQL, Linux and macOS. The repository describes itself as: A curated collection of DFIR skills and workflows for InfoSec practitioners. The licence is Apache-2.0.
8 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 6e52942. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 2 files in scripts/ (Shell), which the agent can run.
Shell commands in SKILL.md call:
bashFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Osquery Query Helper loads about 1.5k tokens when it runs. Until then it costs about 38 tokens; SKILL.md has 632 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from tsale/awesome-dfir-skills at commit 6e52942, republished under its Apache-2.0 licence (© tsale). 632 words, ~1,493 tokens.
.claude/skills/osquery-query-helper/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.Help users with all aspects of osquery query work:
All work is grounded in the tables and columns defined in the provided schema files for the specified EDR platform.
Schema files are located in resources/ and named by EDR platform: <platform>_osquery_schema.spec
standard_osquery_schema.spec — Baseline vanilla osquery (default when no platform specified)bitdefender_, kolide_, crowdstrike_, sentinelone_, carbonblack_To discover available platforms:
ls resources/*_osquery_schema.spec 2>/dev/null || ls resources/*.specSchema files use one of two formats to indicate OS compatibility:
platforms([...]) fieldtable_name("<table_name>")
description("Brief description.")
schema([
Column("column_name", TYPE, "Column description")
])
implementation("<table_name>@genTable")
platforms(["darwin", "linux", "windows"])#platform marker before table definitionsA platform marker on its own line applies to all tables until the next marker:
#darwin
table_name("<mac_only_table>")
...
#linwin
table_name("<linux_windows_table>")
...| Marker | Platforms |
|---|---|
#darwin | macOS only |
#linux | Linux only |
#windows | Windows only |
#linwin | Linux and Windows |
#macwin | macOS and Windows |
#posix | macOS, Linux, FreeBSD |
#sleuthkit | macOS, Linux (requires The Sleuth Kit) |
#utility | Cross-platform utility tables |
#cross-platform | All supported platforms |
The schema files are large. Always follow the workflow below to extract table definitions.
Helper scripts are provided in scripts/ to simplify complex operations:
scripts/detect-format.sh - Determines schema formatscripts/extract-table.sh - Extracts complete table definitions# Search by table name keyword
grep -i 'table_name(".*<keyword>' "$SCHEMA_FILE"
# Search descriptions for concepts
grep -i 'description(".*<concept>' "$SCHEMA_FILE"Use the extraction script to get the complete table definition:
bash scripts/extract-table.sh <schema_file> <table_name>Example:
bash scripts/extract-table.sh resources/standard_osquery_schema.spec processesThe script automatically:
#platform marker for Format 2 schemasIf you need to check the format manually:
bash scripts/detect-format.sh <schema_file>
# Returns: "platforms_array" or "platform_markers"schema([...]) blockplatforms([...]) field or preceding #platform markerWHERE clauses, use LIMIT for exploration, avoid SELECT *, minimize JOINs'<path_to_file>', '<username>', '<timestamp>', '<ip_address>'Ask user or check context. Default to standard_osquery_schema.spec if unspecified.
Writing new query? Validating? Troubleshooting? What data is needed?
Use grep to find tables, then bash scripts/extract-table.sh to get full definitions. Verify columns and OS compatibility from the extracted output.
Use only verified tables/columns. Add WHERE clauses and LIMIT for performance.
Include:
© tsale, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files (scripts) in skills/hunting/osquery-helper of tsale/awesome-dfir-skills.
Open the folder on GitHubat commit 6e52942
Osquery Query Helper next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Osquery Query Helper this skilltsale/awesome-dfir-skills | 323 | — | ~1.5k | Automated safety check: Pass | Apache-2.0 | |
| Grdbjohnrogers/claude-swift-engineering | 231 | — | ~719 | Automated safety check: Pass | MIT | |
| RevopsAvdLee/RocketSimApp | 804 | 6 repos | ~3.7k | Automated safety check: Pass | Custom licence | |
| Forensics OsqueryAgentSecOps/SecOpsAgentKit | 220 | 1 repos | ~4.9k | Automated safety check: Notes | Custom licence | |
| Evolving The Data ModelTriliumNext/Trilium | 38k | — | ~2.1k | Automated safety check: Pass | AGPL-3.0 | |
| Safe SQL Executionsupabase/supabase | 111k | — | ~4.2k | Automated safety check: Pass | Apache-2.0 |
johnrogers/claude-swift-engineering
A skill your agent uses when writing raw SQL with GRDB, complex joins across 4+ tables, window functions, ValueObservation for reactive queries, or dropping down from SQLiteData for performance.
AvdLee/RocketSimApp
When the user wants help with revenue operations, lead lifecycle management, or marketing-to-sales handoff processes.
AgentSecOps/SecOpsAgentKit
SQL-powered forensic investigation and system interrogation using osquery to query operating systems as relational databases.
TriliumNext/Trilium
A skill your agent uses when adding a DB migration or a new column/field to a Becca entity in Trilium ("add a migration", "new column on notes/attributes", "ALTER TABLE", "add a field to…
supabase/supabase
A skill your agent uses whenever code will build, return, fetch, or execute SQL that runs against a user's real Postgres database — even when the request reads like an ordinary feature or bug fix…
citusdata/citus
Backport one or more merged citusdata/citus main commits/PRs onto the active release branches.
tsale/awesome-dfir-skills
Professional malware analysis workflow for PE executables and suspicious files.
tsale/awesome-dfir-skills
Apply the NATO Admiralty System (AJP-2.1) to assess source reliability and information credibility in cyber threat intelligence, OSINT, and breach analysis.
tsale/awesome-dfir-skills
Analyse Mitre ATT&CK tactics, techniques and sub-techniques.
tsale/awesome-dfir-skills
Build structured threat actor profiles using the 5W1H framework and the Diamond Model.
Categories
Help users write, validate, and troubleshoot osquery SQL queries using provided osquery table schemas as the authoritative source. Osquery Query Helper is an agent skill from tsale/awesome-dfir-skills. Help users write, validate, and troubleshoot osquery SQL queries using provided osquery table schemas as the authoritative source.
Osquery Query Helper fits situations like: tasks that involve SQL.
Run `npx skills add tsale/awesome-dfir-skills --skill osquery-query-helper -a claude-code`. Or copy the skill folder (skills/hunting/osquery-helper in tsale/awesome-dfir-skills) into .claude/skills/osquery-query-helper in your project. Claude Code loads it when a task matches its description.
Run `npx skills add tsale/awesome-dfir-skills --skill osquery-query-helper -a codex`. Or copy the skill folder (skills/hunting/osquery-helper in tsale/awesome-dfir-skills) into .agents/skills/osquery-query-helper in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add tsale/awesome-dfir-skills --skill osquery-query-helper -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/osquery-query-helper, .gemini/skills/osquery-query-helper, .github/skills/osquery-query-helper and .opencode/skills/osquery-query-helper in your project.
Going by SKILL.md and its folder, Osquery Query Helper needs a shell for the scripts in its folder and the command-line tools its instructions call (bash). Our summary lists: A Bash shell.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Osquery Query Helper is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.5k tokens (SKILL.md is roughly 6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Osquery Query Helper: Grdb (johnrogers/claude-swift-engineering, 231 stars), Revops (AvdLee/RocketSimApp, 804 stars), Forensics Osquery (AgentSecOps/SecOpsAgentKit, 220 stars) and Evolving The Data Model (TriliumNext/Trilium, 38k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
tsale (a GitHub user) maintains it in tsale/awesome-dfir-skills, which has 323 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on May 14, 2026.
Source: tsale/awesome-dfir-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.