SM

sundl123/miniclaw

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

10 stars Качество 62 Тренд 26

🦞🦀 Your tiny coding claw. Learn to build an AI coding agent from scratch—small, simple, powerful.

Обзор

Your tiny coding claw Learn to build an AI coding agent in ~2000 lines of Python Ever wondered how tools like Claude Code or OpenClaw actually work under the hood? is the answer -- a minimal, hackable AI coding agent you can read through in an afternoon. The name says it all: + (from Open**). No sprawling architecture, no thousand-file monorepo. Just the essential loop that powers every AI coding assistant: If you want to , , or an AI agent, start here. - -- read, write, edit, glob, grep, bash, Skill, todo_write, ask_followup_question, memory, session_search, Agent. Workspace file ops plus task tracking, user clarification, on-demand skills, persistent memory, past-session recall, and sub-agents. - -- Automatically loads AGENTS.md and .miniclaw/rules/*.md into the system prompt. Project conventions and coding guidelines are always visible to the agent. - -- The agent can enter a read-only planning phase: explore code, produce a structured plan, then execute only after you approve.

README

Показан фрагмент оригинального README. Открыть оригинал.

Your tiny coding claw Learn to build an AI coding agent in ~2000 lines of Python

English | 中文


What is miniclaw?

Ever wondered how tools like Claude Code or OpenClaw actually work under the hood? miniclaw is the answer – a minimal, hackable AI coding agent you can read through in an afternoon.

The name says it all: mini + claw (from OpenClaw). No sprawling architecture, no thousand-file monorepo. Just the essential loop that powers every AI coding assistant:

You type a request
  -> LLM thinks
    -> LLM calls tools (read / write / edit / grep / glob / bash)
      -> Tools execute in your workspace
        -> LLM sees the result
          -> Repeat until done

If you want to learn, teach, or hack on an AI agent, start here.

Features

  • 12 Tools – read, write, edit, glob, grep, bash, Skill, todo_write, ask_followup_question, memory, session_search, Agent. Workspace file ops plus task tracking, user clarification, on-demand skills, persistent memory, past-session recall, and sub-agents.
  • Project Rules – Automatically loads AGENTS.md and .miniclaw/rules/*.md into the system prompt. Project conventions and coding guidelines are always visible to the agent.
  • Plan Mode – The agent can enter a read-only planning phase: explore code, produce a structured plan, then execute only after you approve. Write operations are blocked until you say go.
  • Skills System – Drop a SKILL.md into .miniclaw/skills// and the agent learns new tricks. Skills are injected into the system prompt automatically; the Skill tool loads full instructions on demand.
  • Memory – Durable facts live in ~/.miniclaw/memory/MEMORY.md and are auto-injected each session. The agent can read/write topic files for longer notes.
  • Session Search – Conversations are recorded locally; the agent can browse, full-text search, or scroll through past sessions.
  • Sub-agents – Optional Agent tool spawns an isolated sub-agent (explore / general) so research or side tasks don’t pollute the main context. Enable with subagent.enabled.
Открыть полный README на GitHub

Рекомендуемые инструменты

Попробуйте другой запрос или уберите фильтр.

Установка

npx skillfish add sundl123/miniclaw
Новичок в MCP? Начните с руководства на mcpskill.org →