Anthropic's Claude Code Leaked Source Files Revealed

So, Claude Code leaked source files we have Some hours ago Claude Code "by human mistake" pushed the source-maps of their TS code base into their NPM registry, and we all can learn more about the "Machines of Loving Grace" or at least about the client wrapper for those AGI "in 6 month only plumbers will survive" things. What's inside? It looks like a wrapper app with layered instructions and modes to proxy and enrich user's prompts to LLM and back. It has multiple layers, different modes, internal tools and other things including Anti-distillation stubs. Yep, this is a simplification from my side. Fun stuff from the code base: - 90 TODOs. I love the `// TODO: figure out why` and `// TODO: Clean this up`. - 152 eslint-disable including 37 react-hooks/exhaustive-deps - 29 deprecated labels - Exposed full names of Anthropic Safeguards team. Damn, this is so secure! - "Code review skill" that is 3 agents running in parallel (to limit context window?) with checklists instructions .md. - 'Local review skill" that starts with "You are an expert code reviewer. Follow these steps:". - "Security review skill" that starts with "You are a senior security engineer conducting a focused security review". - "Agent creation skill" that starts with "You are an elite AI agent architect specializing in crafting high-performance agent configurations.". Elite? Why not to add "Supa-dupa-mega-VIP" to make the skill even better? If the "coding is solved" for Boris Cherny, then why do they have deprecated labels, eslint-disable, TODO things, being on the verge of AGI breakthrough? If they can use custom code or even assembly code, why do they use React, Axios, Bun, Crypto, Electron.js, Lodash, Chalk? And finally, I like their their negative sentiment analysis "AGI engine" that is a single regex with red-flag words. To me all of that looks like a nice medium-sized application developed by the team of enthusiastic people with its own trade-offs, common popular dependencies, standard architectural patterns. Yes, according to the versioning number Anthropic does a lot of automated code generation, but Claude Code has the same signs of any modern app, with its pros and cons. This is not the God-like sentient machine code. This is average industry code. Tech bros, guys, stop anthropomorphizing your forward text generators, they are tools, not Gods. AI Skills are just sets of instructions. Jenkins had agents for years, but nobody sold them as singularity sentient entities. Cut this mystifications and build a better world for humans, instead of twisting meanings.

Unfortunately these big AI labs love hyping up AGI. A side effect of how much importance people put on the valuation of a company

To view or add a comment, sign in

Explore content categories