Skip to content
Skill

Grok ask

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

Grok ask is an open-source agent skill for ai models and llm tooling. 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 ask

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.

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 (3 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-ask:

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.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/grok-ask 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-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.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/grok-ask 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-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.

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

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

Gemini CLI docs on skills

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

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.

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-ask into your agent's skills folder as grok-ask. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

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

Grok ask 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.

More from LovelaceLoom/grok-plugin-cc

  1. Lets a Claude Code subagent hand rescue tasks to the Grok companion runtime

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

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

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

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

    • Open source
    • 5 GitHub stars
    • Developer tools
  6. Runs deep web-grounded research on a topic through xAI Grok with self-verification

    • Open source
    • 5 GitHub stars
    • Web search and scraping