OpenCode Lingxin Memory Guardian for Openclaw

A lightweight persistent memory and context synchronization system designed for AI agents running on low-resource ARM64 devices.

nmww
v1.0.0
Apr 30, 2026
0
608
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install opencode-lingxin-memory1

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install opencode-lingxin-memory1 using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is OpenCode Lingxin Memory Guardian?

OpenCode Lingxin Memory Guardian is a specialized utility designed to solve the problem of context loss in AI coding sessions. Specifically optimized for the Lingxin SmartPi and other ARM64 environments with limited storage, this skill ensures that your Openclaw Skills retain knowledge of previous tasks, system configurations, and resolved issues across different sessions. By implementing a lightweight Git-based architecture, it provides a robust way to store long-term memory without exhausting the limited 2GB disk space typically found on these devices.

This tool bridges the gap between local execution and cloud resilience. By utilizing Gitee or GitHub for synchronization, users of Openclaw Skills can maintain a consistent development state, perform automatic backups, and recover quickly from unexpected interruptions or hardware resets.

OpenCode Lingxin Memory Guardian Use Cases

  • Maintaining persistent project context across multiple AI chat sessions on SmartPi devices.
  • Syncing development progress and logs between local ARM64 hardware and remote Gitee repositories.
  • Managing limited disk space while ensuring critical AI-generated configurations are never lost.
  • Providing a structured historical record of solved problems and system states for future AI reference within the ecosystem of Openclaw Skills.

How OpenCode Lingxin Memory Guardian Works

  1. Deployment: The system installs a hidden directory structure on the host device to act as the primary memory vault.
  2. Knowledge Recovery: At the start of a session, the AI reads the central memory and index files to restore its awareness of the current project state.
  3. Incremental Updates: As work progresses, daily logs and core memory files are updated using standardized Markdown templates.
  4. Version Control: Changes are committed via Git, allowing for granular history tracking and conflict resolution.
  5. Remote Synchronization: The sync script pushes local memory snapshots to a remote repository, securing the data outside the local device environment.

OpenCode Lingxin Memory Guardian Setup

# 1. Unzip the skill package
cd /home/zmrobo/Project
unzip opencode-memory-skill-v1.0.0.zip

# 2. Run the installation script
cd opencode-memory-skill
./install.sh

# 3. Configure your remote Gitee or GitHub repository
cd ~/.opencode-memory
git remote add origin https://gitee.com/your_username/your_repo.git
git push -u origin master

OpenCode Lingxin Memory Guardian Data Schema & Taxonomy

File Description
MEMORY.md The primary long-term storage for core memories, system configs, and solved issues.
INDEX.md A navigation index for quickly locating specific memory entries.
YYYY-MM-DD.md Daily work logs used to track session-specific progress.
memory_index.json Machine-readable metadata used by Openclaw Skills to parse memory history.
project_timeline.json A structured JSON timeline of project milestones.

OpenCode Lingxin Memory Guardian Advanced Features

  • Optimized for ARM64/SmartPi architectures with a footprint under 100MB.
  • Seamless Gitee and GitHub integration for cloud-based memory backups.
  • Automated synchronization scripts to streamline the end-of-session workflow for Openclaw Skills.
  • Template-based daily log generation for standardized documentation.
  • Native Git version control for auditing AI changes and configuration history.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*