CLAUDE.mdB

CLAUDE.md from tullextraterrestrial3175/claudecode-model-rotator is a CLAUDE.md file: the standing instructions Claude Code reads in that repo.

Install it, pinned
mdr add tullextraterrestrial3175/claudecode-model-rotator/CLAUDE.md@git:20260409.34c21b3

Pins git:20260409.34c21b3 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 13 of 14 checks passed
Kind
CLAUDE.md file
Repository
tullextraterrestrial3175/claudecode-model-rotator
Path
CLAUDE.md
Versions recorded
1
Latest version
git:20260409.34c21b3, committed Apr 9, 2026
Size
2,158 bytes
Repository stars
3
License
none declared

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Claude Code Multi-Provider Rotator - Project Guide

## Project Overview
A bash-based wrapper that enables Claude Code TUI to work with multiple AI providers (Ollama Cloud, OpenRouter) by using a LiteLLM proxy and dynamic authentication management.

## Core Architecture

### Files
- `rotator.sh` - Main launcher script with provider selection and proxy management
- `install.sh` - One-click installer for setup and dependencies
- `uninstall.sh` - Complete removal script
- `.env` - API key storage (created at `~/.claude-rotator/.env`)

### Key Components

**1. Proxy Management**
- LiteLLM proxy runs on `http://0.0.0.0:4000`
- Started on-demand for OpenRouter mode
- Auto-killed on exit via `trap cleanup EXIT`

**2. Authentication Strategy**
- "Ghost Config": Hides official Anthropic session during proxy use
- Uses dummy key (`sk-ant-dummy`) with custom `ANTHROPIC_BASE_URL`
- Clears `~/.claude.json` custom keys to restore web login

**3. Provider Modes**
| Option | Provider | Auth Method |
|--------|----------|-------------|
| 1 | Official Claude | Default Anthropic auth |
| 2 | Ollama Cloud | Native `ollama launch claude` |
| 3 | OpenRouter | LiteLLM proxy + dummy key |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add tullextraterrestrial3175/claudecode-model-rotator/CLAUDE.md@sha256:dd8ccf35b32e8fb8

The line at the top of this page pins the label git:20260409.34c21b3, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_i5cz3jhsgebkhzsc.svg)](https://markdownregistry.com/a/art_i5cz3jhsgebkhzsc)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Apr 9, 2026.

versioncommittedcommitsizeaudit
git:20260409.34c21b3 latest2026-04-09 34c21b3 2,158 BB view

Audit of the latest version

B  13 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No link to a raw IP address (matched: http://0.0.0.0:4000)
  • pass: Size between 200 bytes and 200 KB (2158 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No script tag

Starting a new one? Use a template for CLAUDE.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

tullextraterrestrial3175/claudecode-model-rotator · 3 stars · license none declared · pushed 2026-10-12 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_i5cz3jhsgebkhzsc
GET https://markdownregistry.com/api/v1/resolve?ref=tullextraterrestrial3175/claudecode-model-rotator/CLAUDE.md
GET https://markdownregistry.com/api/v1/blob/dd8ccf35b32e8fb8447841e0e49edcdedb616e6df7cb0bb04cd43864038cb76a

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: what a CLAUDE.md file is · keeping AGENTS.md and CLAUDE.md in sync · which agent file does what.

Other files named CLAUDE.md

CLAUDE.md CLAUDE.md file
affaan-m/ecc · CLAUDE.md
git:20261020.9471ef4 · audit A · 299,696 stars
CLAUDE.md CLAUDE.md file
firecrawl/firecrawl · CLAUDE.md
git:20261008.5a75dca · audit A · 199,595 stars
CLAUDE.md CLAUDE.md file
garrytan/gstack · CLAUDE.md
git:20261107.ef99eb5 · audit A · 140,694 stars
CLAUDE.md CLAUDE.md file
juliusbrussee/caveman · CLAUDE.md
git:20261106.af560e1 · audit B · 118,366 stars
CLAUDE.md CLAUDE.md file
addyosmani/agent-skills · CLAUDE.md
git:20260720.8fd2081 · audit A · 113,383 stars
CLAUDE.md CLAUDE.md file
nexu-io/open-design · CLAUDE.md
git:20260430.9b57c22 · audit B · 106,541 stars
CLAUDE.md CLAUDE.md file
pbakaus/impeccable · CLAUDE.md
git:20261105.71dfd50 · audit A · 106,186 stars
CLAUDE.md CLAUDE.md file
debpalash/voicestudio · CLAUDE.md
git:20261104.c2998f6 · audit A · 102,675 stars

Browse by kind, by grade B, or by owner.