π¦ ClawHub
Nirvana Skill
by @shivaclaw
Privacy-preserving context stripper for OpenClaw. Strip SOUL/USER/MEMORY before cloud API calls. Assumes you have your own local LLM. Saves 85%+ tokens, prot...
β‘ When to Use
βοΈ Configuration
Basic Setup
Edit ~/.openclaw/workspace/openclaw.json:
{
"plugins": {
"nirvana-local": {
"enabled": true,
"local_llm": {
"endpoint": "http://localhost:11434",
"model": "qwen2.5:7b",
"timeout_ms": 180000,
"api_format": "openai-compatible"
},
"privacy": {
"strip_soul": true,
"strip_user": true,
"strip_memory": true,
"strip_chat_history": true,
"audit_logging": true
},
"routing": {
"local_threshold": 0.75,
"max_local_context_tokens": 8000,
"cloud_fallback": true
}
}
}
}
Custom API Format
If your local LLM uses a different API:
{
"plugins": {
"nirvana-local": {
"local_llm": {
"endpoint": "http://your-server:5000",
"model": "your-model",
"api_format": "custom",
"custom_api_handler": "llamafile" // or "vllm", "lm-studio", etc.
}
}
}
}
TERMINAL
clawhub install project-nirvana-skill