# Grok ask

> Grok ask is an open-source agent skill for ai models and llm tooling. Sends a one-off question to xAI Grok and returns its answer unchanged. 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-ask
- **Repository:** https://github.com/lovelaceloom/grok-plugin-cc
- **GitHub stars:** 5
- **License:** Apache-2.0
- **Skill name:** grok-ask
- **Collection:** https://github.com/LovelaceLoom/grok-plugin-cc
- **Categories:** [AI models and LLM tooling](https://ai-powered.com/categories/ai-and-llm)
- **Listing updated:** 2026-12-03

## About

This skill lets an agent pass a single question to xAI's Grok model through a local grok command-line client and relay the reply without editing it. It is aimed at getting a second opinion from a model with different training, or a quick answer that benefits from Grok's access to recent web and X content.

The agent runs one command that calls a bundled Node.js companion script. The script handles environment cleanup, strips terminal escape codes, and checks what the local Grok client supports. Live web search is on by default and can be turned off. Optional flags cover the model choice, a reasoning-effort setting for models that support it, a timeout, a self-verification pass, extra system rules, and a sandbox mode. The skill is read-only by default.

It expects the grok CLI to be installed and authenticated, either through a grok login or an XAI_API_KEY environment variable. If the request is unclear, the agent is told to ask the user for clarification before sending anything to Grok.

## When your agent uses it

> Ask xAI Grok a one-off question with optional live web search. Use when the user wants Grok's opinion or a quick answer that benefits from Grok's distinct training (recent web/X awareness, code-focused models). Read-only by default. Returns Grok's stdout verbatim.

## 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-ask)
- [License: Apache-2.0](https://github.com/LovelaceLoom/grok-plugin-cc/tree/HEAD/plugins/grok/skills/grok-ask)

## Features

- **Single question relay:** Sends one prompt to Grok and returns the companion's output exactly as produced.
- **Live web search:** Lets Grok consult current web content, with an option to disable it.
- **Model and effort options:** Selects among available Grok models and sets reasoning effort where a model supports it.
- **Self-verification pass:** Adds an optional check loop that asks Grok to verify its own answer.
- **Authentication hints:** Surfaces a login hint when the Grok client reports an authentication problem.
- **Read-only by default:** Keeps tool and filesystem access restricted unless a sandbox option is set.

## Good for

- Ask Grok for its opinion on a design or architecture choice
- Cross-check an answer from another model using Grok
- Get a quick answer about a recent event Grok can search for
- Run a fast second look at a code snippet
- Compare how Grok responds to the same question

## 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-ask`:

```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-ask &&
cp -R "$tmp/plugins/grok/skills/grok-ask" ~/.claude/skills/grok-ask &&
rm -rf "$tmp"
```

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

### Codex

Copy the skill folder to `~/.agents/skills/grok-ask` 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-ask &&
cp -R "$tmp/plugins/grok/skills/grok-ask" ~/.agents/skills/grok-ask &&
rm -rf "$tmp"
```

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

### Cursor

Copy the skill folder to `~/.cursor/skills/grok-ask` 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-ask &&
cp -R "$tmp/plugins/grok/skills/grok-ask" ~/.cursor/skills/grok-ask &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/grok-ask` 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-ask
```

Or copy the folder to `~/.gemini/skills/grok-ask` yourself.

### VS Code

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

```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-ask &&
cp -R "$tmp/plugins/grok/skills/grok-ask" ~/.copilot/skills/grok-ask &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/grok-ask` 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-ask` into your agent's skills folder as `grok-ask`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Grok ask need to run?

It needs the local grok CLI installed and authenticated, either via grok login or by setting XAI_API_KEY.

### Does Grok ask change files in my project?

It is read-only by default. Access can be restricted further with the sandbox flag.

### Does Grok search the web when answering?

Live web search is on by default and can be disabled with a no-web-search flag.

### When should the agent not use Grok ask?

The skill points to separate skills for long multi-step delegation, image generation and deep research.

### Is the answer edited before I see Grok ask?

No. The skill instructs the agent to return the companion's stdout verbatim, without summarizing.

### How do I install Grok ask in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/grok-ask to use it in all your projects, or to .claude/skills/grok-ask 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 ask 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 ask?

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 ask?

The closest alternatives to Grok ask are Grok research, Grok prompting, Skill creator, Agent platform rag engine management and Model adaptation.

## Where this comes from

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

## Alternatives

- [Grok research](https://ai-powered.com/skills/grok-research): Grok research is an open-source agent skill for web search and scraping.
- [Grok prompting](https://ai-powered.com/skills/grok-prompting): Grok prompting is an open-source agent skill for ai models and llm tooling.
- [Skill creator](https://ai-powered.com/skills/skill-creator): Skill creator is a free agent skill for ai models and llm tooling.
- [Agent platform rag engine management](https://ai-powered.com/skills/agent-platform-rag-engine-management): Agent platform rag engine management is an open-source agent skill for knowledge and memory.
- [Model adaptation](https://ai-powered.com/skills/model-adaptation): Model adaptation is an open-source agent skill for ai models and llm tooling.
- [Openai docs](https://ai-powered.com/skills/openai-docs-openai): Openai docs is an open-source agent skill for ai models and llm tooling.
- [Developing genkit js](https://ai-powered.com/skills/developing-genkit-js): Developing genkit js is an open-source agent skill for developer tools.
- [Prompt optimizer](https://ai-powered.com/skills/prompt-optimizer-getsentry): Prompt optimizer is an open-source agent skill for ai models and llm tooling.

---
Source: https://ai-powered.com/skills/grok-ask
