Skip to content
Back to skills

Xai Generate Text

ASecurity

Use when the user asks to generate, draft, answer, rewrite, summarize, or reason with xAI/Grok text generation through the Grok-connected xAI text tool.

  • 6 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
devopsapi

Works with

  • api
  • mcp

Security analysis

A100/100

Scanned September 8, 2026

npx -y skills add islee23520/lfg --skill xai-generate-text --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Xai Generate Text?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Xai Generate Text
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/islee23520-xai-generate-text/badge)](https://www.skillsdirectory.com/skills/islee23520-xai-generate-text)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: xai_generate_text
description: Use when the user asks to generate, draft, answer, rewrite, summarize, or reason with xAI/Grok text generation through the Grok-connected xAI text tool.
---

# xAI Generate Text

Use this skill for text generation with Grok through the Grok-connected xAI Responses text tool.

## Preferred Grok Tool Flow

1. Use `search_tool` to discover the available tool schema first:

```json
{
  "query": "xai generate text"
}
```

2. Call the returned xAI text-generation MCP tool with the schema it reports. A typical payload is:

```json
{
  "prompt": "Write a concise release note for artifact-backed image generation.",
  "reasoning_effort": "medium"
}
```

## Options

- `prompt`: required user request.
- `model`: optional Grok model, only when the user or task requires a specific one.
- `reasoning_effort`: `low`, `medium`, or `high` when supported by the tool schema.

Use `xai_web_search` instead when the user asks for current web information. Use `xai_x_search` instead when the user asks to search X/Twitter.

## Credential Safety

Use existing Grok/xAI credentials exposed by the host or MCP server. Never print, quote, summarize, or store OAuth tokens, refresh tokens, bearer tokens, or API keys.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in devops →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.