How ayushdixit1-av/cloakllm works
CloakLLM is a local credential firewall for Claude Code. Its user workflow begins with CLI commands to audit or scrub existing transcripts and harden Claude settings, then runs Claude Code through a local proxy that cloaks outbound requests and rehydrates inbound streams. The README also documents OpenAI-compatible routes and live status counters. Audit, scrub, and harden implementation details were not sampled, so those links rely on README statements; source-level evidence is limited to the proxy and stream excerpts and their indexed imports.
Main entry points: proxy.py Local proxy · cli.py CLI commands · audit.py Transcript audit · stream.py SSE rehydrator
Components 15
CLI and local safeguards
- CLI commands
cloakllm/cli.py - Transcript audit
cloakllm/audit.py - Transcript scrub
cloakllm/audit.py - Settings hardening
cloakllm/cli.py
Live proxy
- Local proxy
cloakllm/proxy.py - SSE rehydrator
cloakllm/stream.py
Secret handling
- Secret vault
cloakllm/secrets.py
Local state and services
- Proxy event log
cloakllm/proxy.py - Live status
cloakllm/cli.py
Other components
- Developer
- Claude Code
- Project env files
- Claude transcripts
- Claude settings
- Anthropic API
Connections 19
- Developer → CLI commands: runs commands
README.md - CLI commands → Transcript audit: runs audit
README.md - CLI commands → Transcript scrub: runs scrub
README.md - CLI commands → Settings hardening: runs harden
README.md - Transcript audit → Claude transcripts: scans
README.md - Transcript audit → Project env files: indexes secrets
README.md - Transcript scrub → Claude transcripts: redacts in place
README.md - Settings hardening → Claude settings: injects deny rules
README.md - Developer → CLI commands: starts proxy run
README.md - CLI commands → Local proxy: launches proxy
README.md - Claude Code → Local proxy: sends requests
README.md - Local proxy → Claude Code: returns rehydrated stream
README.md - Local proxy → Anthropic API: forwards cloaked requests
README.md - Local proxy → Secret vault: cloaks payloads
cloakllm/proxy.py - Local proxy → SSE rehydrator: rehydrates SSE
README.md - SSE rehydrator → Secret vault: resolves tokens
cloakllm/stream.py - Local proxy → Proxy event log: writes events
cloakllm/proxy.py - Developer → Live status: checks counters
README.md - Live status → Local proxy: inspects counters
README.md