sourcecode: Open-Source CLI to Compress Large Java/Spring Monorepos for Claude

An open-source CLI tool called sourcecode was released to compress large enterprise repositories into Claude-friendly context. Aimed at Java/Spring monorepos, it targets the problem of excessive token usage when feeding codebases to LLMs like Claude.
What It Does
The tool provides several features out of the box:
- Repo context compression — reduces a real Java Spring Boot + Angular monorepo (~4k files) from roughly ~3M tokens (manual estimate) to
--agentmode: ~5k structured tokens, or--compactmode: ~1.7k tokens. - Git hotspots / churn detection — identifies files with frequent changes.
- TODO / FIXME extraction — pulls all code annotations.
- Symbol lookup — across duplicated modules and projects.
- PR delta workflows — produces structured JSON/YAML output for Claude workflows.
Current Limitations
The author notes that deep Java semantics, Spring/MyBatis understanding, cross-file reasoning, and full architecture comprehension are still major works in progress. The tool is far more useful today as a context compression + navigation tool than as a generic AI code intelligence platform.
Future Focus
Going forward, the project will concentrate on:
- Java/Spring monorepos specifically
- Semantic symbol graphs
- Impact analysis
- Working-tree awareness
Installation
Available via PyPI and npm:
pip install sourcecode==1.0.0
# or
npm install sourcecode-npmGitHub repo: HarounDominique/sourcecode
Who It's For
Developers using Claude with large Java/Spring monorepos who need to reduce context size while preserving navigability and key code structure.
📖 Read the full source: r/ClaudeAI
👀 See Also

120 Prompt Patterns Tested: 8 That Actually Work for Claude Code
A 3-month empirical test of 120 prompt patterns for Claude Code yields 8 actionable commands and 5 validation prompts. Key patterns: L99 (cuts hedging), /ghost (removes AI voice), OODA (structured reasoning), ULTRATHINK (deep reasoning), HARDMODE (constraint debugging).

Open-source Claude Skill structures B2B SaaS growth knowledge for consistent AI reasoning
A developer created an open-source Claude Skill that organizes $90M ARR partnership lessons, 1,800 user interviews, and 5 SaaS case studies into structured knowledge for Claude to reference, improving output quality for complex workflows like PMF validation and GTM planning.

OmniCoder-9B: 9B Parameter Coding Agent Fine-Tuned on 425K Agentic Trajectories
Tesslate released OmniCoder-9B, a 9-billion parameter coding agent model fine-tuned on Qwen3.5-9B's hybrid architecture. It was trained on 425,000+ curated agentic coding trajectories from Claude Opus 4.6, GPT-5.4, GPT-5.3-Codex, and Gemini 3.1 Pro.

Claude Code Rebuilt a SaaS Onboarding Flow in 6 Hours vs Developer's 3-Week Quote, Boosting Activation 13 Points
A SaaS founder used Claude Code to rebuild their entire onboarding flow (signup → profile → first invoice → dashboard tutorial) in 6 hours, replacing a developer's $4,500, 3-week estimate. Activation rate improved 13 points from 35% to 48%.