by soongenwong
Open Source ClaudeCode Leaked. Same functionalities as Claude Code by Anthropic. Written in Rust, Ready to use immediately for free.
# Add to your Claude Code skills
git clone https://github.com/soongenwong/claudecodeClaudeCode is an open source Anthropic Claude Code with Rust implementation. It is a local coding-agent CLI that provides an interactive agent shell, one-shot prompts, workspace-aware tools, plugin support, and resumeable sessions.
rust/ workspace.From the repository root:
cd rust
Build the CLI:
cargo build --release -p claw-cli
Start the interactive shell:
cargo run --bin claw -- --help
cargo run --bin claw --
Run a single prompt:
cargo run --bin claw -- prompt "summarize this workspace"
Install it locally if you want the binary on your PATH:
cargo install --path crates/claw-cli --locked
Use whichever provider you have access to.
Anthropic-compatible models:
export ANTHROPIC_API_KEY="..."
export ANTHROPIC_BASE_URL="https://api.anthropic.com"
Grok models:
export XAI_API_KEY="..."
export XAI_BASE_URL="https://api.x.ai"
You can also authenticate through the CLI:
cargo run --bin claw -- login
No comments yet. Be the first to share your thoughts!
cargo run --bin claw -- prompt "review the latest changes"
cargo run --bin claw -- init
cargo run --bin claw -- logout
cargo run --bin claw -- --resume session.json /status
Run claw --help for the full command list, including agents, skills, system-prompt output, and slash-command flows.
.
├── rust/ # Active Rust workspace and CLI/runtime implementation
├── src/ # Python porting workspace and support code
├── tests/ # Python verification
├── CLAW.md # Repo-specific working notes
└── README.md # This guide
Use the Rust workspace for local verification:
cd rust
cargo fmt
cargo clippy --workspace --all-targets -- -D warnings
cargo test --workspace
If you change the Python workspace in src/, keep the matching tests in tests/ updated too.
CLAW.md contains the workflow guidance for contributors working in this tree.