Claw0 — AI skill for Claude Code
0 - 1 learn OpenClaw: sections to build an claw-AI agent from scratch.
How to install Claw0
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open shareAI-lab/claw0 and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claw0 does
0 - 1 learn OpenClaw: sections to build an claw-AI agent from scratch.
Alternatives in AI
- Scikit Learn — Machine learning with scikit-learn library 6.4k ★
- Project Next 14 AI Prompt Sharing — Next.js recently became the official React framework as outlined in React docs 3k ★
- Claw Empire — Command Your AI Agent Empire from the CEO Desk — A local-first AI agent office simulator that orchestrates CLI 1.1k ★
README
[English](README.md) | [中文](README.zh.md) | [日本語](README.ja.md)
claw0
**From Zero to One: Build an AI Agent Gateway**
10 progressive sections -- every section is a single, runnable Python file. 3 languages (English, Chinese, Japanese) -- code + docs co-located.
What is this?
Most agent tutorials stop at "call an API once." This repository starts from that while loop and takes you all the way to a production-grade gateway.
Build a minimal AI agent gateway from scratch, section by section. 10 sections, 10 core concepts, ~7,000 lines of Python. Each section introduces exactly one new idea while keeping all prior code intact. After all 10, you can read OpenClaw's production codebase with confidence.
s01: Agent Loop -- The foundation: while + stop_reason
s02: Tool Use -- Let the model call tools: dispatch table
s03: Sessions & Context -- Persist conversations, handle overflow
s04: Channels -- Telegram + Feishu: real channel pipelines
s05: Gateway & Routing -- 5-tier binding, session isolation
s06: Intelligence -- Soul, memory, skills, prompt assembly
s07: Heartbeat & Cron -- Proactive agent + scheduled tasks
s08: Delivery -- Reliable message queue with backoff
s09: Resilience -- 3-layer retry onion + auth profile rotation
s10: Concurrency -- Named lanes serialize the chaos
Architecture
+------------------- claw0 layers -------------------+
| |
| s10: Concurrency (named lanes, generation track) |
| s09: Resilience (auth rotation, overflow compact)|
| s08: Delivery (write-ahead queue, backoff) |
| s07: Heartbeat (lane lock, cron scheduler) |
| s06: Intelligence (8-layer prompt, hybrid memory) |
| s05: Gateway (WebSocket, 5-tier routing) |
| s04: Channels (Telegram pipeline, Feishu hook) |
| s03: Sessions (JSONL persistence, 3-stage retry)|
| s02: Tools
Related Skills
Oc Claw
A desktop pet that monitors your AI coding agents (OpenClaw, Claude Code, Codex, Cursor, Gemini CLI, opencode,
Claw Friends
Multi-platform social networking skill for AI assistants (OpenClaw, QClaw, KimiClaw, CoPaw, Claude Code)
Openclaw Knowledge Distiller
Open CLAW Knowledge Distiller · 龍蝦知識蒸餾器 — Turn YouTube/Bilibili videos into structured knowledge articles. Loc
General Purpose Agent Quickstart
Build Your Own OpenClaw from Scratch with Composio, Vercel AI SDK, Telegram, and Supermemory
Claw Spark
One-click AI agent setup for NVIDIA DGX Spark, Jetson, and RTX hardware. OpenClaw + Ollama, fully local.
Learn Skills.Dev
Curated high-quality AI Agent Skills. Search, install, copy and share. Works with Claude Code, Cursor, OpenCla
Related Agents
Feature Build
Use when building a new feature from scratch. Chains search → plan → code → review → verify → learn in sequenc
🦀 Claw CR
Der Open-Source-Coding-Agent, in Rust gebaut. Alternative zu ClaudeCode Status Language
Code Porter
Feature porting specialist for the hl_claw_bot two-repo setup. Extracts and upgrades features from the game-ba