{
  "schemaVersion": "1.0",
  "item": {
    "slug": "memory-compression-system",
    "name": "memory-compression-system",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/Hassffw/memory-compression-system",
    "canonicalUrl": "https://clawhub.ai/Hassffw/memory-compression-system",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/memory-compression-system",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=memory-compression-system",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "scripts/enable.sh",
      "scripts/health.sh",
      "scripts/install.sh",
      "scripts/compress.sh",
      "scripts/status.sh"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "slug": "memory-compression-system",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-12T08:31:26.708Z",
      "expiresAt": "2026-05-19T08:31:26.708Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=memory-compression-system",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=memory-compression-system",
        "contentDisposition": "attachment; filename=\"memory-compression-system-3.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "memory-compression-system"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/memory-compression-system"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/memory-compression-system",
    "agentPageUrl": "https://openagent3.xyz/skills/memory-compression-system/agent",
    "manifestUrl": "https://openagent3.xyz/skills/memory-compression-system/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/memory-compression-system/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Memory Compression System v3.0",
        "body": "Integrated memory management and extreme context compression for OpenClaw. Combines the best features of memory management and extreme compression into a single, streamlined skill with automatic scheduling."
      },
      {
        "title": "Quick Start",
        "body": "# Install skill\nopenclaw skill install memory-compression-system\n\n# Enable automatic compression (runs every 6 hours)\nscripts/enable.sh\n\n# Check status\nscripts/status.sh\n\n# Manual compression\nscripts/compress.sh --format ultra\n\n# Search memory\nscripts/search.sh \"keyword\""
      },
      {
        "title": "1. Integrated Memory Management",
        "body": "Automatic compression: Every 6 hours (00:00, 06:00, 12:00, 18:00 UTC)\nSmart cleanup: Daily cleanup of old files\nSearch functionality: Unified search across all memory files\nBackup system: Automatic backups before compression"
      },
      {
        "title": "2. Three Compression Formats",
        "body": "Base64 Compact (B64C): Universal compatibility, ~40% reduction\nCustom Binary (CBIN): Optimized binary, ~70% reduction\nUltra Compact (UCMP): Extreme compression, ~85% reduction, target ~150 tokens"
      },
      {
        "title": "3. Automated Scheduling",
        "body": "Single cron job: No overlapping schedules\nConfigurable: Adjust frequency and timing\nReliable: Built-in error recovery and logging\nEfficient: Minimal resource usage"
      },
      {
        "title": "4. Search & Retrieval",
        "body": "Unified search: Across all memory formats\nFast indexing: Real-time search updates\nContext aware: Understands compressed formats\nExport options: Search results in multiple formats"
      },
      {
        "title": "5. ClawHub Ready",
        "body": "Standard structure: Compatible with ClawHub\nEasy installation: One-command setup\nHealth checks: Built-in monitoring\nDocumentation: Comprehensive guides"
      },
      {
        "title": "Via ClawHub (Recommended)",
        "body": "openclaw skill search memory-compression-system\nopenclaw skill install memory-compression-system"
      },
      {
        "title": "Manual Installation",
        "body": "cd /home/node/.openclaw/workspace/skills\ngit clone [repository-url] memory-compression-system\ncd memory-compression-system\nscripts/install.sh"
      },
      {
        "title": "Basic Operations",
        "body": "# Enable automatic compression\nscripts/enable.sh\n\n# Disable automatic compression  \nscripts/disable.sh\n\n# Check system status\nscripts/status.sh\n\n# Run health check\nscripts/health.sh"
      },
      {
        "title": "Compression Operations",
        "body": "# Compress with auto format selection\nscripts/compress.sh\n\n# Compress to specific format\nscripts/compress.sh --format base64\nscripts/compress.sh --format binary\nscripts/compress.sh --format ultra\n\n# Decompress files\nscripts/decompress.sh [filename]\n\n# List compressed files\nscripts/list.sh"
      },
      {
        "title": "Search Operations",
        "body": "# Search across all memory\nscripts/search.sh \"keyword\"\n\n# Search with filters\nscripts/search.sh \"keyword\" --format ultra --date 2026-02-15\n\n# Export search results\nscripts/search.sh \"keyword\" --export json\n\n# View search history\nscripts/search-history.sh"
      },
      {
        "title": "Management Operations",
        "body": "# Cleanup old files\nscripts/cleanup.sh --days 30\n\n# Backup system\nscripts/backup.sh\n\n# Restore from backup\nscripts/restore.sh [backup-file]\n\n# View logs\nscripts/logs.sh\n\n# Performance metrics\nscripts/metrics.sh"
      },
      {
        "title": "Main Configuration File",
        "body": "Edit config/default.conf:\n\n# Compression settings\nCOMPRESSION_ENABLED=true\nDEFAULT_FORMAT=ultra\nRETENTION_DAYS=30\nMAX_COMPRESSED_FILES=100\n\n# Cron schedule (UTC)\nCRON_SCHEDULE=\"0 */6 * * *\"  # Every 6 hours\nCLEANUP_SCHEDULE=\"0 4 * * *\" # Daily at 04:00\n\n# Search settings\nSEARCH_ENABLED=true\nSEARCH_INDEX_AUTO_UPDATE=true\nSEARCH_HISTORY_SIZE=1000\n\n# Performance settings\nMAX_MEMORY_MB=100\nMAX_PROCESSING_TIME_SEC=300"
      },
      {
        "title": "Environment Variables",
        "body": "export MEMORY_COMPRESSION_DEBUG=1  # Enable debug mode\nexport MEMORY_COMPRESSION_QUIET=0  # Disable quiet mode\nexport MEMORY_COMPRESSION_TEST=0   # Enable test mode"
      },
      {
        "title": "Format 1: Base64 Compact (B64C)",
        "body": "VERSION:3.0\nFORMAT:B64C\nTIMESTAMP:2026-02-15T14:55:00Z\nSIZE:1024\nCHECKSUM:crc32\nDATA:<base64_encoded>\n\nFeatures:\n\nHuman readable\nEasy debugging\nUniversal compatibility\nCRC32 integrity check"
      },
      {
        "title": "Format 2: Custom Binary (CBIN)",
        "body": "[Magic:CBIN][Version:3][Flags:1][Size:4][Dictionary:var][Data:var][Checksum:2]\n\nFeatures:\n\nOptimized binary format\nShared string dictionary\nHuffman encoding\nCRC16 integrity check"
      },
      {
        "title": "Format 3: Ultra Compact (UCMP)",
        "body": "Target: ~150 tokens for complete context\n\nFeatures:\n\nExtreme compression (~85% reduction)\n3-letter abbreviations\nBit packing\nDelta encoding\nString interning"
      },
      {
        "title": "Compression Schedule",
        "body": "Every 6 hours: 00:00, 06:00, 12:00, 18:00 UTC\nOperations:\n\nBackup current memory\nCompress with optimal format\nUpdate search index\nCleanup old files\nLog results"
      },
      {
        "title": "Cleanup Schedule",
        "body": "Daily at 04:00 UTC\nOperations:\n\nRemove files older than RETENTION_DAYS\nArchive logs\nOptimize search index\nUpdate statistics"
      },
      {
        "title": "Health Check Schedule",
        "body": "Integrated with OpenClaw health checks\nOperations:\n\nCheck compression status\nVerify file integrity\nMonitor resource usage\nReport issues"
      },
      {
        "title": "Search Index",
        "body": "Real-time updates: Index updates after each compression\nMultiple formats: Searches across all compression formats\nFast retrieval: Optimized for speed\nContext aware: Understands compressed content"
      },
      {
        "title": "Search Features",
        "body": "# Basic search\nscripts/search.sh \"compression\"\n\n# Advanced search\nscripts/search.sh \"compression ratio\" --format ultra --after 2026-02-01\n\n# Export results\nscripts/search.sh \"test\" --export csv --output results.csv\n\n# Search history\nscripts/search.sh --history"
      },
      {
        "title": "Search Index Structure",
        "body": "{\n  \"version\": \"3.0\",\n  \"last_updated\": \"2026-02-15T18:00:00Z\",\n  \"files\": [\n    {\n      \"filename\": \"memory_20260215_180000.ultra\",\n      \"format\": \"ultra\",\n      \"size\": 256,\n      \"original_size\": 1024,\n      \"ratio\": 0.25,\n      \"keywords\": [\"compression\", \"memory\", \"test\"],\n      \"timestamp\": \"2026-02-15T18:00:00Z\"\n    }\n  ]\n}"
      },
      {
        "title": "Automatic Recovery",
        "body": "Backup system: Automatic backups before operations\nTransaction logs: All operations logged\nRollback capability: Automatic rollback on failure\nError notifications: Alerts for critical issues"
      },
      {
        "title": "Manual Recovery",
        "body": "# Check error logs\nscripts/logs.sh --error\n\n# Restore from backup\nscripts/restore.sh latest\n\n# Repair search index\nscripts/repair-index.sh\n\n# Reset system\nscripts/reset.sh --safe"
      },
      {
        "title": "Common Issues & Solutions",
        "body": "Issue: Compression fails\nSolution: Check disk space and run scripts/repair.sh\n\nIssue: Search not working\nSolution: Rebuild index with scripts/rebuild-index.sh\n\nIssue: Cron job not running\nSolution: Check with scripts/status.sh --cron\n\nIssue: Performance degradation\nSolution: Run scripts/cleanup.sh --aggressive"
      },
      {
        "title": "Log Files",
        "body": "logs/compression.log: Compression operations\nlogs/search.log: Search operations\nlogs/error.log: Error messages\nlogs/performance.log: Performance metrics\nlogs/cron.log: Cron job execution"
      },
      {
        "title": "Status Monitoring",
        "body": "# Basic status\nscripts/status.sh\n\n# Detailed health check\nscripts/health.sh\n\n# Performance metrics\nscripts/metrics.sh\n\n# System information\nscripts/info.sh"
      },
      {
        "title": "Alert System",
        "body": "Email alerts: For critical errors (if configured)\nTelegram notifications: For important events\nLog monitoring: Automatic log analysis\nPerformance alerts: For resource issues"
      },
      {
        "title": "Test Suite",
        "body": "cd test\n./run-tests.sh"
      },
      {
        "title": "Test Coverage",
        "body": "Unit tests: Format encoding/decoding\nIntegration tests: Full system integration\nPerformance tests: Speed and memory usage\nError tests: Failure scenarios\nCron tests: Automatic scheduling"
      },
      {
        "title": "Manual Testing",
        "body": "# Test compression\nscripts/test-compression.sh\n\n# Test search\nscripts/test-search.sh\n\n# Test cron job\nscripts/test-cron.sh\n\n# Test error handling\nscripts/test-errors.sh"
      },
      {
        "title": "Compression Performance",
        "body": "Base64: < 50ms for 10KB\nBinary: < 100ms for 10KB\nUltra: < 200ms for 10KB\nTarget ratio: 75-90% reduction"
      },
      {
        "title": "Search Performance",
        "body": "Indexing: < 100ms per file\nSearch: < 50ms for 1000 files\nMemory: < 10MB for index\nUpdates: Real-time"
      },
      {
        "title": "Resource Usage",
        "body": "CPU: Minimal impact\nMemory: < 50MB peak\nDisk: Configurable retention\nNetwork: Local only"
      },
      {
        "title": "Update Procedure",
        "body": "# Update via ClawHub\nopenclaw skill update memory-compression-system\n\n# Manual update\nscripts/update.sh\n\n# Check for updates\nscripts/check-updates.sh"
      },
      {
        "title": "Backup Recommendations",
        "body": "Regular backups: Weekly backups of data/ directory\nExport search index: Monthly export of search index\nArchive logs: Monthly log archiving\nConfiguration backup: Backup config/ after changes"
      },
      {
        "title": "Version History",
        "body": "3.0.0: Integrated memory-compression-system (current)\n2.0.0: Extreme context compression skill\n1.0.0: Memory manager skill"
      },
      {
        "title": "Development Setup",
        "body": "# Clone repository\ngit clone [repo-url]\n\n# Install dependencies\nnpm install\n\n# Run tests\nnpm test\n\n# Build package\nnpm run build"
      },
      {
        "title": "Code Standards",
        "body": "Bash scripts: Follow Google Bash Style Guide\nJavaScript: Follow Standard JS style\nDocumentation: Keep SKILL.md updated\nTesting: Add tests for new features"
      },
      {
        "title": "Pull Request Process",
        "body": "Fork the repository\nCreate feature branch\nAdd tests for new functionality\nUpdate documentation\nSubmit pull request"
      },
      {
        "title": "Documentation",
        "body": "SKILL.md: This file\nREADME.md: User documentation\nexamples/: Usage examples\ntest/: Test examples"
      },
      {
        "title": "Troubleshooting",
        "body": "Check logs/ directory\nRun scripts/diagnose.sh\nReview examples/troubleshooting.md\nContact maintainer if needed"
      },
      {
        "title": "Community",
        "body": "ClawHub: Skill repository\nDiscord: OpenClaw community\nGitHub: Issue tracker\nDocumentation: OpenClaw docs"
      },
      {
        "title": "License",
        "body": "MIT License - See LICENSE file for details.\n\nNote: This skill is designed for OpenClaw context optimization. Always maintain backups of important data and test in a safe environment before production use."
      }
    ],
    "body": "Memory Compression System v3.0\n\nIntegrated memory management and extreme context compression for OpenClaw. Combines the best features of memory management and extreme compression into a single, streamlined skill with automatic scheduling.\n\nQuick Start\n# Install skill\nopenclaw skill install memory-compression-system\n\n# Enable automatic compression (runs every 6 hours)\nscripts/enable.sh\n\n# Check status\nscripts/status.sh\n\n# Manual compression\nscripts/compress.sh --format ultra\n\n# Search memory\nscripts/search.sh \"keyword\"\n\nFeatures\n1. Integrated Memory Management\nAutomatic compression: Every 6 hours (00:00, 06:00, 12:00, 18:00 UTC)\nSmart cleanup: Daily cleanup of old files\nSearch functionality: Unified search across all memory files\nBackup system: Automatic backups before compression\n2. Three Compression Formats\nBase64 Compact (B64C): Universal compatibility, ~40% reduction\nCustom Binary (CBIN): Optimized binary, ~70% reduction\nUltra Compact (UCMP): Extreme compression, ~85% reduction, target ~150 tokens\n3. Automated Scheduling\nSingle cron job: No overlapping schedules\nConfigurable: Adjust frequency and timing\nReliable: Built-in error recovery and logging\nEfficient: Minimal resource usage\n4. Search & Retrieval\nUnified search: Across all memory formats\nFast indexing: Real-time search updates\nContext aware: Understands compressed formats\nExport options: Search results in multiple formats\n5. ClawHub Ready\nStandard structure: Compatible with ClawHub\nEasy installation: One-command setup\nHealth checks: Built-in monitoring\nDocumentation: Comprehensive guides\nInstallation\nVia ClawHub (Recommended)\nopenclaw skill search memory-compression-system\nopenclaw skill install memory-compression-system\n\nManual Installation\ncd /home/node/.openclaw/workspace/skills\ngit clone [repository-url] memory-compression-system\ncd memory-compression-system\nscripts/install.sh\n\nUsage\nBasic Operations\n# Enable automatic compression\nscripts/enable.sh\n\n# Disable automatic compression  \nscripts/disable.sh\n\n# Check system status\nscripts/status.sh\n\n# Run health check\nscripts/health.sh\n\nCompression Operations\n# Compress with auto format selection\nscripts/compress.sh\n\n# Compress to specific format\nscripts/compress.sh --format base64\nscripts/compress.sh --format binary\nscripts/compress.sh --format ultra\n\n# Decompress files\nscripts/decompress.sh [filename]\n\n# List compressed files\nscripts/list.sh\n\nSearch Operations\n# Search across all memory\nscripts/search.sh \"keyword\"\n\n# Search with filters\nscripts/search.sh \"keyword\" --format ultra --date 2026-02-15\n\n# Export search results\nscripts/search.sh \"keyword\" --export json\n\n# View search history\nscripts/search-history.sh\n\nManagement Operations\n# Cleanup old files\nscripts/cleanup.sh --days 30\n\n# Backup system\nscripts/backup.sh\n\n# Restore from backup\nscripts/restore.sh [backup-file]\n\n# View logs\nscripts/logs.sh\n\n# Performance metrics\nscripts/metrics.sh\n\nConfiguration\nMain Configuration File\n\nEdit config/default.conf:\n\n# Compression settings\nCOMPRESSION_ENABLED=true\nDEFAULT_FORMAT=ultra\nRETENTION_DAYS=30\nMAX_COMPRESSED_FILES=100\n\n# Cron schedule (UTC)\nCRON_SCHEDULE=\"0 */6 * * *\"  # Every 6 hours\nCLEANUP_SCHEDULE=\"0 4 * * *\" # Daily at 04:00\n\n# Search settings\nSEARCH_ENABLED=true\nSEARCH_INDEX_AUTO_UPDATE=true\nSEARCH_HISTORY_SIZE=1000\n\n# Performance settings\nMAX_MEMORY_MB=100\nMAX_PROCESSING_TIME_SEC=300\n\nEnvironment Variables\nexport MEMORY_COMPRESSION_DEBUG=1  # Enable debug mode\nexport MEMORY_COMPRESSION_QUIET=0  # Disable quiet mode\nexport MEMORY_COMPRESSION_TEST=0   # Enable test mode\n\nCompression Formats\nFormat 1: Base64 Compact (B64C)\nVERSION:3.0\nFORMAT:B64C\nTIMESTAMP:2026-02-15T14:55:00Z\nSIZE:1024\nCHECKSUM:crc32\nDATA:<base64_encoded>\n\n\nFeatures:\n\nHuman readable\nEasy debugging\nUniversal compatibility\nCRC32 integrity check\nFormat 2: Custom Binary (CBIN)\n[Magic:CBIN][Version:3][Flags:1][Size:4][Dictionary:var][Data:var][Checksum:2]\n\n\nFeatures:\n\nOptimized binary format\nShared string dictionary\nHuffman encoding\nCRC16 integrity check\nFormat 3: Ultra Compact (UCMP)\n\nTarget: ~150 tokens for complete context\n\nFeatures:\n\nExtreme compression (~85% reduction)\n3-letter abbreviations\nBit packing\nDelta encoding\nString interning\nAutomatic Scheduling\nCompression Schedule\nEvery 6 hours: 00:00, 06:00, 12:00, 18:00 UTC\nOperations:\nBackup current memory\nCompress with optimal format\nUpdate search index\nCleanup old files\nLog results\nCleanup Schedule\nDaily at 04:00 UTC\nOperations:\nRemove files older than RETENTION_DAYS\nArchive logs\nOptimize search index\nUpdate statistics\nHealth Check Schedule\nIntegrated with OpenClaw health checks\nOperations:\nCheck compression status\nVerify file integrity\nMonitor resource usage\nReport issues\nSearch System\nSearch Index\nReal-time updates: Index updates after each compression\nMultiple formats: Searches across all compression formats\nFast retrieval: Optimized for speed\nContext aware: Understands compressed content\nSearch Features\n# Basic search\nscripts/search.sh \"compression\"\n\n# Advanced search\nscripts/search.sh \"compression ratio\" --format ultra --after 2026-02-01\n\n# Export results\nscripts/search.sh \"test\" --export csv --output results.csv\n\n# Search history\nscripts/search.sh --history\n\nSearch Index Structure\n{\n  \"version\": \"3.0\",\n  \"last_updated\": \"2026-02-15T18:00:00Z\",\n  \"files\": [\n    {\n      \"filename\": \"memory_20260215_180000.ultra\",\n      \"format\": \"ultra\",\n      \"size\": 256,\n      \"original_size\": 1024,\n      \"ratio\": 0.25,\n      \"keywords\": [\"compression\", \"memory\", \"test\"],\n      \"timestamp\": \"2026-02-15T18:00:00Z\"\n    }\n  ]\n}\n\nError Handling & Recovery\nAutomatic Recovery\nBackup system: Automatic backups before operations\nTransaction logs: All operations logged\nRollback capability: Automatic rollback on failure\nError notifications: Alerts for critical issues\nManual Recovery\n# Check error logs\nscripts/logs.sh --error\n\n# Restore from backup\nscripts/restore.sh latest\n\n# Repair search index\nscripts/repair-index.sh\n\n# Reset system\nscripts/reset.sh --safe\n\nCommon Issues & Solutions\n\nIssue: Compression fails Solution: Check disk space and run scripts/repair.sh\n\nIssue: Search not working Solution: Rebuild index with scripts/rebuild-index.sh\n\nIssue: Cron job not running Solution: Check with scripts/status.sh --cron\n\nIssue: Performance degradation Solution: Run scripts/cleanup.sh --aggressive\n\nMonitoring & Logging\nLog Files\nlogs/compression.log: Compression operations\nlogs/search.log: Search operations\nlogs/error.log: Error messages\nlogs/performance.log: Performance metrics\nlogs/cron.log: Cron job execution\nStatus Monitoring\n# Basic status\nscripts/status.sh\n\n# Detailed health check\nscripts/health.sh\n\n# Performance metrics\nscripts/metrics.sh\n\n# System information\nscripts/info.sh\n\nAlert System\nEmail alerts: For critical errors (if configured)\nTelegram notifications: For important events\nLog monitoring: Automatic log analysis\nPerformance alerts: For resource issues\nTesting\nTest Suite\ncd test\n./run-tests.sh\n\nTest Coverage\nUnit tests: Format encoding/decoding\nIntegration tests: Full system integration\nPerformance tests: Speed and memory usage\nError tests: Failure scenarios\nCron tests: Automatic scheduling\nManual Testing\n# Test compression\nscripts/test-compression.sh\n\n# Test search\nscripts/test-search.sh\n\n# Test cron job\nscripts/test-cron.sh\n\n# Test error handling\nscripts/test-errors.sh\n\nPerformance\nCompression Performance\nBase64: < 50ms for 10KB\nBinary: < 100ms for 10KB\nUltra: < 200ms for 10KB\nTarget ratio: 75-90% reduction\nSearch Performance\nIndexing: < 100ms per file\nSearch: < 50ms for 1000 files\nMemory: < 10MB for index\nUpdates: Real-time\nResource Usage\nCPU: Minimal impact\nMemory: < 50MB peak\nDisk: Configurable retention\nNetwork: Local only\nUpdates & Maintenance\nUpdate Procedure\n# Update via ClawHub\nopenclaw skill update memory-compression-system\n\n# Manual update\nscripts/update.sh\n\n# Check for updates\nscripts/check-updates.sh\n\nBackup Recommendations\nRegular backups: Weekly backups of data/ directory\nExport search index: Monthly export of search index\nArchive logs: Monthly log archiving\nConfiguration backup: Backup config/ after changes\nVersion History\n3.0.0: Integrated memory-compression-system (current)\n2.0.0: Extreme context compression skill\n1.0.0: Memory manager skill\nContributing\nDevelopment Setup\n# Clone repository\ngit clone [repo-url]\n\n# Install dependencies\nnpm install\n\n# Run tests\nnpm test\n\n# Build package\nnpm run build\n\nCode Standards\nBash scripts: Follow Google Bash Style Guide\nJavaScript: Follow Standard JS style\nDocumentation: Keep SKILL.md updated\nTesting: Add tests for new features\nPull Request Process\nFork the repository\nCreate feature branch\nAdd tests for new functionality\nUpdate documentation\nSubmit pull request\nSupport\nDocumentation\nSKILL.md: This file\nREADME.md: User documentation\nexamples/: Usage examples\ntest/: Test examples\nTroubleshooting\nCheck logs/ directory\nRun scripts/diagnose.sh\nReview examples/troubleshooting.md\nContact maintainer if needed\nCommunity\nClawHub: Skill repository\nDiscord: OpenClaw community\nGitHub: Issue tracker\nDocumentation: OpenClaw docs\nLicense\n\nMIT License - See LICENSE file for details.\n\nNote: This skill is designed for OpenClaw context optimization. Always maintain backups of important data and test in a safe environment before production use."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/Hassffw/memory-compression-system",
    "publisherUrl": "https://clawhub.ai/Hassffw/memory-compression-system",
    "owner": "Hassffw",
    "version": "3.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/memory-compression-system",
    "downloadUrl": "https://openagent3.xyz/downloads/memory-compression-system",
    "agentUrl": "https://openagent3.xyz/skills/memory-compression-system/agent",
    "manifestUrl": "https://openagent3.xyz/skills/memory-compression-system/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/memory-compression-system/agent.md"
  }
}