Skip to content

Commit 137a40a

Browse files
docs: document custom/OpenAI-compatible LLM providers + fix stale versions
Add a clear path for users without Anthropic API credits to power the AI enhancement step: - README: replace the narrow GLM-only block with a three-way provider guide (LOCAL agent mode for ChatGPT Plus/Claude Pro subscriptions, any OpenAI-compatible endpoint via OPENAI_BASE_URL, Claude-compatible endpoints) - ENVIRONMENT_VARIABLES: add OPENAI_BASE_URL, MOONSHOT_API_KEY, SKILL_SEEKER_AGENT_CMD, SKILL_SEEKER_MODEL, per-provider model table, and a new 'LLM Provider Selection' section with OpenRouter/Groq/Cerebras/Mistral/ NVIDIA NIM endpoints Fix pre-existing doc bugs: - SKILL_SEEKERS_ENHANCE_TIMEOUT -> SKILL_SEEKER_ENHANCE_TIMEOUT (wrong name was a no-op); default 600s -> 2700s; document unlimited/0 -> 24h - ANTHROPIC_MODEL default claude-3-5-sonnet-20241022 -> claude-sonnet-4-20250514 - Bump stale version strings to 3.7.0 (README badge, env-vars doc + user-agent, CLAUDE.md) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent b66cda5 commit 137a40a

3 files changed

Lines changed: 163 additions & 31 deletions

File tree

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
66

77
**Skill Seekers** converts documentation from 18 source types into production-ready formats for 21+ AI platforms (LLM platforms, RAG frameworks, vector databases, AI coding assistants). Published on PyPI as `skill-seekers`.
88

9-
**Version:** 3.5.0 | **Python:** 3.10+ | **Website:** https://skillseekersweb.com/
9+
**Version:** 3.7.0 | **Python:** 3.10+ | **Website:** https://skillseekersweb.com/
1010

1111
**Architecture:** See `docs/UML_ARCHITECTURE.md` for UML diagrams and module overview. StarUML project at `docs/UML/skill_seekers.mdj`.
1212

README.md

Lines changed: 40 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
English | [简体中文](README.zh-CN.md) | [日本語](README.ja.md) | [한국어](README.ko.md) | [Español](README.es.md) | [Français](README.fr.md) | [Deutsch](README.de.md) | [Português](README.pt-BR.md) | [Türkçe](README.tr.md) | [العربية](README.ar.md) | [हिन्दी](README.hi.md) | [Русский](README.ru.md)
88

