Mini Claw Code — Development skill for Claude Code
Build your own mini coding agent in Rust.
How to install Mini Claw Code
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open odysa/mini-claw-code and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Mini Claw Code does
Build your own mini coding agent in Rust.
Alternatives in Development
- OpenAI Codex CLI — (Rust implementation) 67.8k ★
- Rust Analyzer Lsp — Rust /plugin install rust-analyzer-lsp@claude-plugins-official 14k ★
- Claurst — Your favorite Terminal Coding Agent, now in Rust 9.2k ★
README
Mini Claw Code
Build a coding agent from scratch in Rust — guided by Claude Code's architecture.
Read the Book (EN) · 中文版 (Book) · 中文 README · Quick Start · Chapters
You use coding agents every day. Ever wonder how they actually work?
It's simpler than you think. Strip away the UI, the streaming, the model routing — and every coding agent is just this loop:
loop:
response = llm(messages, tools)
if response.done:
break
for call in response.tool_calls:
result = execute(call)
messages.append(result)
The LLM never touches your filesystem. It *asks* your code to run tools — read a file, execute a command, edit code — and your code *does*. That loop is the entire idea.
This book builds that loop from scratch and then grows it into the full architecture of a real coding agent: streaming, permissions, hooks, plan mode, configuration, and more. **18 chapters. Test-driven. No magic.**
What you'll build
A working coding agent that can:
- Run shell commands —
ls,grep,git, anything - Read, write, and edit files — full filesystem access with surgical find-and-replace
- Talk to real LLMs — via OpenRouter (free tier available, no credit card)
- Stream responses — SSE parsing, token-by-token output
- Search a codebase — glob for files, grep f
Related Skills
Claw Code Agent
Claw Code No Rust No TypeScript Only Python. Easy to work with. Fast to iterate. 🔥 Zero external dependencies
Claw Bench
Benchmark suite: Claw Code (Rust) vs Claude Code (Node.js)
Search The Web
Search the web from your coding agent. Type /s and a query, get 3 synthesized mini-briefings with verdicts, ra
Claude Code Mini App
Self-hosted multi-agent console for Claude Code, Cursor Agent, Codex and Kiro — run and supervise coding agent
Zerostack
Lightweight coding agent written in Rust, optimized for memory footprint and performance
Mempal
本文件是仓库级 agent 工作约束,内容与 CLAUDE.md 保持一致;在本仓库内工作的 agent 都应遵循以下规则。 Rust 实现的 coding agent 项目记忆工具。单二进制,cargo install
Related Agents
🦀 Claw CR
Der Open-Source-Coding-Agent, in Rust gebaut. Alternative zu ClaudeCode Status Language
ZeroClaw Android
Run AI agents 24/7 on your Android phone. Native Rust core, 25+ providers (OpenAI, Claude, Gemini, Groq, DeepS
Rust Implementer
Implements a well-specified task (Rust core, Tauri commands, Svelte UI) in this repo following the project ski