Claude Code usage
Claude Source Leaked
Claude Code v2.1.88 source analysis: system prompts, 87 hidden feature flags, cost optimization, architecture diagrams, undercover mode, and comparison with Cursor/Cline. No source code redistributed.
Install
git clone https://github.com/noya21th/claude-source-leaked.gitFrom the README
Claude Code Unveiled The first architecture deep-dive, hidden feature catalog, and cost optimization guide for Claude Code — based on v2.1.88 source analysis (1,884 files, 132K lines of TypeScript). 中文版 | English On March 31, 2026, Claude Code's TypeScript source (1,884 files, ~132K lines) was exposed through an unstripped .map file in the npm package. This repository includes the complete restored source code in src/ plus original analysis. This project extracts actionable insights — architecture patterns, hidden features, cost optimization, and best practices — all with source file references. Table of Contents - System Prompt (Complete Reconstruction) - 87 Hidden Feature Flags - 15 Hidden Slash Commands - 25 Internal-Only Commands - Undercover Mode (How Anthropic Hides AI Attribution) - Cost Optimization (10 Tips from Source) - Architecture Diagrams - Claude Code vs Cursor vs Cline - Telemetry & Privacy - Remote Control & Killswitches - Future Roadmap (Unreleased Features) - CLAUDE.md Best Practices System Prompt (Complete Reconstruction) Full document | Source: src/constants/prompts.ts, src/utils/systemPrompt.ts 5-Layer Priority System What the Default Prompt Actually Says The system prompt is 9 major sections: 1. Identity — "You are an interactive agent that helps users with software engineering tasks" 2. System Rules — Tool execution, permission modes, prompt injection detection 3. Task Execution — The most detailed section: - Read code before modifying (mandatory) - Don't add unrequested features/refactoring - Don't create helpers for one-time operations - "Three similar lines of code is better than a premature abstraction" - Avoid OWASP Top 10 vulnerabilities 4. Careful Actions — Destructive operations need user confirmation (rm -rf,…
Details
- Repository
- noya21th/claude-source-leaked
- Language
- TypeScript
- Last updated
- 31 March 2026
- Topics
- ai-agentai-codinganthropicarchitectureclaudeclaude-codeclinecost-optimizationcursordeveloper-toolsfeature-flagsreverse-engineering
FAQ
What is Claude Source Leaked?
Claude Code v2.1.88 source analysis: system prompts, 87 hidden feature flags, cost optimization, architecture diagrams, undercover mode, and comparison with Cursor/Cline. No source code redistributed. It is a usage for Claude Code, from noya21th/claude-source-leaked on GitHub.
How do I install Claude Source Leaked?
Clone noya21th/claude-source-leaked from GitHub and follow the setup steps in its README.
Is Claude Source Leaked popular?
noya21th/claude-source-leaked has 135 GitHub stars and 148 forks. It was last updated on 31 March 2026.
More usage & cost trackers
Agent Startup Kit
204Blink-h/agent-startup-kit
Reusable AI coding workflows for Claude Code and VS Code to ship auth, billing, and landing pages faster.
CC Statistics
117androidZzT/cc-statistics
AI Coding stats dashboard — track costs, tokens, and efficiency across Claude Code / Gemini CLI / Codex / Cursor
ClaudeMeter
176eddmann/ClaudeMeter
macOS menu bar app for tracking Claude.ai plan usage in real-time. Monitor 5-hour session, 7-day weekly, and Sonnet-specific limits with color-coded indicators and smart notifications.
Token Meter
145splunk/token-meter
Open-source, local-first AI coding agent usage and cost dashboard for Claude Code, Codex, Cursor, OpenCode, Kiro, and Pi.
Bough
129nickelsec/bough
Claude Code, Codex and Pi write down everything you do. bough draws it and prices it: a day, the work inside it, every prompt, and what each piece cost. One Go binary, runs on your machine, sends nothing anywhere.
Openclaw Claude Bridge
151shinglokto/openclaw-claude-bridge
HTTP bridge powering OpenClaw's AI agents via Claude Code CLI — manages persistent sessions, auto-resume, extended thinking, and provides a real-time React dashboard with per-agent cost tracking. Exposes an OpenAI-compatible API.
Browse the most popular Claude Code mods, all usage & cost trackers, or the skills and MCP server directories.