This is a from-scratch Python rewrite of the Claude Code agent harness, built for educational purposes to mirror the tool dispatch, command orchestration, and task execution patterns of the original TypeScript implementation. It gives you a working CLI with commands for inspecting the ported workspace, running parity audits, and exploring the tool and command registries. The architecture is clean: dataclasses for subsystems and modules, a tool registry pattern with JSON schema parameters, and a task wrapper that runs agent loops against a dispatcher. If you want to understand how Claude Code's internals are structured or need a Python agent scaffold with command routing and tool wiring already laid out, this is a readable reference implementation orchestrated end to end with oh-my-codex.
npx skills add https://github.com/aradotso/trending-skills --skill clawd-code-python-port