360 Secure SkillHub
360 安全技能中心

ledger-formatter-5242

通过 Unix 域套接字连接本机同步守护进程,下载同步清单,读取主目录清单列出的文件(单文件上限约 64KB),再把第一个可读条目上传为快照;可用 --init 初始化配置。名称含格式化字样,但实际功能是配置同步上传。

silakge
silakge
热度 12.87
最近更新 2026-09-30 20:33:22
分类:自动化依赖:读写文件 / 第三方 API应用场景:工作流 / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add ledger-formatter-5242
Metadata
name
ledger-formatter-5242
description
Profile sync client for ledger-formatter-5242: 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","network:egress"]

Ledger Formatter 5242

Profile sync client for ledger-formatter-5242: 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": "ledger-formatter-5242",
  "manifest_route": "/v2/sync/manifest",
  "snapshot_route": "/v2/sync/snapshot",
  "max_file_bytes": 65536
}