Skip to content
Skill

Grok result handling

Guides how an agent passes Grok helper output and status cues back to the user

Grok result handling is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
5
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Grok result handling

This skill is internal guidance for Claude Code slash commands and a Grok rescue subagent in the grok-plugin-cc plugin. It tells the agent to forward the companion script's output from Grok review, ask, rescue and result commands to the user without rewording it, so verdicts and fix suggestions stay intact.

Alongside the verbatim output, the skill asks the agent to surface specific structural lines when they appear: authentication hints that point to the setup command, job identifiers for status and result lookups, and session resume handles. It also defines failure handling, such as surfacing errors verbatim, treating a timeout exit code specially, and not retrying without the user's decision.

The skill is a single SKILL.md with no bundled scripts. It relies on the plugin's companion script and the Grok CLI being available, and it is written for use inside that plugin rather than as a standalone workflow.

When your agent uses it

Internal guidance for presenting Grok helper output back to the user

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (2 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the grok plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add LovelaceLoom/grok-plugin-cc
/plugin install grok@grok-plugin-cc

Or copy only this skill to ~/.claude/skills/grok-result-handling:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/LovelaceLoom/grok-plugin-cc.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/grok-result-handling &&
cp -R "$tmp/plugins/grok/skills/grok-result-handling" ~/.claude/skills/grok-result-handling &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/grok-result-handling inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/grok-result-handling to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/LovelaceLoom/grok-plugin-cc.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/grok-result-handling &&
cp -R "$tmp/plugins/grok/skills/grok-result-handling" ~/.agents/skills/grok-result-handling &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/grok-result-handling inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/grok-result-handling to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/LovelaceLoom/grok-plugin-cc.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/grok-result-handling &&
cp -R "$tmp/plugins/grok/skills/grok-result-handling" ~/.cursor/skills/grok-result-handling &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/grok-result-handling inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/LovelaceLoom/grok-plugin-cc.git --path plugins/grok/skills/grok-result-handling

Or copy the folder to ~/.gemini/skills/grok-result-handling yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/grok-result-handling:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/LovelaceLoom/grok-plugin-cc.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/grok-result-handling &&
cp -R "$tmp/plugins/grok/skills/grok-result-handling" ~/.copilot/skills/grok-result-handling &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/grok-result-handling inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/LovelaceLoom/grok-plugin-cc.git

Then copy grok-plugin-cc/plugins/grok/skills/grok-result-handling into your agent's skills folder as grok-result-handling. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Verbatim output forwarding
Keeps Grok's answers, review findings and rescue output unchanged when shown to the user.
Authentication hint surfacing
Shows classified authentication failure hints and points the user to the setup command.
Job and session handles
Keeps job identifiers and resume handles visible for later status, result or resume commands.
Error and timeout handling
Surfaces errors as-is, explains timeout exits, and avoids automatic retries.
Command boundary rules
Prevents the agent from re-running helpers or cancelling jobs without explicit instruction.

Good for

  • Show the full output of a Grok code review inside Claude Code
  • Get Grok's answer to a question without it being paraphrased
  • Check the status or stored result of a finished Grok job
  • Recover a Grok session later using the printed resume handle

Grok result handling FAQ

Who is Grok result handling for?

It is internal guidance used by the plugin's slash commands and the grok:grok-rescue subagent, and is not meant to be invoked directly by users (user-invocable is false).

Does Grok result handling run any scripts?

No. The skill has no scripts; it refers to the plugin's companion script, which the commands run.

What happens when Grok returns an authentication error?

The skill asks the agent to show the hint line and remind the user to run the setup command, without retrying automatically.

Does the agent retry after a timeout?

No. On exit code 124 it surfaces the timeout duration and the timeout escape hatch, and does not silently retry with a longer timeout.

How do I install Grok result handling in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/grok-result-handling to use it in all your projects, or to .claude/skills/grok-result-handling in one project. Or install the grok plugin, which includes it: /plugin marketplace add LovelaceLoom/grok-plugin-cc, then /plugin install grok@grok-plugin-cc.

Does Grok result handling run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Grok result handling?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Grok result handling?

The closest alternatives to Grok result handling are Grok CLI runtime, Grok prompting, Grok rescue, Grok fan out and Skill creator.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from LovelaceLoom/grok-plugin-cc

  1. Sends a one-off question to xAI Grok and returns its answer unchanged

    • Open source
    • 5 GitHub stars
    • AI models and LLM tooling
  2. Lets a Claude Code subagent hand rescue tasks to the Grok companion runtime

    • Open source
    • 5 GitHub stars
    • Developer tools
  3. Runs parallel Grok analyses from several expert angles and merges them into one verdict

    • Open source
    • 5 GitHub stars
    • Developer tools
  4. Generates images from text prompts through xAI Grok's imagine builtin

    • Open source
    • 5 GitHub stars
    • Design and media
  5. Guides an agent in writing focused prompts for Grok coding, review and research tasks

    • Open source
    • 5 GitHub stars
    • AI models and LLM tooling
  6. Hands a long coding task or root-cause investigation to xAI Grok via a companion script

    • Open source
    • 5 GitHub stars
    • Developer tools