grok-result-handling

grok-result-handling is a skill for Claude Code from dashpot4/grok-plugin-for-claude. It costs 18 tokens per session (292 once invoked), scanned A, original, Apache-2.0.

Guidance for presenting results returned by Grok helper commands, including when to show the output directly and how to handle background jobs or login problems.

In plain words
What is it for?
Handling foreground and background Grok commands, preserving session IDs, and directing users to setup or login when Grok is unavailable.
Why use it?
It prevents generated results from being accidentally changed or hidden and explains how to retrieve unfinished background work.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions subagents.

Part of the grok plugin — 2 skills, 17 commands, 1 agent, 1 hook shipped together

Good fit Handling foreground and background Grok commands, preserving session IDs, and directing users to setup or login when Grok is unavailable.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dashpot4/grok-plugin-for-claude/grok-result-handling
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 dashpot4/grok-plugin-for-claude --skill grok-result-handling
Clone the repo
git clone --depth 1 https://github.com/dashpot4/grok-plugin-for-claude

Made for: Claude Code.

Or install grok, the plugin that ships this one along with the rest of its 2 skills, 17 commands, 1 agent, 1 hook.

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-result-handling

README.md
[![agentmods](https://agentmods.dev/badge/skills/dashpot4/grok-plugin-for-claude/grok-result-handling/github.svg)](https://agentmods.dev/skills/dashpot4/grok-plugin-for-claude/grok-result-handling)
Your own site
<a href="https://agentmods.dev/skills/dashpot4/grok-plugin-for-claude/grok-result-handling"><img src="https://agentmods.dev/badge/skills/dashpot4/grok-plugin-for-claude/grok-result-handling/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-result-handling

Your own site · 80×15
<a href="https://agentmods.dev/skills/dashpot4/grok-plugin-for-claude/grok-result-handling"><img src="https://agentmods.dev/badge/skills/dashpot4/grok-plugin-for-claude/grok-result-handling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 292 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.00018 $0.00292
Opus 5 $0.00009 $0.00146
Sonnet 5 $0.00004 $0.00058
Haiku 4.5 $0.00002 $0.00029

Measured 11d ago against content hash af980733aca5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

grok-result-handling 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 11d 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/grok/skills/grok-result-handling/SKILL.md · 17 lines

What it actually says

Grok Result Handling

When a slash command or subagent returns Grok companion output:

  • Present the stdout verbatim unless the command instructions say otherwise.
  • Do not paraphrase, summarize, or add commentary before or after Grok output for delegate and review commands.
  • If the output includes a Grok session ID, preserve it so the user can run grok resume <session-id> directly.
  • A normal (foreground) delegate or review returns Grok's answer in-band — present it directly. Do not send the user to /grok:status or /grok:result for it.
  • Only for an explicit --background run (a detached companion job) tell the user to retrieve the result with /grok:status <id> and /grok:result <id>.
  • If a foreground delegate was interrupted (for example a very long run hit the Bash ~10-minute limit), its job may be left showing running with no stored result. Tell the user to re-run the task with --background, which survives long runs, rather than waiting on the stuck job.
  • If setup reports Grok is missing or unauthenticated, direct the user to /grok:setup or !grok login.
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. 11d ago First seen · 17 lines · 18 tokens per session scan A af980733aca5

Subscribe to this mod's changes

grok-result-handling is a skill published in the GitHub repository dashpot4/grok-plugin-for-claude (4 stars, last pushed 10d ago), licensed Apache-2.0. It adds 18 tokens to every session and 292 once invoked, about $0.0001 per session on Opus 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.