Performance and Advanced Settings
Fine-tune SystemSculpt for your device, debug issues, and unlock power-user features
Performance optimization (2 minutes)
Quick performance check
- Enable monitor: Advanced → Show Performance Indicator ✓
- See metrics: Status bar shows memory & lag
- Too slow? Try these fixes:
Issue | Quick fix | Details |
---|---|---|
High memory | Disable embeddings temporarily | Saves 200-500MB |
Slow chats | Use smaller models | Smaller models vs larger models |
Lag on mobile | Turn off auto-processing | Settings → Embeddings |
Startup slow | Disable unused features | Each saves 1-2 seconds |
Advanced settings overview
Developer tools
Debug mode - See everything:
Development Mode: ON
→ Console shows:
- API calls & responses
- Performance timing
- Error details
- Memory usage
When to enable:
- Troubleshooting issues
- Reporting bugs
- Optimizing performance
- Custom development
Embeddings performance
For large vaults (1000+ notes):
Setting | Default | Large vault | Huge vault |
---|---|---|---|
Batch size | 16 | 8 | 4 |
Auto-process | ON | OFF | OFF |
Mobile | OFF | OFF | OFF |
Processing tips:
- Run overnight for initial processing
- Close other apps during processing
- Use "Process" button manually for updates
MCP tools optimization
Tool permissions for speed:
Tool | Safe to auto-approve | Impact |
---|---|---|
find_files | ✓ Yes | None |
grep_vault | ✓ Yes | Minimal |
read_files | Maybe | Low |
write_file | ❌ No | None |
Auto-approve safe tools = Faster workflows
Device-specific settings
Desktop optimization
High-performance setup:
YamlDevelopment Mode: OFF (unless debugging) Performance Monitor: OFF (saves resources) Embeddings Batch: 32 Default Model: Balance speed/quality
Resource-constrained:
YamlEmbeddings: Disabled or manual only Default Model: Fast/efficient models Auto-processing: OFF Limit context window: 25%
Mobile settings
iOS/Android optimization:
- Embeddings: OFF
- Batch size: 4-8 max
- Auto-process: Never
- Font size: Medium/Large
- Simplified UI: ON
Why different?
- Limited memory (400-512MB)
- Battery preservation
- Thermal management
- Background limits
Platform detection
View your device info:
Advanced → Device Information
Shows:
- Platform & version
- Memory available
- CPU cores
- Screen size
- Browser capabilities
Use this to:
- Verify feature support
- Share with support
- Optimize settings
- Understand limits
Troubleshooting tools
Debug console
Access developer console:
- Windows/Linux:
Ctrl + Shift + I
- Mac:
Cmd + Option + I
- Filter by:
[SystemSculpt]
What to look for:
Javascript[SystemSculpt] API call: POST /chat/completions [SystemSculpt] Response time: 1.2s [SystemSculpt] Memory usage: 245MB [SystemSculpt] Error: Connection timeout
Export logs
For support tickets:
Advanced → Copy Logs for Support
→ Automatically redacts sensitive data
→ Includes last 1000 entries
→ Paste in Discord/email
Reset options
Three reset levels:
Reset type | What it does | When to use |
---|---|---|
Clear cache | Remove temporary data | First try |
Restore backup | Load previous settings | Undo changes |
Factory reset | Complete fresh start | Major issues |
Hidden settings
In data.json
Location: .obsidian/plugins/systemsculpt-ai/data.json
Adjustable values:
Json{ "contextWindowPercentage": 25, "maxVaultEntries": 300, "embeddingsBatchSize": 16, "performanceMonitoring": false, "debugLevel": "info" }
Context window
What it controls: How much model context to use
- Default: 25%
- Higher = More context but higher cost
- Lower = Cheaper but less context
Adjust for:
- Long conversations: Increase to 50%
- Cost saving: Decrease to 10%
- Large contexts: Keep at 25%
Vault directory limits
maxVaultEntries: How many files to include in vault context
- Default: 300
- Large vaults: Reduce to 100
- Focused work: Increase to 500
Performance monitoring
Built-in metrics
Status bar shows:
- Memory: Current usage in MB
- Lag: Response delay in ms
- Updates: Every 3 seconds
What's normal?
- Memory: 200-500MB
- Lag: <100ms
- Spikes: During processing
Finding bottlenecks
Common culprits:
Symptom | Likely cause | Fix |
---|---|---|
Startup slow | Many plugins | Disable unused |
Chat lag | Large model | Use smaller |
Memory spike | Embeddings | Process in batches |
Freezing | Too many files | Increase limits |
Performance tips
General optimization:
- Close unused panes
- Archive old chats
- Limit plugin count
- Use local models for tests
- Clear cache monthly
Backup system
Automatic backups
What's backed up:
- All settings
- Custom providers
- API keys (encrypted)
- Favorites
- Directory configs
Schedule:
- Daily at midnight
- Last 7 kept
- Before major changes
Manual backup
Export settings:
Advanced → Backup Settings
→ Save to safe location
→ Name with date
Restore process:
Advanced → Restore Backup
→ Select backup file
→ Review changes
→ Confirm restore
Power user features
Custom integrations
Access plugin API:
Javascript// In console or custom plugin const systemsculpt = app.plugins.plugins['systemsculpt-ai']; const api = systemsculpt.api; // Use API methods await api.chat.send("Hello");
Event hooks
Available events:
chat-created
message-sent
response-received
model-changed
file-processed
Batch operations
Process multiple files:
Javascript// Via console const files = app.vault.getMarkdownFiles(); for (const file of files.slice(0, 10)) { await processWithAI(file); }
Security considerations
API key safety
Best practices:
- Never commit to git
- Use environment variables
- Rotate regularly
- Monitor usage
- Revoke if compromised
Vault security
When using MCP tools:
- Review actions in chat
- Don't auto-approve writes
- Exclude sensitive folders
- Backup before bulk operations
Privacy settings
Minimize data sharing:
- Use local models when possible
- Disable telemetry
- Clear logs regularly
- Review provider policies
Common scenarios
Research setup
YamlEmbeddings: Enabled Batch size: 16 Context window: 40% Debug: OFF Default model: Balanced performance model
Development setup
YamlDebug mode: ON Performance monitor: ON All tools: Enabled Console logging: Verbose Default model: Advanced model
Privacy setup
YamlProvider: Ollama only Embeddings: Local (when available) No cloud providers No auto-processing Logs: Disabled
Getting help
Diagnostic steps
- Enable debug mode
- Reproduce issue
- Check console (Ctrl/Cmd + Shift + I)
- Copy relevant logs
- Disable debug mode
Support resources
- Discord: Real-time help
- GitHub: Bug reports
- Logs: Advanced → Copy for Support
- Device info: Share for platform issues
⚡ Remember: Default settings work for most users. Only tune if you have specific needs!