FG

frankieli123/grok-skill

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

178 stars 品質 47 トレンド 17

frankieli123/grok-skill は https://github.com/frankieli123/grok-skill. からインポートされた Agent スキルの候補です

概要

frankieli123/grok-skill は https://github.com/frankieli123/grok-skill. からインポートされた Agent スキルの候補です

概要(AI 翻訳)

お問い合わせ

お問い合わせ

クイーン英語

OpenAI 互換の Grok エンドポイント (2api) を介して積極的な Web リサーチを可能にする Codex/Claude スキル。 リアルタイム情報クエリ、バージョンチェック、ドキュメント検索に最適です。

## ✨ 機能

  • Grok APIによるリアルタイムWeb検索
  • content+[sourcesでJSON出力を構成しました
  • 🔐 ローカルオーバーライドサポートでセキュアなコンフィグ
  • 環境変数構成
  • ⚡ 簡単なワンクリックインストール

###メソッド1:Gitクローン(推奨)

方法2:手動ダウンロード

  1. ZIPをダウンロード: https://github.com/Frankieli123/grok-skill/archive/refs/heads/main.zip
  2. 任意のフォルダに抽出する
  3. PowerShellで[[T3]を実行します

インストールパス

インストール後、スキルは次のようになります。

◀ 設定

Option A: インタラクティブな構成 (推奨)

####Option B: マニュアル編集

設定ファイルを編集します。

| フィールド | 概要 | お問い合わせ | [base_url | 貴社の Grok API エンドポイント URL | | [api_key | APIキー(Gitにコミットしない) | | [model | 機種名(例、【[T7]) | | [[[T8] | 秒単位でリクエストタイムアウト |

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

grok-search

English | 中文


🌐 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

# 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

  1. Download ZIP from: https://github.com/Frankieli123/grok-skill/archive/refs/heads/main.zip
  2. Extract to any folder
  3. Run install.ps1 in PowerShell

Installation Path

After installation, the skill will be located at:

C:\Users\\.codex\skills\grok-search\

⚙️ Configuration

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:
GitHub で README 全文を見る

推奨ツール

別のキーワードを試すか、フィルタを外してください。

インストール

npx skillfish add frankieli123/grok-skill
MCP 初心者?mcpskill.org のガイドから始めましょう →