14days-build-claude-code-cli

Installation
SKILL.md

14days-build-claude-code-cli

Skill by ara.so — Devtools Skills collection.

A 14-day tutorial project for building a production-grade code agent CLI from scratch in Python. Learn to implement the "harness" layer around LLMs: tool calling, file operations, permission systems, session management, and agent orchestration patterns inspired by Claude Code.

What It Is

This is an educational implementation of a Code Agent CLI called agent-code. Over 14 days, you build:

  • CLI runtime with REPL and slash commands
  • Agent loop with tool calling (Anthropic Messages API format)
  • File search, read, and safe edit with diff preview
  • Bash command execution with permission engine
  • Session persistence and project memory
  • Hooks, skills, subagents, and MCP tool integration
  • Worktree isolation for multi-task workflows

Default model: Uses DeepSeek's Anthropic-compatible endpoint for cost-effective testing, but works with any Anthropic Messages API compatible service (Claude, etc.)

Installs
146
GitHub Stars
3
First Seen
May 30, 2026
14days-build-claude-code-cli — aradotso/devtools-skills