learn-claude-code
shareAI-lab/learn-claude-code · Updated
Bash is all you need - A nano claude code–like 「agent harness」, built from 0 to 1
shareAI-lab/learn-claude-code is a Python repository in the AI Agents category with 79,492 stars and 12,720 forks on GitHub, released under the MIT license, last updated 2d ago.
How to install learn-claude-code in your AI client
Setup for Claude Code, Claude Desktop, Cursor, Codex, Windsurf, Cline and VS Code — copy-paste ready.
How to install learn-claude-code in Claude CodeAnthropic's agentic CLI
Clone & open
bashgit clone https://github.com/shareAI-lab/learn-claude-code.git cd learn-claude-code claudeLet Claude read it
Ask “/init” to generate a CLAUDE.md, then have Claude explain, run, or extend the codebase. It reads files on demand.
How to install learn-claude-code in Claude DesktopDesktop app (MCP config)
Clone the repository
bashgit clone https://github.com/shareAI-lab/learn-claude-code.gitOpen in your AI editor
Open the folder in your assistant and ask it to index the codebase, then reference files in chat.
How to install learn-claude-code in CursorAI-first code editor
Clone & open in Cursor
bashgit clone https://github.com/shareAI-lab/learn-claude-code.gitIndex & chat
Open the folder — Cursor indexes it automatically. Use @Codebase in chat to ask about it or scaffold from it.
How to install learn-claude-code in Codex CLIOpenAI coding agent
Clone
bashgit clone https://github.com/shareAI-lab/learn-claude-code.gitPoint Codex at it
Run codex in the repo root; add setup notes to AGENTS.md so the agent knows how to build & test.
How to install learn-claude-code in WindsurfCodeium's agentic IDE
Clone & open
bashgit clone https://github.com/shareAI-lab/learn-claude-code.gitUse Cascade
Windsurf indexes the workspace; ask Cascade to explain or reuse modules from the repo.
How to install learn-claude-code in ClineVS Code autonomous agent
Clone the repository
bashgit clone https://github.com/shareAI-lab/learn-claude-code.gitOpen in your AI editor
Open the folder in your assistant and ask it to index the codebase, then reference files in chat.
How to install learn-claude-code in VS CodeCopilot / MCP support
Clone the repository
bashgit clone https://github.com/shareAI-lab/learn-claude-code.gitOpen in your AI editor
Open the folder in your assistant and ask it to index the codebase, then reference files in chat.
Documentation
Full READMEEnglish | 中文 | 日本語
Learn Claude Code -- Harness Engineering for Real Agents
Agency Comes from the Model. An Agent Product = Model + Harness.
Before we write any code, one thing needs to be clear.
Agency -- the capacity to perceive, reason, and act -- comes from model training, not from external code orchestration. But a working agent product needs both the model and the harness. The model is the driver. The harness is the vehicle. This repository teaches you how to build the vehicle.
Where Agency Comes From
At the core of every agent is a neural network -- a Transformer, an RNN, a trained function -- shaped by billions of gradient updates on sequences of perception, reasoning, and action. Agency was never bestowed by the surrounding code. It was learned during training.
Humans are the original proof. A biological neural network, refined by millions of years of evolutionary pressure, perceives the world through senses, reasons through a brain, and acts through a body. When DeepMind, OpenAI, or Anthropic say "agent," they all mean the same core thing: a model that learned to act through training, plus the infrastructure that lets it operate in a specific environment.
The historical record is unambiguous:
- 2013 -- DeepMind DQN plays Atari. A single neural network, receiving only raw pixels and game scores, learned 7 Atari 2600 games -- surpassing prior algorithms and beating human experts in 3 of them. By 2015, scaled to 49 games at professional tester level, published in *Nature*. No game-specific rules. One model, learning from experience.
- 2019 -- OpenAI Five conquers Dota 2. Five neural networks played 45,000 years of Dota 2 against themselves over 10 months, then defeated OG -- the TI8 world champions -- 2-0 in a live match. In the public arena, the AI won 99.4% of 42,729 games. No scripted strategies. Models learned teamwork through self-play.
- 2019 -- DeepMind AlphaStar masters StarCraft II. AlphaStar beat a professional player 10-1 in closed matches, then reached Grandmaster rank on the European server -- top 0.15% of 90,000 players. An incomplete-information, real-time game with a combinatorial action space far exceeding chess or Go.
- 2019 -- Tencent Jueyu dominates Honor of Kings. Tencent AI Lab's "Jueyu" system defeated KPL professional players in full 5v5 at the World Champion Cup semifinal. In 1v1 mode, pros won just 1 out of 15 matches, lasting under 8 minutes at best. Training intensity: one day equaled 440 human years. A model that learned the entire game from scratch through self-play.
- 2024-2025 -- LLM agents reshape software engineering. Claude, GPT, Gemini -- large language models trained on the full breadth of human code and reasoning -- are deployed as coding agents. They read codebases, write implementations, debug failures, and coordinate as teams. The architecture is identical to every previous agent: a trained model, placed in an environment, given tools for perception and action.
Excerpt — the full document is on GitHub.
More AI Agents repositories
- AI Agents265k
deepseek-harness
DeepSeek Harness: Everything is a Plugin.
TypeScriptMITdeepseek-ai/deepseek-harness
- AI Agents258k
hermes-agent
The agent that grows with you
PythonMITNousResearch/hermes-agent
- AI Agents197k
firecrawl
Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScriptAGPL-3.0firecrawl/firecrawl
- AI Agents180k
ponytail
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
JavaScriptMITDietrichGebert/ponytail
- AI Agents149k
langchain
The agent engineering platform.
PythonMITlangchain-ai/langchain
- AI Agents110k
orca
Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.
TypeScriptMITstablyai/orca
Catalog data refreshed . Something wrong? Report it.