Skip to content

Instantly share code, notes, and snippets.

@uacode
uacode / lcc.sh
Created August 22, 2026 12:02
lcc — a tiny shell launcher that points Claude Code at a local LLM (llama.cpp / any Anthropic-Messages-API server). Auto-detects loaded models, no cloud, no API key
#!/usr/bin/env bash
# lcc - Local Claude Code launcher
# Points Claude Code at a local LLM served by llama.cpp on your GB10 device
#
# Usage:
# lcc <modelname> — launch Claude Code with the specified model
# lcc <modelname> [args] — pass additional arguments to claude
# lcc — auto-detect the loaded model (or pick one) and launch
# lcc -h | --help — show help
# lcc -V | --version — show version