sqry-grok

sqry-grok is a skill for Claude Code from verivus-oss/sqry. It costs 58 tokens per session (1,742 once invoked), scanned E, original, MIT.

A setup and workflow guide for using sqry, a tool that searches code by its structure, with Grok. It covers plugin setup, command-line use, MCP connection, index recovery, and troubleshooting.

In plain words
What is it for?
Use it to install and verify sqry, connect it to Grok, search a project, and recover when its code index is out of date.
Why use it?
It gives Grok a way to follow code relationships instead of guessing from matching words or reading files one by one.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions .claude-plugin; mentions Claude Code.

Part of the sqry plugin — 8 skills, 1 MCP server shipped together

Good fit Use it to install and verify sqry, connect it to Grok, search a project, and recover when its code index is out of date.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/verivus-oss/sqry/sqry-grok
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add verivus-oss/sqry --skill sqry-grok
Clone the repo
git clone --depth 1 https://github.com/verivus-oss/sqry

Made for: Claude Code.

Or install sqry, the plugin that ships this one along with the rest of its 8 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sqry-grok

README.md
[![agentmods](https://agentmods.dev/badge/skills/verivus-oss/sqry/sqry-grok/github.svg)](https://agentmods.dev/skills/verivus-oss/sqry/sqry-grok)
Your own site
<a href="https://agentmods.dev/skills/verivus-oss/sqry/sqry-grok"><img src="https://agentmods.dev/badge/skills/verivus-oss/sqry/sqry-grok/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sqry-grok

Your own site · 80×15
<a href="https://agentmods.dev/skills/verivus-oss/sqry/sqry-grok"><img src="https://agentmods.dev/badge/skills/verivus-oss/sqry/sqry-grok.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,742 The whole file, excluding the scripts and references it only reads on demand.
Security scan E 3 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00058 $0.01742
Opus 5.5 $0.00023 $0.00697
Sonnet 5.5 $0.00012 $0.00348
Haiku 4.5 $0.00006 $0.00174

Measured 1mo ago against content hash 14cbc46397ae, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade E, and why

sqry-grok scanned grade E with 3 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://raw.githubusercontent.com/verivus-oss/sqry/main/scripts/install.sh | bash -s -- --component all

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf .sqry/graph .sqry/graphs .sqry/analysis

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://raw.githubusercontent.com/verivus-oss/sqry/main/scripts/install.sh | bash -s -- --component all
agent-skills/skills/sqry-grok/SKILL.md · 161 lines

How it starts

The opening of the file, as written. The whole thing — 161 lines — stays where its author put it; the contents beside it link to each section on GitHub.

sqry for Grok

Use this skill when the active agent is Grok and the user wants sqry v33.0.1 semantic code search.

Best path: Install the sqry plugin (.claude-plugin/ bundle). Grok Build auto-discovers it, loads all sqry skills, auto-registers sqry-mcp --no-daemon via .mcp.json, and makes scripts/doctor.sh available. Zero manual config.

Grok can still use sqry in two ways (plugin makes #2 automatic):

  1. CLI via shell command tools. This works whenever sqry is installed and is the reliable fallback.
  2. MCP tools and resources, when the Grok session has sqry-mcp connected (auto-configured by the plugin).

Plugin Installation (Preferred for Grok Build)

The entire sqry-skills repository is a Claude-compatible plugin (.claude-plugin/plugin.json + skills/ + .mcp.json + .lsp.json + scripts/).

  1. git clone https://github.com/verivus-oss/sqry-skills ~/.grok/plugins/sqry
  2. In Grok TUI: /plugins, enable sqry, then /reload-plugins
  3. /skills now lists the sqry skills; /mcps shows the auto-registered sqry server.
  4. Run ~/.grok/plugins/sqry/scripts/doctor.sh --workspace . for full verification.

The plugin also works in Claude Code and any host that reads Claude plugins.

After enabling, you usually do not need the individual sqry-* skills via npx; the plugin provides them.

Setup (sqry Binary)

Install or upgrade sqry:

curl -fsSL https://raw.githubusercontent.com/verivus-oss/sqry/main/scripts/install.sh | bash -s -- --component all
sqry --version
sqry-mcp --version
sqry-lsp --version
sqryd --version

Build or refresh the index:

cd /path/to/your/project
sqry index .
sqry index --status --json .

CLI-First Usage

Use the Grok shell command tool from the workspace root. Flags go before the positional query; predicates (kind:, name:, lang:, path:) belong to sqry query:

sqry query --json 'kind:function AND name:execute'
sqry query --json 'kind:class AND lang:typescript'
sqry --json --kind class 'Manager|Executor|Recorder'
sqry graph direct-callers --json "ApprovalManager"
sqry graph direct-callees --json "main"
sqry impact --json "Executor::run"
sqry duplicates --json
sqry cycles --json

Read the full file on GitHub · 161 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 161 lines · 58 tokens per session scan E 14cbc46397ae

Subscribe to this mod's changes

sqry-grok is a skill published in the GitHub repository verivus-oss/sqry (32 stars, last pushed 26d ago), licensed MIT. It adds 58 tokens to every session and 1,742 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it E with 3 findings (downloads and executes remote code, recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-06.

Related

sqry-grok compared with skills from other repositories

sqry-grok next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sqry-grokverivus-oss/sqrySkill3226d agoMITE58Claude Code
tilthjahala/tilthSkill36213d agoMITA56Claude Code, Codex
cocosearch-debuggingVioletCranberry/coco-searchSkill372d agoMITA37Claude Code
cocosearch-refactoringVioletCranberry/coco-searchSkill372d agoMITA47Claude Code
cocosearch-depsVioletCranberry/coco-searchSkill372d agoMITA34Claude Code
grepai-search-advancedyoanbernabeu/grepai-skillsSkill201mo agoMITA29Claude Code
grepai-search-basicsyoanbernabeu/grepai-skillsSkill201mo agoMITA26Claude Code