Add your description here
Project description
claude-ext
A thin wrapper around Claude Code that points it at alternative model backends (OpenRouter or a local Ollama server).
Install
uv tool install claude-ext
Usage
# 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 |
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
claude_ext-0.1.3.tar.gz
(2.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file claude_ext-0.1.3.tar.gz.
File metadata
- Download URL: claude_ext-0.1.3.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
594e629bf6a846fd86f55c31be04175e5d91ea617de2ce41ea6be60d02df5fa5
|
|
| MD5 |
5b8d9b91d56d6498f11b8b7aa23c969e
|
|
| BLAKE2b-256 |
60fa10848d0df0ce9867164d8c777f3c8e10c3772ddd98121139ef5f6e585e2c
|
File details
Details for the file claude_ext-0.1.3-py3-none-any.whl.
File metadata
- Download URL: claude_ext-0.1.3-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71836ad4b6f7021368b5730ee09b1b8cd3fc0429f74ae974ea1c0c62420f099c
|
|
| MD5 |
c8e88a347f83b27611ef5b61a37f7749
|
|
| BLAKE2b-256 |
a396dd549697a8625a5a10e0e60760e250bc66788e3790abee821971c4833b6d
|