lorenjphillips

Rusty Claw — Development skill for Claude Code

Development community

This is Claude Code ported to Rust.

How to install Rusty Claw

This entry records only its repository, not the path inside it, so there is no exact command to give. Open lorenjphillips/rusty-claw and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Rusty Claw does

This is Claude Code ported to Rust. This is not a complete implementation but rather a functional tool without simply storing an archive of leaked code.

Alternatives in Development

  • Prompt Net Requests — I want to enhance the AsyncPlaywrightCrawlerStrategy to optionally capture network requests and console messag 85.8k ★
  • OpenAI Codex CLI — (Rust implementation) 67.8k ★
  • Claude Code Rust — 🚀 Rust 全量重构的 Claude Code - 性能提升 2.5x,体积减少 97% High-performance Rust implementation of Claude Code with 2.5x f 1.4k ★

README

rusty-claw

Claude Code's agent harness architecture, mapped and compiled in Rust

Rust Tests License Port of claw-code


rusty-claw

Rust rewrite of [claw-code](https://github.com/lorenjphillips/claw-code) — a clean-room structural map of Claude Code's agent harness architecture, compiled to a single static binary.

What This Is (and Isn't)

This is an **architectural study**, not a working Claude Code replacement. It maps out how Claude Code organizes its 207 commands, 184 tools, 29 subsystems, prompt routing, session management, and startup sequence — but it does not call any LLM API, execute real tools, or run actual agent loops.

When you run a command like `exec-tool MCPTool "fetch resources"`, it prints what the real system *would* do — it doesn't actually do it. Every execution path is a structural shim that describes the routing and dispatch behavior without performing it.

The original [claw-code](https://github.com/lorenjphillips/claw-code) Python project worked the same way. This is a faithful Rust port of that same metadata mirror.

**What it does:**

  • Loads and indexes all 207 commands and 184 tools from mirrored JSON snapshots
  • Routes prompts to matching commands/tools via to