一键导入
sync
Sync agent files between local and remote server. Use when the user says "sync", "push to remote", "pull from remote", "sync agent", or runs /sync.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Sync agent files between local and remote server. Use when the user says "sync", "push to remote", "pull from remote", "sync agent", or runs /sync.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Set up the Discord bot — configure token, daemon URL, guild channels. Use when user says "configure discord", "set discord token", "discord setup", "discord bot setup".
This skill should be used when the user asks to "set up bridgey", "check bridgey status", "add a bridgey agent", or "scan the tailnet for bridgey". Lifecycle surface for the bridgey A2A daemon — first-time setup, health dashboard, remote-agent registration, and Tailscale mesh discovery.
Deploy an agent to a remote server as a Docker container with Tailscale SSH access, optional Coolify integration, and bidirectional sync. Walks through server setup, hardening, Tailscale, Docker, deployment, and post-install tooling. Use when the user asks to deploy an agent remotely, set up a remote server, run an agent 24/7, or make an agent headless.
Check the health and status of the remote agent deployment. Use when the user says "remote status", "check remote", "is my agent running", "server status", or runs /remote-status.
Manage Discord sender access — allow/deny senders, set DM policy. Use when user says "discord access", "allow discord user", "deny discord user", "discord pairing".
| name | sync |
| description | Sync agent files between local and remote server. Use when the user says "sync", "push to remote", "pull from remote", "sync agent", or runs /sync. |
Bidirectional rsync between local agent and remote deployment. Connection details are read from bridgey-deploy.config.json in the agent's root directory. This applies to both deployment models — it syncs the persona workspace files regardless of whether the container runs a Tier-A Channels session or a Tier-B daemon.
Read bridgey-deploy.config.json to get:
tailscale_host — the Tailscale hostname of the remote serverremote_path — the path on the remote server (e.g., /opt/bridgey/personas/{name})container_name — the Docker container nameIf bridgey-deploy.config.json doesn't exist, ask the user for the Tailscale hostname and remote path.
/sync push — local -> remote (config, skills, CLAUDE.md changes)/sync pull — remote -> local (memory, outputs, learnings)/sync — bidirectional (push then pull)Push local config/skills/rules to the remote server. Excludes runtime data.
rsync -avz --delete \
--exclude='.git/' \
--exclude='.mcp.json' \
--exclude='*.log' \
--exclude='*.db' \
--exclude='*.db-journal' \
--exclude='user/memory/' \
~/.personas/{name}/ {tailscale_host}:{remote_path}/
After pushing, restart the container to pick up changes:
ssh {tailscale_host} "cd /opt/bridgey && docker compose restart {container_name}"
Pull memory and outputs from the remote server. Only syncs user/memory/.
rsync -avz \
{tailscale_host}:{remote_path}/user/memory/ \
~/.personas/{name}/user/memory/
Run push then pull in sequence.
.mcp.json is NEVER synced (contains API keys, differs per environment).git/ is never synceduser/memory/ (remote writes there, local pulls it)