Enterprise-Grade Code Anonymization & Extraction for VS Code
Repo Cloak is a sophisticated VS Code extension engineered to safely bridge the gap between proprietary enterprise codebases and AI coding assistants. By selectively extracting, anonymizing, and creating a unified "cloaked" workspace, Repo Cloak allows you to leverage powerful AI tools (like Copilot, Cursor, or ChatGPT) while maintaining strict data privacy and security.
Extraction: Code is selectively pulled from one or more source repositories. Sensitive terminology and secrets are intercepted and anonymized.
Collaboration: You and your AI assistant work freely within the secure, cloaked workspace, shielded from proprietary specifics.
Restoration: Once the work is complete, Repo Cloak seamlessly translates the anonymized code back to its original state and pushes it to the source repositories.
Key Capabilities
Multi-Source Aggregation: Seamlessly pull components from disparate repositories (e.g., frontend, backend, microservices) into a single, cohesive cloaked environment.
Intelligent Anonymization: Automatically redact and replace sensitive nomenclature (e.g., transforming AcmeCorp to ClientA). The engine natively respects and preserves casing variants (camelCase, PascalCase, kebab-case) and flawlessly reverses them upon restoration.
Git-Aware Extraction: Bypass manual file selection by utilizing Pull from Git Changes, which intelligently targets uncommitted files or those modified in recent commits.
Frictionless Synchronization: Execute silent, automated syncs between your source repositories and the cloak using the Force Pull and Force Push macros.
Context Generation: Automatically compile essential system prompts (AGENTS.md) within the cloaked workspace, providing AI assistants with the precise context needed to navigate your architecture.
Getting Started
Initialize: Open a pristine, empty folder in VS Code to serve as your "cloak".
Extract: Access the Repo Cloak Dashboard via the Activity Bar (shield icon $(shield)). Select a source repository, utilize the native Tree View to pinpoint required files, and configure any necessary keyword anonymizations.
Collaborate: Engage your preferred AI assistant within the secure confines of the cloaked workspace.
Restore: Upon completion, execute a Push to seamlessly reintegrate the modified, de-anonymized files back into their native repositories.
Uncompromising Security
Privacy is foundational to Repo Cloak. Your code never leaves your local environment or organization boundaries. All operations run natively within your VS Code instance. Crucially, mapping configurations (.repo-cloak-map.json)—which contain the blueprint of your original file paths and semantic replacements—are heavily encrypted via AES-256-GCM before persisting to disk.