grok

grok is a command for Claude Code from vladolaru/claude-code-plugins. It costs 17 tokens per session (1,270 once invoked), scanned A, original, MIT.

A routing command that reviews the current conversation and classifies useful knowledge as a lesson, reusable pattern, research note, or design decision.

In plain words
What is it for?
Use it to ask for a quick confirmation and then send the conversation to the appropriate knowledge-capture workflow, or to an agent-behavior review.
Why use it?
It helps choose the right kind of project record without making you decide the classification yourself.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: names the AskUserQuestion tool.

Good fit Use it to ask for a quick confirmation and then send the conversation to the appropriate knowledge-capture workflow, or to an agent-behavior review.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/vladolaru/claude-code-plugins/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.

Clone the repo
git clone --depth 1 https://github.com/vladolaru/claude-code-plugins

Made for: Claude Code.

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 grok

README.md
[![agentmods](https://agentmods.dev/badge/commands/vladolaru/claude-code-plugins/grok/github.svg)](https://agentmods.dev/commands/vladolaru/claude-code-plugins/grok)
Your own site
<a href="https://agentmods.dev/commands/vladolaru/claude-code-plugins/grok"><img src="https://agentmods.dev/badge/commands/vladolaru/claude-code-plugins/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 grok

Your own site · 80×15
<a href="https://agentmods.dev/commands/vladolaru/claude-code-plugins/grok"><img src="https://agentmods.dev/badge/commands/vladolaru/claude-code-plugins/grok.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,270 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00017 $0.01270
Opus 5.5 $0.00007 $0.00508
Sonnet 5.5 $0.00003 $0.00254
Haiku 4.5 $0.00002 $0.00127

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

Security

Grade A, and why

grok scanned grade A with 0 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 3mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/dex/commands/grok.md · 111 lines

How it starts

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

/dex:grok

Deeply understand the current conversation, classify the knowledge, and delegate to the right capture flow. This command asks one question, then hands off — keep it fast.

digraph grok_routing {
    "Start" [shape=doublecircle];
    "Agent behavior topic?" [shape=diamond];
    "Delegate to /dex:sharpen" [shape=doublecircle];
    "Knowledge signals found?" [shape=diamond];
    "Nothing to capture" [shape=doublecircle];
    "Classify type" [shape=box];
    "Confirm with user" [shape=box];
    "User selected?" [shape=diamond];
    "Reusability signals?" [shape=diamond];
    "Upgrade to pattern?" [shape=diamond];
    "Execute /dex:learn" [shape=doublecircle];
    "Execute /dex:pattern" [shape=doublecircle];
    "Execute /dex:research" [shape=doublecircle];
    "Execute decision flow" [shape=doublecircle];

    "Start" -> "Agent behavior topic?";
    "Agent behavior topic?" -> "Delegate to /dex:sharpen" [label="yes"];
    "Agent behavior topic?" -> "Knowledge signals found?" [label="no"];
    "Knowledge signals found?" -> "Nothing to capture" [label="none"];
    "Knowledge signals found?" -> "Classify type" [label="found"];
    "Classify type" -> "Confirm with user";
    "Confirm with user" -> "User selected?";
    "User selected?" -> "Reusability signals?" [label="Learning"];
    "User selected?" -> "Execute /dex:pattern" [label="Pattern"];
    "User selected?" -> "Execute decision flow" [label="Decision"];
    "User selected?" -> "Execute /dex:research" [label="Research"];
    "Reusability signals?" -> "Upgrade to pattern?" [label="yes"];
    "Reusability signals?" -> "Execute /dex:learn" [label="no"];
    "Upgrade to pattern?" -> "Execute /dex:pattern" [label="yes"];
    "Upgrade to pattern?" -> "Execute /dex:learn" [label="no (default)"];
}

Step 1: Classify

If the conversation is primarily about agent behavior (wrong tools, inefficient discovery, missed shortcuts), route to /dex:sharpen instead. Grok captures domain knowledge; sharpen captures operational knowledge.

Read the full file on GitHub · 111 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. 3mo ago First seen · 111 lines · 17 tokens per session scan A 040e228d6fba

Subscribe to this mod's changes

grok is a command published in the GitHub repository vladolaru/claude-code-plugins (9 stars, last pushed today), licensed MIT. It adds 17 tokens to every session and 1,270 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

grok compared with commands from other repositories

grok next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
grokvladolaru/claude-code-pluginsCommand9todayMITA17Claude Code
checklistgithub/spec-kitCommand153ktodayMITA13Claude Code
clarifygithub/spec-kitCommand153ktodayMITA27Claude Code
specifygithub/spec-kitCommand153ktodayMITA13Claude Code
analyzegithub/spec-kitCommand153ktodayMITA26Claude Code
convergegithub/spec-kitCommand153ktodayMITA35Claude Code
implementgithub/spec-kitCommand153ktodayMITA14Claude Code