{"skill":{"slug":"secure-memory-stack","displayName":"secure-memory-stack","summary":"一个安全的本地化记忆系统，结合百度Embedding语义搜索、Git Notes结构化存储和文件系统，确保数据隐私和安全。","tags":{"latest":"1.0.0"},"stats":{"comments":1,"downloads":1942,"installsAllTime":1,"installsCurrent":1,"stars":3,"versions":1},"createdAt":1770121573358,"updatedAt":1777525146575},"latestVersion":{"version":"1.0.0","createdAt":1770121573358,"changelog":"---\nname: secure-memory-stack\nversion: 1.0.0\ndescription: A secure localized memory system integrating Baidu Embedding semantic search, Git Notes structured storage, and the file system to guarantee data privacy and security.\ntriggers:\n  - \"setup memory\"\n  - \"configure memory\"\n  - \"secure memory\"\n  - \"local memory\"\n  - \"privacy memory\"\nauthor: Clawdbot Team\n---\n\n# Secure Memory Stack\n\nA secure localized memory system integrating Baidu Embedding semantic search, Git Notes structured storage, and the file system to guarantee data privacy and security.\n\n## Features\n\n- ✅ **Fully Localized** - All data is stored on local devices\n- ✅ **Zero Data Upload** - No data is sent to any external services\n- ✅ **Semantic Search** - Semantic similarity search powered by Baidu Embedding\n- ✅ **Structured Storage** - Structured memory management provided by Git Notes\n- ✅ **File System** - Traditional file storage for easy management\n- ✅ **Hybrid Search** - Semantic + keyword + tag integrated search\n- ✅ **Privacy Protection** - Full data ownership and sovereignty\n\n## Quick Installation\n\n```bash\nclawdhub install secure-memory-stack\nOne-Click Initialization\nbash\n运行\n# Initialize the secure memory system\nbash /root/clawd/create/secure-memory-stack/scripts/setup.sh\nAPI Configuration Guide\nThe system will automatically detect and guide you to configure required API keys:\nBaidu Embedding API (optional)\nOther optional services\nUsage Guide\n1. System Initialization\nbash\n运行\n# First-time setup\nsecure-memory setup\n2. Check System Status\nbash\n运行\n# Check the status of the memory system\nsecure-memory status\n3. Add Memories\nbash\n运行\n# Add structured memories via Git Notes\nsecure-memory remember \"Critical Decision: Adopt a localized memory system\" --tags decision,security --importance high\n\n# Update MEMORY.md to add long-term memories\nsecure-memory add-longterm \"User Preference: Concise and efficient communication\"\n4. Search Memories\nbash\n运行\n# Semantic search\nsecure-memory search \"security configuration\"\n\n# Structured search by tags\nsecure-memory find --tag security\n\n# File-based search\nsecure-memory lookup \"user preferences\"\n5. System Maintenance\nbash\n运行\n# Check system health status\nsecure-memory health\n\n# View statistical information\nsecure-memory stats\nError Handling\nCommon Errors and Solutions\nError 1: \"Failed to connect to Baidu Embedding API\"\nSolution: Verify the configuration of your Baidu API key\nRun: secure-memory configure baidu\nError 2: \"Git Notes system unavailable\"\nSolution: Ensure Git is installed and configured correctly\nRun: secure-memory fix git\nError 3: \"File permission error\"\nSolution: Check workspace access permissions\nRun: secure-memory fix permissions\nError 4: \"No search results found\"\nSolution: Confirm that the index has been updated\nRun: secure-memory refresh\nConfiguration Files\nThe system will create configuration files at the following paths:\n/root/clawd/memory_config.json - Main configuration file\n/root/clawd/MEMORY.md - Long-term memory storage\n/root/clawd/SESSION-STATE.md - Session state records\n/root/clawd/memory/ - Daily logs\nDirectory Structure\nplaintext\n/root/clawd/\n├── MEMORY.md              # Long-term memories\n├── SESSION-STATE.md       # Active working memory\n├── memory/                # Daily logs\n│   ├── YYYY-MM-DD.md      # Daily memory logs\n│   └── ...                # Historical logs\n├── notes/                 # Knowledge organization\n│   ├── projects/          # Project records\n│   ├── areas/             # Domain-specific content\n│   ├── resources/         # Resource files\n│   └── archive/           # Archived content\n└── skills/secure-memory-stack/\n    ├── scripts/           # Management scripts\n    ├── configs/           # Configuration templates\n    └── docs/              # Documentation\nCommand Reference\nCore Commands\nsecure-memory setup - Initialize the system\nsecure-memory status - Check system status\nsecure-memory search <query> - Perform semantic search\nsecure-memory remember <content> - Add a new memory\nsecure-memory health - Run system health check\nsecure-memory configure <service> - Configure API for a service\nsecure-memory fix <component> - Repair a system component\nAdvanced Commands\nsecure-memory refresh - Refresh search indexes\nsecure-memory backup - Back up all memory data\nsecure-memory restore - Restore memory data from backup\nsecure-memory export - Export memory data\nsecure-memory stats - View system statistics\nSecurity Features\nLocal Storage: All data is stored exclusively on the local machine\nZero Upload: No data transmission to external services\nAccess Control: Restricted to local machine access only\nPrivacy Protection: Full user data sovereignty\nEncryption Support: Optional local data encryption\nTroubleshooting\nIf you encounter issues, run:\nbash\n运行\nsecure-memory diagnose\nThis will execute a full system diagnosis and provide targeted solutions.\nSystem Update\nbash\n运行\nclawdhub update secure-memory-stack\nSystem Uninstallation\nbash\n运行\nsecure-memory cleanup\nNote: This will delete all configuration files but will not remove your memory files.\nContribution\nIssues and Pull Requests are welcome to help improve this skill.\nplaintext\n---\n\n如果需要，我还可以帮你把这份文档调整为**更适合GitHub发布的README格式**，要不要我帮你优化一下？","license":null},"metadata":null,"owner":{"handle":"xqicxx","userId":"s174qrbs0vpdp5g7e1442kr90183q095","displayName":"xqicxx","image":"https://avatars.githubusercontent.com/u/70450296?v=4"},"moderation":{"isSuspicious":true,"isMalwareBlocked":false,"verdict":"suspicious","reasonCodes":["suspicious.llm_suspicious"],"summary":"Detected: suspicious.llm_suspicious","engineVersion":"v2.4.5","updatedAt":1777525146575}}