Skip to content
Back to skills

437 Grok 17ee5312

ASecurity

MemU supports **Grok**, the AI model from xAI, as a first-class LLM provider.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
developmentpythonshellbashapi

Works with

  • api

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 437-grok_17ee5312 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 437 Grok 17ee5312?

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

Security grade badge for 437 Grok 17ee5312
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-437-grok-17ee5312/badge)](https://www.skillsdirectory.com/skills/tools-only-437-grok-17ee5312)

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

SKILL.md
# Grok (xAI) Integration

MemU supports **Grok**, the AI model from xAI, as a first-class LLM provider.

## Prerequisites

1.  **xAI Account:** You need an active account with [xAI](https://x.ai/).
2.  **API Key:** Obtain an API key from the [xAI Console](https://console.x.ai/).

## Configuration

To enable Grok, you need to set the `XAI_API_KEY` environment variable.

### Environment Variable

```bash
export XAI_API_KEY="your-xai-api-key-here"
```

PowerShell:

```powershell
$env:XAI_API_KEY="your-xai-api-key-here"
```

## Usage

To use Grok as your LLM provider, switch the `provider` setting to `grok`. This can be done in your configuration file or when initializing the application.

### Python Example

```python
from memu.app.settings import LLMConfig

# Configure MemU to use Grok
config = LLMConfig(
    provider="grok",
    # The default API key env var is XAI_API_KEY
    # The default model is grok-2-latest
)

print(f"Using provider: {config.provider}")
print(f"Base URL: {config.base_url}")
print(f"Chat Model: {config.chat_model}")
```

## Models Supported

We currently support the following Grok models:

*   **grok-2-latest** (Default)

The integration automatically sets the base URL to `https://api.x.ai/v1`.

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.

Comments

Loading comments…

Newsletter

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