Metadata-Version: 2.4
Name: claude-ext
Version: 0.1.3
Summary: Add your description here
Requires-Python: >=3.14
Requires-Dist: python-dotenv>=1.2.2
Description-Content-Type: text/markdown

# claude-ext

A thin wrapper around Claude Code that points it at alternative model backends (OpenRouter or a local Ollama server).

## Install

```sh
uv tool install claude-ext
```

## Usage

```sh
# OpenRouter
claudex "explain this repo" # CLAUDE_BACKEND=openrouter by default

# Ollama
CLAUDE_BACKEND=ollama claudex "explain this repo"
```

Any extra arguments you pass are forwarded straight to `claude`.

## Configuration

Configuration is read from environment variables in `$PWD/.env`.

### OpenRouter

| Variable | Required | Default |
| --- | --- | --- |
| `OPENROUTER_API_KEY` | yes | — |
| `OPENROUTER_MODEL` | no | `claude` default |

### Ollama

| Variable | Required | Default |
| --- | --- | --- |
| `OLLAMA_API_KEY` | no | `ollama` |
| `OLLAMA_BASE_URL` | no | `http://localhost:11434` |
| `OLLAMA_MODEL` | no | `qwen3.6` |
