shareAI-lab/learn-claude-code

51,501 stars · Last commit 2026-04-07

Bash is all you need - A nano claude code–like 「agent harness」, built from 0 to 1

README preview

[English](./README.md) | [中文](./README-zh.md) | [日本語](./README-ja.md)

# Learn Claude Code

A teaching repository for implementers who want to build a high-completion coding-agent harness from scratch.

This repo does not try to mirror every product detail from a production codebase. It focuses on the mechanisms that actually decide whether an agent can work well:

- the loop
- tools
- planning
- delegation
- context control
- permissions
- hooks
- memory
- prompt assembly
- tasks
- teams
- isolated execution lanes

View full repository on GitHub →