github-deewhy

Llmcli — Development skill for Claude Code

Development community

A local-first, provider-agnostic terminal coding agent (in the spirit of Claude Code / Gemini CLI) engineered so that small and mid-size local models do real coding work, using agents and sub-agents.

How to install Llmcli

This entry records only its repository, not the path inside it, so there is no exact command to give. Open github-deewhy/Llmcli and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Llmcli does

A local-first, provider-agnostic terminal coding agent (in the spirit of Claude Code / Gemini CLI) engineered so that *small and mid-size local models* do real coding work, using agents and sub-agents, MCP connectors, and a licence that is **free for students, education and non-profits and paid for commercial use**

Alternatives in Development

  • OpenAI Codex CLI — (Rust implementation) 67.8k ★
  • Gov Backlinks — Free .gov backlinks - drive the user's browser through SAM.gov, the SBA small business listing, and state vend 195 ★
  • Opencode X — Open-source Claude Code alternative 97 ★

README

LLMCLI

A focused coding assistant for local and OpenAI-compatible language models.

Features

  • Interactive REPL with history and Enter-to-send input
  • Streaming responses with Rich rendering
  • Local Ollama support and OpenAI-compatible endpoints (Gemini, NVIDIA NIM, OpenRouter, LM Studio, ...)
  • Named provider profiles: configure several models/services once, switch with /profile
  • Context file loading from project or home directory
  • @file attachment resolution for including file contents in prompts
  • Coding-focused system prompt, with optional project context
  • Interactive agent tools for inspecting files/logs and working across project files
  • Diff approval before edits and explicit approval before running tests
  • Persistent global and project Markdown memory stored in local files
  • Four terminal color presets: ocean, forest, sunset, and mono
  • Slash commands for help, history, settings, and model selection

Quick start

python3 -m venv .venv
source .venv/bin/activate
pip install -e .
llmcli

Or run directly:

python -m llmcli

Environment configuration

Copy the example file and edit it as needed:

cp .env.example ~/.llmcli/.env

Supported variables (or use [profiles](#profiles) for several setups):

  • LLMCLI_PROVIDER: ollama or openai_compat
  • LLMCLI_MODEL: default model name
  • LLMCLI_ENDPOINT: API base URL
  • LLMCLI_API_KEY: optional API key
  • LLMCLI_CONTEXT_SIZE: model context size
  • LLMCLI_MAX_TOKENS: max generation length
  • LLMCLI_CONTEXT_FILE: project context file name
  • LLMCLI_TEMPERATURE, LLMCLI_TOP_P: optional sampling overrides
  • LLMCLI_EXTRA_BODY: optional JSON object merged into OpenAI-compatible requests
  • LLMCLI_PROFILE: name of the profile to activate (see below)
  • LLMCLI_THEME: CLI color preset (ocean, forest, sunset, or mono)

Interactive agent workflows require a model/provider that supports structured tool calls. One-shot `-p` prompts remain text-on