learn-claude-code
Bash is all you need - A nano claude code–like 「agent harness」, built from 0 to 1
File Explorer
Download Latest Version (.zip)- ci.yml
- test.yml
- __init__.py
- s01_agent_loop.py
- s02_tool_use.py
- s03_todo_write.py
- s04_subagent.py
- s05_skill_loading.py
- s06_context_compact.py
- s07_task_system.py
- s08_background_tasks.py
- s09_agent_teams.py
- s10_team_protocols.py
- s11_autonomous_agents.py
- s12_worktree_task_isolation.py
- s_full.py
- s01-the-agent-loop.md
- s02-tool-use.md
- s03-todo-write.md
- s04-subagent.md
- s05-skill-loading.md
- s06-context-compact.md
- s07-task-system.md
- s08-background-tasks.md
- s09-agent-teams.md
- s10-team-protocols.md
- s11-autonomous-agents.md
- s12-worktree-task-isolation.md
- s01-the-agent-loop.md
- s02-tool-use.md
- s03-todo-write.md
- s04-subagent.md
- s05-skill-loading.md
- s06-context-compact.md
- s07-task-system.md
- s08-background-tasks.md
- s09-agent-teams.md
- s10-team-protocols.md
- s11-autonomous-agents.md
- s12-worktree-task-isolation.md
- s01-the-agent-loop.md
- s02-tool-use.md
- s03-todo-write.md
- s04-subagent.md
- s05-skill-loading.md
- s06-context-compact.md
- s07-task-system.md
- s08-background-tasks.md
- s09-agent-teams.md
- s10-team-protocols.md
- s11-autonomous-agents.md
- s12-worktree-task-isolation.md
- agent-loop.en.svg
- agent-loop.ja.svg
- agent-loop.svg
- code.py
- README.ja.md
- README.md
- README.zh.md
- tool-dispatch.en.svg
- tool-dispatch.ja.svg
- tool-dispatch.svg
- code.py
- README.ja.md
- README.md
- README.zh.md
- permission-overview.en.svg
- permission-overview.ja.svg
- permission-overview.svg
- permission-pipeline.en.svg
- permission-pipeline.ja.svg
- permission-pipeline.svg
- code.py
- README.ja.md
- README.md
- README.zh.md
- hooks-overview.en.svg
- hooks-overview.ja.svg
- hooks-overview.svg
- code.py
- README.ja.md
- README.md
- README.zh.md
- hello.py
- todo-overview.en.svg
- todo-overview.ja.svg
- todo-overview.svg
- code.py
- README.ja.md
- README.md
- README.zh.md
- subagent-overview.en.svg
- subagent-overview.ja.svg
- subagent-overview.svg
- code.py
- README.ja.md
- README.md
- README.zh.md
- skill-overview.en.svg
- skill-overview.ja.svg
- skill-overview.svg
- code.py
- README.ja.md
- README.md
- README.zh.md
- auto-compact.en.svg
- auto-compact.ja.svg
- auto-compact.svg
- compact-overview.en.svg
- compact-overview.ja.svg
- compact-overview.svg
- compaction-layers.en.svg
- compaction-layers.ja.svg
- compaction-layers.svg
- layer1-budget.en.svg
- layer1-budget.ja.svg
- layer1-budget.svg
- micro-compact.en.svg
- micro-compact.ja.svg
- micro-compact.svg
- code.py
- README.ja.md
- README.md
- README.zh.md
- memory-overview.en.svg
- memory-overview.ja.svg
- memory-overview.svg
- memory-subsystems.en.svg
- memory-subsystems.ja.svg
- memory-subsystems.svg
- code.py
- README.ja.md
- README.md
- README.zh.md
- task-dag.en.svg
- task-dag.ja.svg
- task-dag.svg
- task-system-overview.en.svg
- task-system-overview.ja.svg
- task-system-overview.svg
- code.py
- README.ja.md
- README.md
- README.zh.md
- background-tasks-overview.en.svg
- background-tasks-overview.ja.svg
- background-tasks-overview.svg
- code.py
- README.ja.md
- README.md
- README.zh.md
- cron-scheduler-overview.en.svg
- cron-scheduler-overview.ja.svg
- cron-scheduler-overview.svg
- code.py
- README.ja.md
- README.md
- README.zh.md
- agent-teams-overview.en.svg
- agent-teams-overview.ja.svg
- agent-teams-overview.svg
- team-protocols-overview.en.svg
- team-protocols-overview.ja.svg
- team-protocols-overview.svg
- team-topology.en.svg
- team-topology.ja.svg
- team-topology.svg
- code.py
- README.ja.md
- README.md
- README.zh.md
- mcp-architecture.en.svg
- mcp-architecture.ja.svg
- mcp-architecture.svg
- code.py
- README.ja.md
- README.md
- README.zh.md
- system-architecture.en.svg
- system-architecture.ja.svg
- system-architecture.svg
- code.py
- README.ja.md
- README.md
- README.zh.md
- workflow-runtime-overview.svg
- code.py
- README.ja.md
- README.md
- README.zh.md
- goal-loop-overview.svg
- code.py
- README.ja.md
- README.md
- README.zh.md
- agent-philosophy.md
- minimal-agent.py
- subagent-pattern.py
- tool-templates.py
- init_agent.py
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- test_agent_loop_boundaries.py
- test_agent_teams_runtime.py
- test_agents_smoke.py
- test_background_tasks.py
- test_chapter_readmes.py
- test_compaction_tool_pairs.py
- test_cron_scheduler.py
- test_goal_loop.py
- test_s06_subagent.py
- test_s_full_background.py
- test_skill_loading.py
- test_task_system.py
- test_todo_write_string_input.py
- test_web_scenarios.py
- test_workflow_goal_lessons.py
- agent-loop.en.svg
- agent-loop.ja.svg
- agent-loop.svg
- tool-dispatch.en.svg
- tool-dispatch.ja.svg
- tool-dispatch.svg
- permission-overview.en.svg
- permission-overview.ja.svg
- permission-overview.svg
- permission-pipeline.en.svg
- permission-pipeline.ja.svg
- permission-pipeline.svg
- hooks-overview.en.svg
- hooks-overview.ja.svg
- hooks-overview.svg
- todo-overview.en.svg
- todo-overview.ja.svg
- todo-overview.svg
- subagent-overview.en.svg
- subagent-overview.ja.svg
- subagent-overview.svg
- skill-overview.en.svg
- skill-overview.ja.svg
- skill-overview.svg
- auto-compact.en.svg
- auto-compact.ja.svg
- auto-compact.svg
- compact-overview.en.svg
- compact-overview.ja.svg
- compact-overview.svg
- compaction-layers.en.svg
- compaction-layers.ja.svg
- compaction-layers.svg
- layer1-budget.en.svg
- layer1-budget.ja.svg
- layer1-budget.svg
- micro-compact.en.svg
- micro-compact.ja.svg
- micro-compact.svg
- memory-overview.en.svg
- memory-overview.ja.svg
- memory-overview.svg
- memory-subsystems.en.svg
- memory-subsystems.ja.svg
- memory-subsystems.svg
- task-dag.en.svg
- task-dag.ja.svg
- task-dag.svg
- task-system-overview.en.svg
- task-system-overview.ja.svg
- task-system-overview.svg
- background-tasks-overview.en.svg
- background-tasks-overview.ja.svg
- background-tasks-overview.svg
- cron-scheduler-overview.en.svg
- cron-scheduler-overview.ja.svg
- cron-scheduler-overview.svg
- agent-teams-overview.en.svg
- agent-teams-overview.ja.svg
- agent-teams-overview.svg
- team-protocols-overview.en.svg
- team-protocols-overview.ja.svg
- team-protocols-overview.svg
- team-topology.en.svg
- team-topology.ja.svg
- team-topology.svg
- mcp-architecture.en.svg
- mcp-architecture.ja.svg
- mcp-architecture.svg
- system-architecture.en.svg
- system-architecture.ja.svg
- system-architecture.svg
- workflow-runtime-overview.svg
- goal-loop-overview.svg
- file.svg
- globe.svg
- next.svg
- vercel.svg
- window.svg
- extract-content.ts
- diff-content.tsx
- page.tsx
- client.tsx
- page.tsx
- page.tsx
- page.tsx
- page.tsx
- layout.tsx
- layout.tsx
- page.tsx
- favicon.ico
- globals.css
- page.tsx
- arch-diagram.tsx
- design-decisions.tsx
- execution-flow.tsx
- message-flow.tsx
- source-viewer.tsx
- code-diff.tsx
- whats-new.tsx
- doc-renderer.tsx
- header.tsx
- sidebar.tsx
- agent-loop-simulator.tsx
- simulator-controls.tsx
- simulator-message.tsx
- timeline.tsx
- badge.tsx
- card.tsx
- tabs.tsx
- mechanism-flow.tsx
- step-controls.tsx
- index.tsx
- s01-agent-loop.tsx
- s02-tool-dispatch.tsx
- s03-permission.tsx
- s03-todo-write.tsx
- s04-hooks.tsx
- s06-subagent.tsx
- s07-skill-loading.tsx
- s08-context-compact.tsx
- s09-memory.tsx
- s10-task-system.tsx
- s11-background-tasks.tsx
- s12-cron-scheduler.tsx
- s13-team-runtime.tsx
- s14-mcp-tools.tsx
- s15-integrated-harness.tsx
- s01.json
- s02.json
- s03.json
- s04.json
- s05.json
- s06.json
- s07.json
- s08.json
- s09.json
- s10.json
- s11.json
- s12.json
- s13.json
- s14.json
- s15.json
- s16.json
- s17.json
- docs.json
- versions.json
- s01.json
- s02.json
- s03.json
- s04.json
- s05.json
- s06.json
- s07.json
- s08.json
- s09.json
- s10.json
- s11.json
- s12.json
- s13.json
- s14.json
- s15.json
- s16.json
- s17.json
- execution-flows.ts
- useDarkMode.ts
- useSimulator.ts
- useSteppedVisualization.ts
- en.json
- ja.json
- zh.json
- constants.ts
- i18n-server.ts
- i18n.tsx
- utils.ts
- agent-data.ts
- .gitignore
- next.config.ts
- package-lock.json
- package.json
- postcss.config.mjs
- README.md
- tsconfig.json
- vercel.json
- .env.example
- .gitignore
- CONTRIBUTING.md
- LICENSE
- README-ja.md
- README-zh.md
- README.md
- requirements.txt
# Installation Guide
1. Get the code
git clone https://github.com/shareAI-lab/learn-claude-code
Downloads the entire project code from GitHub to your computer.
cd learn-claude-code
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
cd web && npm install && npm run dev # http://localhost:3000
Moves into the project folder you just downloaded.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
3. Python
EasyPrerequisites
pip install -r requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
If it runs without errors and prints output in the terminal, it worked.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
