TopGit theo dõi ruvnet/open-claude-code trên GitHub, đã đạt 475 sao. Nightly Claude Code CLI Decompile — Reverse Engineered & Rebuilt
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Open Source Claude Code CLI — Reverse Engineered & Rebuilt
A fully functional open source implementation of Anthropic's Claude Code CLI,
built from decompiled source intelligence using ruDevolution.
Automated Nightly Releases — Open Claude Code automatically detects new Claude Code releases, runs 903+ tests to verify zero regressions, and publishes verified builds with AI-powered discovery analysis. See Releases | ADR-001 | pi.ruv.io
⚡ Quick Start
# Run instantly (no install)
npx @ruvnet/open-claude-code "explain this codebase"
# Or install globally
npm install -g @ruvnet/open-claude-code
occ "hello"
# Interactive mode
occ
export ANTHROPIC_API_KEY=sk-ant-...
npx @ruvnet/open-claude-code "what files are in this directory?"
🧠 What Is This?
Open Claude Code is a ground-up open source rebuild of Anthropic's Claude Code CLI, informed by ruDevolution's AI-powered decompilation of the published npm package.
It's not a copy — it's a clean-room implementation that mirrors the actual Claude Code architecture: async generator agent loop, 25 tools, 4 MCP transports, 6 permission modes, hooks, settings chain, sessions, and more.
occ [options] [prompt]
Options:
-m, --model <model> Model to use (default: claude-sonnet-4-6)
-p, --print Print mode (non-interactive, output only)
--permission-mode <mode> Permission mode: default, auto, plan, acceptEdits,
bypassPermissions, dontAsk
--system-prompt <text> Override system prompt
--add-dir <path> Additional CLAUDE.md directory
--max-turns <n> Maximum conversation turns
--allowedTools <tools> Comma-separated allowed tools
--disallowedTools <tools> Comma-separated denied tools
--output-format <fmt> Output: text, json, stream-json
-v, --verbose Verbose output
-d, --debug Debug mode
--version Show version
-h, --help Show help
Examples
# Use a different model
occ -m claude-opus-4-6 "design a database schema for a blog"
# Print mode (for piping)
occ -p "list all functions in src/" > functions.txt
# Plan mode (read-only, no edits)
occ --permission-mode plan "review the security of auth.js"
# Restrict tools
occ --allowedTools "Read,Glob,Grep" "find all API endpoints"
# With custom system prompt
occ --system-prompt "You are a senior Go developer" "review main.go"
🔧 Interactive Commands
40 slash commands available in REPL mode:
Command
Description
/help
Show all commands
/model <name>
Switch model mid-conversation
/tools
List available tools
/tokens
Show current token usage
/cost
Show session cost estimate
/compact
Compact context window
/undo
Undo last file edit
/clear
Clear conversation history
/doctor
Check API connectivity + health
/fast
Toggle fast mode (Haiku)
/effort <level>
Set effort: low, medium, high, max
/resume [id]
Resume a previous session
/sessions
List saved sessions
/agents
List custom agents
/skills
List available skills
/hooks
Show active hooks
/config
Show current settings
/permissions
Show permission mode
/mcp
Show MCP server status
/memory
Show memory usage
/exit
Exit
🔨 Tools
25 built-in tools matching Claude Code's tool system:
Tool
Description
Bash
Execute shell commands (sandboxed)
Read
Read files with line numbers
Edit
Replace strings in files
Write
Create/overwrite files
Glob
Find files by pattern
Grep
Search file contents (regex)
LS
List directory contents
Agent
Spawn sub-agents
WebFetch
Fetch URL content
WebSearch
Web search
TodoWrite
Task management
NotebookEdit
Edit Jupyter notebooks
MultiEdit
Atomic multi-file edits
ToolSearch
Discover deferred tools
AskUser
Prompt user for input
Skill
Invoke a skill
SendMessage
Agent team messaging
CronCreate/Delete/List
Scheduled tasks
EnterWorktree/ExitWorktree
Git worktree isolation
RemoteTrigger
Remote execution
LSP
Language server protocol
ReadMcpResource
Read MCP resources
⚙️ Configuration
Settings
Create .claude/settings.json in your project or ~/.claude/settings.json globally:
On March 31, 2026, Anthropic accidentally shipped source maps in the Claude Code npm package, exposing the full TypeScript source. This project takes a different approach — we use ruDevolution to analyze the published npm package legally and rebuild from that intelligence.
What ruDevolution Found
Discovery
Evidence
🤖 Agent Teams
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS
🌙 Auto Dream Mode
tengu_auto_dream_completed
🔮 claude-opus-4-6
Unreleased model ID
🔐 6 "amber" codenames
Internal feature gates
☁️ Cloud Code Runner
BYOC compute
📡 MCP Streamable HTTP
New transport
Download decompiled releases →
⚖️ Legal
This is a clean-room implementation — no leaked source used. Architecture informed by analysis of the published npm package, legal under US DMCA §1201(f), EU Software Directive Art. 6, UK CDPA §50B.
📚 Related
ruDevolution — AI-Powered JavaScript Decompiler
Decompiled Releases — Every Claude Code version
v2 Architecture (ADR-001)
Path to 100% (ADR-002)
Nightly Release Pipeline
Automated Nightly Verified Releases (ADR-001)
Open Claude Code includes an automated nightly CI/CD pipeline that:
Detects new Claude Code releases from npm registry (03:00 UTC daily)
Verifies compatibility with 903+ tests, npm audit, and smoke tests
Analyzes changes using Claude Sonnet 4.6 AI-powered discovery
Publishes verified releases with detailed notes — only if ALL gates pass
Cron 03:00 UTC → npm check → 903+ tests → npm audit → AI analysis → verified release
Manual trigger:
gh workflow run nightly.yml -f force_release=true
Required secrets:
GITHUB_TOKEN — automatic
ANTHROPIC_API_KEY — optional, for AI discovery analysis
See ADR-001 for full architecture.
rudevolution Integration
The rudevolution submodule provides AI-powered decompilation analysis of Claude Code releases, tracking 34,759+ functions with 95.7% name accuracy. Used by the nightly pipeline for change discovery.
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/ruvnet/open-claude-code là nguồn chính thức.
ruvnet/open-claude-code có bao nhiêu sao?
ruvnet/open-claude-code có 475 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/ruvnet/open-claude-code. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
ruvnet/open-claude-code có phải mã nguồn mở không?
Có — ruvnet/open-claude-code phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/ruvnet/open-claude-code.
ruvnet/open-claude-code còn đang phát triển không?
Commit gần nhất trên ruvnet/open-claude-code là 3 ngày trước (theo timestamp GitHub). Repo có 165 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
ruvnet/open-claude-code là gì?
ruvnet/open-claude-code (ruvnet/open-claude-code) là dự án JavaScript trên GitHub. Theo mô tả gốc: Nightly Claude Code CLI Decompile — Reverse Engineered & Rebuilt
Đọc đầy đủ README ở tab phía trên.
Vẫn đang phân vân về open-claude-code?
Một cú bấm sẽ gửi câu hỏi kèm trang này cho AI — xem AI nói gì về open-claude-code.