9-
[![Version](https://img.shields.io/badge/version-3.6.0-blue.svg)](https://github.com/yusufkaraaslan/Skill_Seekers/releases)
9+
[![Version](https://img.shields.io/badge/version-3.7.0-blue.svg)](https://github.com/yusufkaraaslan/Skill_Seekers/releases)
1010
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
1111
[![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)
1212
[![MCP Integration](https://img.shields.io/badge/MCP-40-Tools-blue.svg)](https://modelcontextprotocol.io)
@@ -341,24 +341,51 @@ skill-seekers package output/react/ --target markdown
341341
```
342342

343343
<details>
344-
<summary>🔧 <strong>Environment Variables for Claude-Compatible APIs (e.g., GLM-4.7)</strong></summary>
344+
<summary>🔧 <strong>Use your own AI provider (OpenAI-compatible endpoints + subscriptions, no Anthropic credits needed)</strong></summary>
345345

346-
Skill Seekers supports any Claude-compatible API endpoint:
346+
The optional AI **enhancement** step (used by `create`, `scan`, and `enhance`) does **not** require an Anthropic key. You have three ways to power it:
347+
348+
**1. Use a subscription you already pay for — no API credits at all (LOCAL agent mode)**
349+
350+
Skill Seekers can shell out to a coding-agent CLI you're already logged into, so enhancement runs on your existing plan instead of metered API tokens:
347351

348352
```bash
349-
# Option 1: Official Anthropic API (default)
350-
export ANTHROPIC_API_KEY=sk-ant-...
353+
skill-seekers create <source> --agent codex # OpenAI Codex CLI → your ChatGPT Plus
354+
skill-seekers create <source> --agent claude # Claude Code → your Claude Pro/Max
355+
```
351356

352-
# Option 2: GLM-4.7 Claude-compatible API
353-
export ANTHROPIC_API_KEY=your-glm-47-api-key
354-
export ANTHROPIC_BASE_URL=https://glm-4-7-endpoint.com/v1
357+
Supported agents: `claude`, `codex`, `copilot`, `opencode`, `kimi`, and `custom`
358+
(pair `--agent custom` with `--agent-cmd "<your-cli> ..."` to drive any other tool).
355359

356-
# All AI enhancement features will use the configured endpoint
357-
skill-seekers enhance output/react/
358-
skill-seekers scan . --enhance
360+
**2. Any OpenAI-compatible provider (OpenRouter, Groq, Cerebras, Mistral, NVIDIA NIM, …)**
361+
362+
All of these expose an OpenAI-compatible `/v1` endpoint. Point Skill Seekers at one with three env vars — it detects `OPENAI_API_KEY`, and the OpenAI SDK honors `OPENAI_BASE_URL` automatically:
363+
364+
```bash
365+
export OPENAI_API_KEY="<your provider key>"
366+
export OPENAI_BASE_URL="https://openrouter.ai/api/v1" # provider endpoint (see table)
367+
export OPENAI_MODEL="<a model that provider offers>" # required — default gpt-4o won't exist elsewhere
368+
skill-seekers create <source>
369+
```
370+
371+
| Provider | `OPENAI_BASE_URL` |
372+
|--------------|--------------------------------------------|
373+
| OpenRouter | `https://openrouter.ai/api/v1` |
374+
| Groq | `https://api.groq.com/openai/v1` |
375+
| Cerebras | `https://api.cerebras.ai/v1` |
376+
| Mistral | `https://api.mistral.ai/v1` |
377+
| NVIDIA NIM | `https://integrate.api.nvidia.com/v1` |
378+
379+
> Provider detection picks the **first** API-key env var it finds (`ANTHROPIC_API_KEY``MOONSHOT_API_KEY``GOOGLE_API_KEY``OPENAI_API_KEY`). If you want the OpenAI-compatible route, make sure the higher-priority keys are unset.
380+
381+
**3. Claude-compatible endpoints (e.g. GLM, proxies)**
382+
383+
```bash
384+
export ANTHROPIC_API_KEY="your-key"
385+
export ANTHROPIC_BASE_URL="https://your-claude-compatible-endpoint/v1"
359386
```
360387

361-
**Note**: Setting `ANTHROPIC_BASE_URL` allows you to use any Claude-compatible API endpoint, such as GLM-4.7 (智谱 AI) or other compatible services.
388+
Google Gemini (`GOOGLE_API_KEY`) and Kimi/Moonshot (`MOONSHOT_API_KEY`) are also supported natively. See **[Environment Variables Reference](docs/reference/ENVIRONMENT_VARIABLES.md#llm-provider-selection)** for the full list, including per-provider model overrides.
362389

363390
</details>
364391

@@ -1101,7 +1128,7 @@ python -m skill_seekers.mcp.server_fastmcp --transport http --port 8765
11011128

11021129
```bash
11031130
# List all presets
1104-
# skill-seekers list-configs # Not available in v3.6.0
1131+
# skill-seekers list-configs # Not available in v3.7.0
11051132
```
11061133

11071134
| Category | Presets |

docs/reference/ENVIRONMENT_VARIABLES.md

Lines changed: 122 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Environment Variables Reference - Skill Seekers
22

3-
> **Version:** 3.6.0
3+
> **Version:** 3.7.0
44
> **Last Updated:** 2026-02-16
55
> **Complete environment variable reference**
66
@@ -11,6 +11,7 @@
1111
- [Overview](#overview)
1212
- [API Keys](#api-keys)
1313
- [Platform Configuration](#platform-configuration)
14+
- [LLM Provider Selection](#llm-provider-selection)
1415
- [Paths and Directories](#paths-and-directories)
1516
- [Scraping Behavior](#scraping-behavior)
1617
- [Enhancement Settings](#enhancement-settings)
@@ -75,11 +76,12 @@ export GOOGLE_API_KEY=AIzaSyxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
7576

7677
### OPENAI_API_KEY
7778

78-
**Purpose:** OpenAI API access for upload and embeddings.
79+
**Purpose:** OpenAI (and OpenAI-compatible) API access for enhancement, upload, and embeddings.
7980

8081
**Format:** `sk-...`
8182

8283
**Used by:**
84+
- `skill-seekers create` / `scan` / `enhance` (AI enhancement, API mode)
8385
- `skill-seekers upload` (OpenAI target)
8486
- Embedding generation for vector DBs
8587

@@ -88,6 +90,26 @@ export GOOGLE_API_KEY=AIzaSyxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
8890
export OPENAI_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
8991
```
9092

93+
> Combine with `OPENAI_BASE_URL` + `OPENAI_MODEL` to route enhancement through any
94+
> OpenAI-compatible provider (OpenRouter, Groq, Cerebras, Mistral, NVIDIA NIM).
95+
> See [LLM Provider Selection](#llm-provider-selection).
96+
97+
---
98+
99+
### MOONSHOT_API_KEY
100+
101+
**Purpose:** Moonshot AI (Kimi) API access for enhancement (API mode).
102+
103+
**Format:** `sk-...`
104+
105+
**Used by:**
106+
- `skill-seekers create` / `scan` / `enhance` (enhancement, Kimi/Moonshot)
107+
108+
**Example:**
109+
```bash
110+
export MOONSHOT_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
111+
```
112+
91113
---
92114

93115
### GITHUB_TOKEN
@@ -134,6 +156,61 @@ export ANTHROPIC_BASE_URL=https://custom-api.example.com
134156

135157
---
136158

159+
### OPENAI_BASE_URL
160+
161+
**Purpose:** Custom OpenAI-compatible API endpoint for enhancement.
162+
163+
**Default:** `https://api.openai.com/v1`
164+
165+
**Use case:** Any OpenAI-compatible provider — OpenRouter, Groq, Cerebras, Mistral,
166+
NVIDIA NIM, local servers (Ollama, vLLM, LM Studio), proxies.
167+
168+
**Example:**
169+
```bash
170+
export OPENAI_BASE_URL=https://openrouter.ai/api/v1
171+
```
172+
173+
> Read automatically by the OpenAI SDK. Pair with `OPENAI_API_KEY` and `OPENAI_MODEL`.
174+
175+
---
176+
177+
## LLM Provider Selection
178+
179+
The AI **enhancement** step (`create`, `scan`, `enhance`) supports multiple providers
180+
through one abstraction. The provider is chosen by the **first** API key found, in this
181+
order: `ANTHROPIC_API_KEY``ANTHROPIC_AUTH_TOKEN``MOONSHOT_API_KEY`
182+
`GOOGLE_API_KEY``OPENAI_API_KEY`. If none is set, it falls back to **LOCAL agent
183+
mode** (`--agent`, no API key required — uses your Claude Pro / ChatGPT Plus subscription).
184+
185+
### Any OpenAI-compatible provider (OpenRouter, Groq, Cerebras, Mistral, NVIDIA NIM)
186+
187+
```bash
188+
export OPENAI_API_KEY="<provider key>"
189+
export OPENAI_BASE_URL="https://api.groq.com/openai/v1" # provider endpoint
190+
export OPENAI_MODEL="llama-3.3-70b-versatile" # a model that provider offers
191+
skill-seekers create <source>
192+
```
193+
194+
| Provider | `OPENAI_BASE_URL` |
195+
|--------------|---------------------------------------|
196+
| OpenRouter | `https://openrouter.ai/api/v1` |
197+
| Groq | `https://api.groq.com/openai/v1` |
198+
| Cerebras | `https://api.cerebras.ai/v1` |
199+
| Mistral | `https://api.mistral.ai/v1` |
200+
| NVIDIA NIM | `https://integrate.api.nvidia.com/v1` |
201+
202+
> Set `OPENAI_MODEL` — the OpenAI default (`gpt-4o`) won't exist on other providers.
203+
> Ensure no higher-priority key (e.g. `ANTHROPIC_API_KEY`) is set, or it wins.
204+
205+
### Subscriptions instead of API credits (LOCAL mode)
206+
207+
```bash
208+
skill-seekers create <source> --agent codex # ChatGPT Plus via Codex CLI
209+
skill-seekers create <source> --agent claude # Claude Pro/Max via Claude Code
210+
```
211+
212+
---
213+
137214
## Paths and Directories
138215

139216
### SKILL_SEEKERS_HOME
@@ -261,7 +338,7 @@ export SKILL_SEEKERS_TIMEOUT=60
261338

262339
**Purpose:** Custom User-Agent header.
263340

264-
**Default:** `Skill-Seekers/3.6.0`
341+
**Default:** `Skill-Seekers/3.7.0`
265342

266343
**Example:**
267344
```bash
@@ -291,36 +368,64 @@ export SKILL_SEEKER_AGENT=cursor
291368

292369
---
293370

294-
### SKILL_SEEKERS_ENHANCE_TIMEOUT
371+
### SKILL_SEEKER_AGENT_CMD
295372

296-
**Purpose:** Timeout for AI enhancement operations.
373+
**Purpose:** Custom CLI command template for `--agent custom` (LOCAL mode).
297374

298-
**Default:** `600` (seconds = 10 minutes)
375+
**Used by:** `skill-seekers create` / `scan` / `enhance` when `SKILL_SEEKER_AGENT=custom`.
299376

300377
**Example:**
301378
```bash
302-
# For large skills
303-
export SKILL_SEEKERS_ENHANCE_TIMEOUT=1200
379+
export SKILL_SEEKER_AGENT=custom
380+
export SKILL_SEEKER_AGENT_CMD="my-llm-cli --prompt-file {prompt_file}"
381+
```
382+
383+
---
384+
385+
### SKILL_SEEKER_MODEL
386+
387+
**Purpose:** Global model override for API-mode enhancement (wins over all
388+
per-provider model vars below).
389+
390+
**Example:**
391+
```bash
392+
export SKILL_SEEKER_MODEL=llama-3.3-70b-versatile
304393
```
305394

306-
**Override:** Use `--timeout` flag.
395+
---
396+
397+
### Per-provider model overrides
398+
399+
Used only when `SKILL_SEEKER_MODEL` is unset. Each falls back to a per-provider default.
400+
401+
| Variable | Provider | Default (if unset) |
402+
|-------------------|--------------------|-----------------------------|
403+
| `ANTHROPIC_MODEL` | Anthropic | `claude-sonnet-4-20250514` |
404+
| `OPENAI_MODEL` | OpenAI/-compatible | `gpt-4o` |
405+
| `GOOGLE_MODEL` | Gemini | `gemini-2.0-flash` |
406+
| `MOONSHOT_MODEL` | Moonshot/Kimi | `moonshot-v1-auto` |
407+
408+
```bash
409+
export OPENAI_MODEL=llama-3.3-70b-versatile
410+
```
307411

308412
---
309413

310-
### ANTHROPIC_MODEL
414+
### SKILL_SEEKER_ENHANCE_TIMEOUT
311415

312-
**Purpose:** Claude model for API enhancement.
416+
**Purpose:** Timeout for AI enhancement operations (seconds).
313417

314-
**Default:** `claude-3-5-sonnet-20241022`
418+
**Default:** `2700` (45 minutes)
315419

316-
**Options:**
317-
- `claude-3-5-sonnet-20241022` (recommended)
318-
- `claude-3-opus-20240229` (highest quality, more expensive)
319-
- `claude-3-haiku-20240307` (fastest, cheapest)
420+
**Special values:** `unlimited`, `none`, or `0` map to a 24-hour ceiling.
320421

321422
**Example:**
322423
```bash
323-
export ANTHROPIC_MODEL=claude-3-opus-20240229
424+
# For large skills
425+
export SKILL_SEEKER_ENHANCE_TIMEOUT=3600
426+
427+
# No practical limit
428+
export SKILL_SEEKER_ENHANCE_TIMEOUT=unlimited
324429
```
325430

326431
---

0 commit comments

Comments
 (0)