Troubleshooting
Common issues and solutions for Klip.
Sessions Not Appearing
Check Session Directories
Verify session files exist in expected locations:
| Agent | Location |
|---|---|
| Claude | ~/.claude/projects/ |
| Codex | ~/.codex/sessions/ |
| Gemini | ~/.gemini/tmp/ |
Check Additional Paths
If using custom paths, verify they're configured:
- Open Dashboard > Settings > Paths & Discovery
- Check
klip.additionalSessionPaths
Force Refresh
- Command:
Klip: Force Refresh Sessions (Clear Cache)(klip.clearSessionCache)
This clears cached data and re-scans all session directories.
Check Extension Logs
- Open Output panel (
Ctrl+Shift+U) - Select "Klip" from dropdown
- Look for errors during session discovery
Resume Fails
CLI Not Found
Ensure the agent CLI is installed and in your PATH:
# Check CLI availability
claude --version
codex --version
gemini --version
CLI Not Authenticated
Sign in to each CLI:
claude login
codex login
gemini auth
Session File Missing
The session file may have been deleted. Check if it exists:
- Right-click session > Open Session File
- If file not found, the session cannot be resumed
Shell Configuration
Try a different shell:
- Open Dashboard > Settings > Terminal
- Change
klip.preferredShell(auto, wsl, bash, zsh, pwsh)
Daemon Issues
Daemon Not Starting
Check if the daemon is running:
kp status
If not running, check logs at ~/.klip/logs/daemon.log
Daemon Won't Stop
Force kill the daemon:
kp shutdown --force
Port Conflict
The daemon uses port 19850 by default. If another process is using it:
- Stop the conflicting process
- Or change the port in settings
Restart Daemon
- Command:
Klip: Restart Daemon(klip.restartDaemon)
Summary Generation Fails
No API Key
Configure a Gemini API key:
- Run:
Klip: Configure Gemini API Key - Enter your key from Google AI Studio
- Restart daemon when prompted
Rate Limits
If using Gemini's free tier, you may hit rate limits. Solutions:
- Wait and retry
- Reduce
klip.summary.full.context.maxContextMessages - Use Claude models instead (requires
claude login)
Wrong Model Selected
Check klip.defaultSummaryModel matches your available API keys:
gemini-*models need Gemini API keyclaude-*models need Claude CLI auth
Semantic Search Not Working
No Embeddings Provider
Configure an embedding provider:
- Set
klip.ai.embeddingProvidertogeminioropenai - Configure the corresponding API key
- Restart daemon
Wrong Vector Dimensions
Switching providers requires re-indexing:
- Command:
Klip: Force Refresh Sessions (Clear Cache)
OpenAI uses 1536 dimensions, Gemini uses 768.
MCP Issues
Server Won't Start
Check the server configuration:
- Open Dashboard > MCP tab
- Verify command and args are correct
- Check environment variables
Server Crashes
View server logs:
- Open Dashboard > Developer > View Logs
- Check
~/.klip/logs/for MCP-related errors
Performance Issues
Slow Session Loading
- Reduce
klip.daysBackto limit how far back sessions are scanned - Archive old sessions you don't need
- Clear cache:
klip.clearSessionCache
High Memory Usage
The daemon may accumulate memory over time:
- Restart daemon:
klip.restartDaemon - Reduce embedding scope if indexing many sessions
Extension Host Lag
If VS Code becomes sluggish:
- Check Output panel for errors
- Disable unused features in settings
- Restart VS Code
Database Issues
Corrupt Database
If you see SQLite errors:
- Stop the daemon:
kp shutdown - Backup database:
cp ~/.klip/klip.db ~/.klip/klip.db.backup - Delete database:
rm ~/.klip/klip.db* - Restart Klip (database will be recreated)
This deletes summaries, tags, and embeddings. Session files are preserved.
Database Locked
If you see "database locked" errors:
- Ensure only one daemon instance is running
- Restart the daemon
Getting More Help
If these steps don't resolve your issue:
- Run
Klip: Diagnose Environmentfor a full system check - Check extension logs in Output panel
- Submit feedback:
Klip: Open Feedback
See Support for contact options.