Super Claude Kit adds persistent memory to Claude Code.
A persistence layer for Claude Code.
Files, tasks, discoveries β all restored instantly.
curl -fsSL https://raw.githubusercontent.com/arpitnath/super-claude-kit/master/install | bash
Run the one-line installer:
curl -fsSL https://raw.githubusercontent.com/arpitnath/super-claude-kit/master/install | bashThat's it! Restart Claude Code and you'll see the context capsule on every session.
Manual installation (advanced)
# Clone the repository
git clone https://github.com/arpitnath/super-claude-kit.git
cd super-claude-kit
# Run the installer
bash installThe installer will:
- Install hooks to
.claude/hooks/ - Build Go tools (dependency-scanner, progressive-reader)
- Configure
~/.claude/settings.local.json - Auto-install Go 1.23+ if not present
After installation, Claude Code will:
- π§ Remember files you've accessed (no re-reads)
- π¦ Restore context between sessions (up to 24 hours)
- β Track tasks across restarts
- π Log discoveries as you work
- π Understand dependencies in your codebase
Super Claude Kit uses hooks (SessionStart, UserPromptSubmit) to:
- Capture context as you work (file access, tasks, git state)
- Store in capsule (
.claude/capsule.json) - Restore on restart (automatic, zero manual input)
No configuration needed. It just works.
Stop wasting tokens on re-reads.
Vanilla Claude Code re-reads files on every question. Super Claude Kit tracks what's been read and references from memory.
βββββββββββββββββββββββββββββββββββββββββββββ
π¦ CONTEXT CAPSULE
βββββββββββββββββββββββββββββββββββββββββββββ
πΏ Git State:
Branch: feat/oauth (2 commits ahead)
π Files in Context:
β’ auth/OAuthController.ts (read 2h ago)
β’ config/google.ts (edited 1h ago)
β’ routes/auth.ts (read 2h ago)
π Discoveries:
β’ Google OAuth requires state parameter
β’ Token stored in httpOnly cookie
β
Current Tasks:
β‘ Implementing OAuth callback handler
β Controller setup complete
β Google provider config added
π‘ Previous session: 2 hours ago
βββββββββββββββββββββββββββββββββββββββββββββ
See exactly what Claude remembers. Every session start shows your capsule with:
- Git branch and commit status
- Files accessed with timestamps
- Discoveries logged during work
- Active and completed tasks
- Time since last session
The capsule uses TOON format for 52% token reduction compared to JSON.
Know what breaks before you break it.
Built-in dependency scanner analyzes your codebase:
# Query what files import this file
.claude/tools/query-deps/query-deps.sh src/auth.ts
# Analyze impact of changing a file
.claude/tools/impact-analysis/impact-analysis.sh src/database.ts
# Find circular dependencies
.claude/tools/find-circular/find-circular.sh
# Identify unused files
.claude/tools/find-dead-code/find-dead-code.sh- 1,000 files scanned in <5 seconds
- 10,000 files scanned in <30 seconds
- Supports TypeScript, JavaScript, Python, Go
Read large files (>50KB) in semantic chunks using tree-sitter AST parsing.
# Read first chunk of a large file
progressive-reader --path src/large-file.ts
# List all chunks without content (preview)
progressive-reader --list --path src/large-file.ts
# Read specific chunk by index
progressive-reader --chunk 2 --path src/large-file.ts
# Continue from previous read (uses TOON token)
progressive-reader --continue-file /tmp/continue.toonSupported languages: TypeScript, JavaScript, Python, Go
When to use:
- Files > 50KB that would consume too much context
- Reading sub-agent outputs progressively
- Large codebase exploration with minimal context usage
Analyzes code structure and relationships using tree-sitter AST parsing.
# Build dependency graph
~/.claude/bin/dependency-scanner --path . --output .claude/dep-graph.toonFeatures:
- Import/export tracking
- Circular dependency detection (Tarjan's algorithm)
- Impact analysis
- Dead code identification
Production-safe, read-only agents for common development tasks:
- architecture-explorer - Understand service boundaries and data flows
- database-navigator - Explore schemas, migrations, and relationships
- agent-developer - Build and debug AI agents with MCP integration
- github-issue-tracker - Create well-formatted issues from discoveries
All agents are sandboxed and require explicit permission for write operations.
- Getting Started
- Usage Guide
- Tools
- Architecture
- Advanced
- Reference
- Claude Code (Desktop CLI or VSCode extension)
- macOS or Linux (Windows WSL supported)
- Go 1.23+ (auto-installed if not present)
- Bash 4.0+
Optional (for enhanced features):
- Git - Provides branch tracking and git-aware change detection
- Without git: Uses file modification time for change detection
- All core features work without git
After installation, verify everything works:
# Run comprehensive tests
bash .claude/scripts/test-super-claude.sh
# View current stats
bash .claude/scripts/show-stats.sh
# Check installed tools
~/.claude/bin/dependency-scanner --version
~/.claude/bin/progressive-reader --versionExpected output:
β
Super Claude Kit v1.0.0
β
dependency-scanner v1.0.0
β
progressive-reader v1.0.0
β
All hooks configured
β
All tests passed
bash .claude/scripts/update-super-claude.shInstall latest development version:
bash .claude/scripts/update-super-claude.sh --dev.claude/settings.local.json
{
"permissions": {
"allow": [
"Bash(git add:*)",
"Bash(git commit:*)",
"Bash(~/.claude/bin/dependency-scanner:*)",
"Bash(progressive-reader:*)"
]
},
"hooks": {
"SessionStart": ["bash .claude/hooks/session-start.sh"],
"UserPromptSubmit": ["bash .claude/hooks/pre-task-analysis.sh"]
}
}- Custom hooks - Add to
hooks/directory - Custom tools - Add to
tools/directory - Specialized agents - Add to
agents/directory - Reusable skills - Add to
skills/directory
See Configuration Guide for details.
# Verify settings
cat .claude/settings.local.json
# Test hook manually
bash .claude/hooks/session-start.sh# Force refresh
rm .claude/last_refresh_state.txt
# Check logs
tail -f .claude/hooks.log# Verify scanner installation
ls -la ~/.claude/bin/dependency-scanner
# Rebuild manually
~/.claude/bin/dependency-scanner --path . --output .claude/dep-graph.toonEnable verbose logging:
CLAUDE_DEBUG_HOOKS=true claudeFor more issues, see FAQ or open an issue.
| Operation | Performance | Details |
|---|---|---|
| Context Refresh | <100ms | Smart change detection |
| Graph Building | 1000 files in <5s | Parallel parsing |
| Large Project | 10000 files in <30s | Incremental updates |
| Token Efficiency | ~52% reduction | TOON vs JSON and avoids re-reads |
cd super-claude-kit
bash uninstallRemoves hooks, tools, and configuration. Your .claude/ data logs are preserved in .claude/backup/.
Contributions are welcome! Please follow these guidelines:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit changes with clear messages
- Push to branch (
git push origin feature/amazing-feature) - Open a pull request
See CONTRIBUTING.md for detailed guidelines.
git clone https://github.com/arpitnath/super-claude-kit.git
cd super-claude-kit
bash installbash .claude/scripts/test-super-claude.shThis repository is licensed under the MIT License.
Copyright (c) 2025 Arpit Nath
- Anthropic - Claude and Claude Code
- TOON Format - Token-Oriented Object Notation
- Tree-sitter - Incremental parsing system
If you found Super Claude Kit useful, please star the repo! β
Never re-explain yourself to Claude. Ever.
Report Bug Β·
Request Feature Β·
GitHub Β·
LinkedIn



