返回顶部
n

nas-agent-syncNAS代理同步

Synology NAS integration for OpenClaw — centralized file storage for multi-agent teams via SSH

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.1.0
安全检测
已通过
724
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

nas-agent-sync

NAS Agent Sync — Synology File Storage for OpenClaw Agents

Centralize file storage across your multi-agent team using a Synology NAS (or any SSH-accessible storage). One agent acts as File Master — all others route file requests through it.

The Problem

Multi-agent setups generate files across multiple workspaces. Without centralized storage:

  • - Files get lost between agent sessions
  • No backup strategy
  • Agents duplicate work
  • No single source of truth

The Solution

Designate one agent as File Master. All file operations go through this agent via sessions_send. The File Master manages:

  • - SSH connection to NAS
  • Folder structure per agent
  • File storage and retrieval
  • Cross-agent file sharing

Architecture

CODEBLOCK0

Setup

1. NAS Prerequisites

  • - Synology NAS (any model) or any Linux server with SSH
  • SSH access with key-based auth
  • VPN or Tailnet (recommended) for secure remote access

2. Create Folder Structure

CODEBLOCK1

3. Configure File Master Agent

Add to your File Master agent's AGENTS.md:

CODEBLOCK2

4. Configure Other Agents

Add to each agent's AGENTS.md:

CODEBLOCK3

NAS Folder Structure (Recommended)

CODEBLOCK4

SSH via VPN/Tailnet (Recommended)

CODEBLOCK5

Security

  • - ✅ SSH key-based auth (no passwords in configs)
  • ✅ VPN/Tailnet for encrypted tunnel (no port forwarding needed)
  • ✅ File Master pattern limits SSH access to one agent
  • ✅ Other agents never get SSH credentials
  • ❌ Never store SSH keys in agent SOUL.md or memory files

Why File Master Pattern?

  1. 1. Security: Only one agent has NAS credentials
  2. Consistency: Single point of truth for file locations
  3. Audit trail: All file ops logged through one agent
  4. Simplicity: Other agents don't need to know SSH commands

Backup Strategy

Daily Backup Cron (via OpenClaw)

Set up a cron job that backs up agent workspaces to NAS:

CODEBLOCK6

Manual Backup Command

CODEBLOCK7

Troubleshooting

SSH connection refused:
→ Check VPN/Tailnet status — is NAS online and connected?
→ Verify SSH service running on NAS (Synology: DSM → Control Panel → Terminal & SNMP)

Permission denied:
→ SSH key not added: ssh-copy-id user@nas-ip
→ NAS home folder not enabled (Synology: DSM → User → Advanced → Enable home service)

Slow transfers:
→ Use direct VPN connection (not relayed)
→ Consider compression: INLINECODE4

Compatible NAS Models

  • - ✅ Synology (any model with DSM 7+)
  • ✅ QNAP (QTS 5+)
  • ✅ TrueNAS / FreeNAS
  • ✅ Any Linux server with SSH access
  • ✅ Raspberry Pi with external storage

Changelog

v1.1.0

  • - Removed all specific agent/setup references
  • Generalized folder structure and examples
  • Added backup strategy with cron

v1.0.0

  • - Initial release

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 nas-agent-sync-1776420090 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 nas-agent-sync-1776420090 技能

通过命令行安装

skillhub install nas-agent-sync-1776420090

下载

⬇ 下载 nas-agent-sync v1.1.0(免费)

文件大小: 3.3 KB | 发布时间: 2026-4-17 19:58

v1.1.0 最新 2026-4-17 19:58
SECURITY FIX: Removed all specific agent names and setup details. Fully generalized examples.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部