
frankieli123/grok-skill
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
frankieli123/grok-skill - кандидат на агентский навык, импортированный из https://github.com/frankieli123/grok-skill.
Обзор
frankieli123/grok-skill - кандидат на агентский навык, импортированный из https://github.com/frankieli123/grok-skill.
Обзор (машинный перевод)
** Англичане** 中E
Английский
Навык Codex / Claude, который позволяет проводить агрессивные веб-исследования с помощью OpenAI-совместимой конечной точки Grok (2api). Идеально подходит для информационных запросов в режиме реального времени, проверки версий и поиска документации.
Feature Особенности
Поиск в режиме реального времени через Grok API
- ] Структурированный выход JSON с
content+sources - Безопасная конфигурация с локальной поддержкой override
- variable Конфигурация переменной среды
- Легкая установка одним щелчком мыши
###Установка
Метод 1: Гит-клон (рекомендуется)
Метод 2: Ручная загрузка
- Скачать ZIP из: https://github.com/Frankieli123/grok-skill/archive/refs/heads/main.zip 2.Извлечение из любой папки
- Запуск
install.ps1в PowerShell
Путь установки
После установки мастерство будет располагаться по адресу:
️ Конфигурация
Вариант A: Интерактивная конфигурация (рекомендуется)
Вариант Б: ручной монтаж
Редактировать файл Config по адресу:
Поле | Описание
base_url | Ваш конечный URL API Grok
api_key | Ваш API-ключ (DO NOT commit to Git)
[[Т6]] Имя модели (например, [Т7]]
[8][править править вики-текст]
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
grok-search
🌐 English
A Codex/Claude skill that enables aggressive web research via your OpenAI-compatible Grok endpoint (2api). Perfect for real-time information queries, version checking, and documentation lookup.
✨ Features
- 🔍 Real-time web search through Grok API
- 📋 Structured JSON output with
content+sources - 🔐 Secure config with local override support
- 🌍 Environment variable configuration
- ⚡ Easy one-click installation
📦 Installation
Method 1: Git Clone (Recommended)
# Clone the repository
git clone https://github.com/Frankieli123/grok-skill.git
# Enter the directory
cd grok-skill
# Run the install script (Windows PowerShell)
powershell -ExecutionPolicy Bypass -File .\install.ps1
Method 2: Manual Download
- Download ZIP from: https://github.com/Frankieli123/grok-skill/archive/refs/heads/main.zip
- Extract to any folder
- Run
install.ps1in PowerShell
Installation Path
After installation, the skill will be located at:
C:\Users\\.codex\skills\grok-search\
⚙️ Configuration
Option A: Interactive Configuration (Recommended)
powershell -ExecutionPolicy Bypass -File "$env:USERPROFILE\.codex\skills\grok-search\configure.ps1"
Option B: Manual Edit
Edit the config file at:
C:\Users\\.codex\skills\grok-search\config.json
{
"base_url": "https://your-grok-endpoint.example",
"api_key": "YOUR_API_KEY",
"model": "grok-2-latest",
"timeout_seconds": 60,
"extra_body": {},
"extra_headers": {}
}
| Field | Description |
|---|---|
base_url |
Your Grok API endpoint URL |
api_key |
Your API key (DO NOT commit to Git) |
model |
Model name (e.g., grok-2-latest) |
timeout_seconds |
Request timeout in seconds |
extra_body |
Additional request body parameters |
extra_headers |
Additional HTTP headers |
Option C: Environment Variables
$env:GROK_BASE_URL="https://your-grok-endpoint.example"
$env:GROK_API_KEY="YOUR_API_KEY"
$env:GROK_MODEL="grok-2-latest"
🔒 Secure API Key Storage
For security, create config.local.json in the same directory (gitignored):
{
"api_key": "your-real-api-key-here"
}
🚀 Usage
Direct Command Line
python scripts/grok_search.py --query "What is the latest version of Node.js?"
Output Format
{
"content": "The synthesized answer...",
"sources": [
{"url": "https://example.com", "title": "Source Title"}
]
}
🤖 Enable Auto-Invocation in Codex/Claude
Add the following prompt to your global agent configuration:
File: C:\Users\\.codex\AGENTS.md or ~/.claude/CLAUDE.md
## Web Search Rule
When encountering any of the following situations, ALWAYS use the `grok-search` skill first before providing an answer:
Рекомендуемые инструменты
Попробуйте другой запрос или уберите фильтр.
Установка
npx skillfish add frankieli123/grok-skill