Skills

shareAI-lab/learn-claude-code

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

Stars
80,705
+7 days
—
Forks
12,877
Language
Python
License
MIT
Last push
15 Nov 2026

Summary

Summary written by AI from the README; it may be imprecise.

This educational repository teaches developers how to build an agent harness modeled after Claude Code from scratch across seventeen progressive Python lessons. Each lesson isolates and demonstrates a core harness mechanism such as tool execution, context compaction, permission systems, subagents, task graphs, memory, and MCP plugins around a central agent loop.

Use it when

  • When learning how to build an agent harness from scratch using Python
  • When needing reference code for context compaction, permissions, hooks, or subagents in custom agents
  • Wanting to study multi-agent task execution, worktree isolation, or MCP integration mechanisms

Install

npm
npm i -g @shareai-lab/kode
pip
pip install -r requirements.txt

Commands quoted from the repo's README. Read the README before running them.

Needs a token or API key.

Stars over 90 days

Collecting: 2 of 90 days so far. The chart appears after 7 days.

Type to search the reference, templates and lessons.