Lovcode CLI — AI skill for Claude Code
We hacked Claude Code open-source, debugged it from scratch, and made it actually work.
How to install Lovcode CLI
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open MarkShawn2020/lovcode-cli and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Lovcode CLI does
We hacked Claude Code open-source, debugged it from scratch, and made it actually work. Full-featured AI coding CLI — your code, your keys, your rules.
Alternatives in AI
- Multica — Make humans and AI agents work as one team — open-source and self-hostable 47.8k ★
- AIHawk — Open-source AI browser agent: describe any task in plain language and it autonomously browses, clicks, types a 30.3k ★
- Easy LLM CLI — An open-source AI agent that is compatible with multiple LLM models 1.3k ★
README
Lovcode CLI
We hacked Claude Code open-source, debugged it from scratch, and made it actually work.
macOS / Linux / Windows (WSL) · Opus 4.6 / Sonnet / Haiku
The Story · Quick Start · What's Different · Features · License
The Story
Claude Code is arguably the best AI coding CLI in the world. But it's closed-source.
Then [claude-code-best](https://github.com/claude-code-best/claude-code) did the insane work of decompiling the entire thing — 43 tools, 100+ commands, 5000-line REPL, multi-provider API, MCP protocol, plugin system — all reverse-engineered from the compiled bundle.
**We took that, and actually made it run.**
It wasn't easy. The decompiled code was riddled with landmines:
- API 500 errors — The
prompt-caching-scope-2026-01-05beta header sendscache_control.scope:"global"on system prompts. The server rejects this from non-official builds. We had to disable all experimental betas. - Empty streaming responses — Opus returns 200 headers but zero events, triggering a non-streaming fallback that sends
thinking: {"type":"adaptive"}— which non-streaming doesn't support. We patchedadjustParamsForNonStreamingto convert adaptive thinking to budget-based. USER_TYPE: undefined— A build-time constant that was never set, causingUser-Agent: (undefined, cli). We inject"external"at runtime.Gates is not defined— A feature-flagged component referenced but never imported. Even wrapped infalse ? ... : [], the assignment still evaluated and crashed.- Version mismatch — Attribution header checked
cc_version, rejecti
Related Skills
Crab Code
🦀 Open-source alternative to Claude Code, built from scratch in Rust. Agentic coding CLI — thinks, plans, and
Openbrowser
Give AI your browser. Check email, track orders, download receipts -- all authenticated, no API keys. Open sou
Obsidian + Claude Code: Rebuild Your Second Brain With AI
Build an AI-powered personal knowledge management system from scratch. Free, open-source, continuously updated
AI Spend Agent
Open-source financial accountability for AI-agent work. Connect Claude Code and Codex activity to cost evidenc
ShinyAssistantUI
A Shiny htmlwidget that wraps @assistant-ui/react — giving Shiny apps a full-featured AI chat UI with streamin
Logion
"Does this actually work with my agent?" An open, versioned registry of AI-agent artifacts: skills, plugins, M
Related Agents
Smoke QA
Use after web/CLI changes, before declaring work done — builds the bundled CLI from the current tree, boots it
Opencode Generalist
OpenCode, the open-source model-agnostic CLI harness, for general coding
SEO Aeo Geo
End-to-end SEO/AEO/GEO content agent. Runs the full pipeline — query fan-out, semantic outline, source collect