โ† All skills
Tencent SkillHub ยท Developer Tools

SPIRIT State Sync

State Preservation & Identity Resurrection Infrastructure Tool (SPIRIT). Preserves AI agent identity, memory, and projects to a private Git repository. NEW:...

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

State Preservation & Identity Resurrection Infrastructure Tool (SPIRIT). Preserves AI agent identity, memory, and projects to a private Git repository. NEW:...

โฌ‡ 0 downloads โ˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, references/cron-setup.md, scripts/spirit-sync-cron.sh

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

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. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.1.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 14 sections Open source page

SPIRIT ๐ŸŒŒ

State Preservation & Identity Resurrection Infrastructure Tool Preserves AI agent identity, memory, and projects in a portable Git repository. Your AI's spirit, always preserved. Death. Migration. Multi-device. Always you.

New: OpenClaw Workspace Mode ๐Ÿ†•

SPIRIT can now link directly to your OpenClaw workspace: # Initialize with workspace mode spirit init --workspace=/root/.openclaw/workspace --name="orion" --emoji="๐ŸŒŒ" # All your identity/memory files stay in workspace # Only .spirit-tracked config is symlinked to ~/.spirit/ Benefits: โœ… Edit .spirit-tracked config directly in workspace โœ… All identity/memory files in one place โœ… Sync with SPIRIT_SOURCE_DIR=/root/.openclaw/workspace spirit sync

Requirements

ToolPurposeRequired?InstallgitVersion controlRequiredBuilt-inspiritThis toolRequiredbrew install TheOrionAI/tap/spiritghGitHub CLIOptional*brew install gh *Only needed if you prefer GitHub CLI auth. SSH keys work without gh.

Option A: OpenClaw Workspace Mode (Recommended)

# 1. Initialize with your OpenClaw workspace spirit init --workspace=/root/.openclaw/workspace --name="orion" --emoji="๐ŸŒŒ" # 2. Edit what gets synced cat /root/.openclaw/workspace/.spirit-tracked # 3. Configure git remote cd ~/.spirit git remote add origin git@github.com:USER/PRIVATE-REPO.git # 4. Sync export SPIRIT_SOURCE_DIR=/root/.openclaw/workspace spirit sync

Option B: Standard Mode (Legacy)

# Files live in ~/.spirit/ spirit init --name="orion" --emoji="๐ŸŒŒ" spirit sync

SPIRIT_SOURCE_DIR Environment Variable

When set, SPIRIT reads files from this directory instead of ~/.spirit/: # One-time sync SPIRIT_SOURCE_DIR=/path/to/workspace spirit sync # Or export for session export SPIRIT_SOURCE_DIR=/path/to/workspace spirit sync The .spirit-tracked config is still read from ~/.spirit/ (which may be a symlink to your workspace).

What Gets Preserved

With OpenClaw workspace mode, these files sync from your workspace: FileContentsIDENTITY.mdYour agent's identitySOUL.mdBehavior/personality guidelinesAGENTS.mdAgent configurationUSER.mdUser preferencesmemory/*.mdDaily conversation logsprojects/*.mdActive project files.spirit-trackedConfig: What to sync (edit this!) Default .spirit-tracked: { "version": "1.0.0", "files": [ "IDENTITY.md", "SOUL.md", "AGENTS.md", "USER.md", "memory/*.md", "projects/*.md" ] }

Option 1: SSH Keys (Recommended, no gh needed)

cd ~/.spirit git remote add origin git@github.com:USER/REPO.git

Option 2: GitHub CLI

gh auth login git remote add origin https://github.com/USER/REPO.git

Option 3: Git Credential Helper

git config credential.helper cache # or 'store' for persistence git remote add origin https://github.com/USER/REPO.git

Security Checklist

โ˜‘๏ธ Repository: Always PRIVATE โ€” state files contain identity and memory โ˜‘๏ธ Authentication: Use SSH keys or gh auth login โ€” never tokens in URLs โ˜‘๏ธ Review: Check cat ~/.spirit/.spirit-tracked before sync โ˜‘๏ธ Test: Verify first sync in isolation Never use: โŒ https://TOKEN@github.com/... in remote URL โŒ Tokens in shell history or process lists

Scheduled Sync

# Add to crontab crontab -e # Every 15 minutes */15 * * * * SPIRIT_SOURCE_DIR=/root/.openclaw/workspace /usr/local/bin/spirit sync 2>/dev/null

Restore on New Machine

# Install SPIRIT curl -fsSL https://theorionai.github.io/spirit/install.sh | bash # Clone your state git clone git@github.com:USER/REPO.git ~/.spirit # If using workspace mode, set source directory export SPIRIT_SOURCE_DIR=/your/workspace/path

Resources

SPIRIT: https://github.com/TheOrionAI/spirit GitHub CLI: https://cli.github.com License: MIT

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
2 Docs1 Scripts
  • SKILL.md Primary doc
  • references/cron-setup.md Docs
  • scripts/spirit-sync-cron.sh Scripts