# Grok result handling

> Grok result handling is an open-source agent skill for developer tools. Guides how an agent passes Grok helper output and status cues back to the user. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/LovelaceLoom/grok-plugin-cc/tree/main/plugins/grok/skills/grok-result-handling
- **Repository:** https://github.com/lovelaceloom/grok-plugin-cc
- **GitHub stars:** 5
- **License:** Apache-2.0
- **Skill name:** grok-result-handling
- **Collection:** https://github.com/LovelaceLoom/grok-plugin-cc
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

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

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/LovelaceLoom/grok-plugin-cc/tree/HEAD/plugins/grok/skills/grok-result-handling)
- [License: Apache-2.0](https://github.com/LovelaceLoom/grok-plugin-cc/tree/HEAD/plugins/grok/skills/grok-result-handling)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Grok CLI runtime](https://ai-powered.com/skills/grok-cli-runtime): Grok CLI runtime is an open-source agent skill for developer tools.
- [Grok prompting](https://ai-powered.com/skills/grok-prompting): Grok prompting is an open-source agent skill for ai models and llm tooling.
- [Grok rescue](https://ai-powered.com/skills/grok-rescue): Grok rescue is an open-source agent skill for developer tools.
- [Grok fan out](https://ai-powered.com/skills/grok-fan-out): Grok fan out is an open-source agent skill for developer tools.
- [Skill creator](https://ai-powered.com/skills/skill-creator): Skill creator is a free agent skill for ai models and llm tooling.
- [Grok bot](https://ai-powered.com/skills/grok-bot-adamanz): Grok bot is an open-source agent skill for developer tools.
- [Skill extractor](https://ai-powered.com/skills/skill-extractor): Skill extractor is an open-source agent skill for developer tools.
- [Correct](https://ai-powered.com/skills/correct): Correct is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/grok-result-handling
