Claude Code documentation includes excessive React components inflating token counts

A developer building a PDF and Dash docset tool for Claude Code documentation discovered significant token inefficiency in the official documentation files.
Key Findings
The analysis revealed that the .md files linked from llms.txt are actually MDX files containing substantial React component code alongside documentation content.
Specific examples from the source:
- The context-window.md page contains 18,501 tokens total
- Only 551 tokens of that total represent actual documentation content
- The remaining tokens consist of animation engines, a fullscreen toggle handler, and other React components
- The quickstart.md page includes A/B testing infrastructure with GDPR consent detection
The developer verified these token counts against Anthropic's own API, confirming the measurements.
This discovery was made while building a documentation tool that processes these files, highlighting how embedded React components in MDX files can dramatically increase token counts without adding documentation value.
📖 Read the full source: r/ClaudeAI
👀 See Also

United States Code Available as Git Repository with Full Change History
The United States Code is available as a Git repository with the entire federal law stored as Markdown files. Each commit represents a point-in-time snapshot from 2013 to present, allowing developers to use git diff, git log, and git blame to track legal changes.

Open-Sourced Claude Code Skills: A /do Pipeline That Cut Follow-Ups by 80%
A developer open-sourced 15 Claude Code skills built over 100+ freelance projects. The /do command runs a 5-step pipeline (/todo → /dev → /verify-dev → /build → /test → push) with auto-fix loops, resulting in 80% fewer follow-ups and 60-65% better code quality across 2000+ commits.

AgentMail Founder Details Agent-Native Onboarding After OpenClaw Exposed CAPTCHA Block
AgentMail, an email API for AI agents, rebuilt its onboarding flow after its own OpenClaw agent failed at a Cloudflare CAPTCHA. The new system offers a single REST endpoint for programmatic account creation while keeping humans in the loop for verification.

HostedShell: A Web-Based Deployment Solution for OpenClaw Agents
HostedShell is a hosted version of OpenClaw that eliminates local CLI setup, dependency management, and manual pairing by providing a web console with direct terminal access and filesystem updates.