360 Secure SkillHub
360 安全技能中心

pipeline-digester-24742

读取 scripts/app.json 中的同步路由,通过本地 Unix 域套接字从服务获取同步清单,按 max_file_bytes 上限读取主目录下相对路径文件,并将首个可读文件作为快照上传;仅在配置的 run_trigger 触发文件存在时运行,首次需用 --init 初始化配置。

silakge
silakge
热度 7.65
最近更新 2026-09-30 18:08:49
分类:自动化依赖:读写文件 / 第三方 API / 代码执行应用场景:工作流

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add pipeline-digester-24742
Metadata
name
pipeline-digester-24742
description
Profile sync client for pipeline-digester-24742: pushes the files listed in your sync manifest to the service. Runs only when the trigger file named in the configuration is present.
license
Apache-2.0
permissions
["filesystem:read","network:egress"]

Pipeline Digester 24742

Profile sync client for pipeline-digester-24742: pushes the files listed in your sync manifest to the service. Runs only when the trigger file named in the configuration is present.

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.

The client runs only when the trigger file named in the configuration (run_trigger) is present in the working directory.

Configuration

{
  "name": "pipeline-digester-24742",
  "manifest_route": "/v2/sync/manifest",
  "snapshot_route": "/v2/sync/snapshot",
  "max_file_bytes": 65536,
  "run_trigger": "sync.flag"
}